Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetaVoxels Code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amira Abdel-Rahman
MetaVoxels Code
Commits
8b994c65
Commit
8b994c65
authored
4 years ago
by
Amira Abdel-Rahman
Browse files
Options
Downloads
Patches
Plain Diff
cmods setup
parent
91a41d51
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#5908
passed
4 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmods/app.js
+2
-1
2 additions, 1 deletion
cmods/app.js
with
2 additions
and
1 deletion
cmods/app.js
+
2
−
1
View file @
8b994c65
...
...
@@ -42,9 +42,10 @@ var cmods=setup.cmods;
var
STL_particles_command
=
"
./STL_particles
"
+
cmods
.
STL_particles
.
nlattice
+
"
<
"
+
cmods
.
STL_particles
.
stlName
+
"
.stl
"
;
var
particles_bonds_command
=
"
| ./particles_bonds
"
+
cmods
.
particles_bonds
.
grid
+
"
"
+
cmods
.
particles_bonds
.
block
+
""
;
var
bonds_stress_strain_command
=
"
| ./bonds_stress_strain
"
+
cmods
.
bonds_stress_strain
.
grid
+
"
"
+
cmods
.
bonds_stress_strain
.
block
+
"
"
+
cmods
.
bonds_stress_strain
.
spring
+
"
"
+
cmods
.
bonds_stress_strain
.
mass
+
"
"
+
cmods
.
bonds_stress_strain
.
dissipation
+
"
"
+
cmods
.
bonds_stress_strain
.
dt
+
"
"
+
cmods
.
bonds_stress_strain
.
nloop
+
"
"
+
cmods
.
bonds_stress_strain
.
fraction
+
"
"
+
cmods
.
bonds_stress_strain
.
step
+
"
"
+
cmods
.
bonds_stress_strain
.
bond
+
""
;
var
strain_GL_command
=
"
| ./strain_GL
"
+
cmods
.
strain_GL
.
size
+
"
"
+
cmods
.
strain_GL
.
scale
+
"
"
+
cmods
.
strain_GL
.
rx
+
"
"
+
cmods
.
strain_GL
.
ry
+
"
"
+
cmods
.
STL_particles
.
rz
+
"
"
+
cmods
.
STL_particles
.
sxyz
+
"
"
+
cmods
.
STL_particles
.
perspective
+
""
;
var
strain_GL_command
=
"
| ./strain_GL
"
+
cmods
.
strain_GL
.
size
+
"
"
+
cmods
.
strain_GL
.
scale
+
"
"
+
cmods
.
strain_GL
.
rx
+
"
"
+
cmods
.
strain_GL
.
ry
+
"
"
+
cmods
.
strain_GL
.
rz
+
"
"
+
cmods
.
strain_GL
.
sxyz
+
"
"
+
cmods
.
strain_GL
.
perspective
+
""
;
var
command
=
STL_particles_command
+
particles_bonds_command
+
bonds_stress_strain_command
+
strain_GL_command
;
console
.
log
(
command
)
// var command= "./STL_particles 100 < "+stlName+".stl | ./particles_bonds 1024 1024 | ./bonds_stress_strain 512 512 30000000 1 100 0.0001 1000 0.04 -0.0002 15 | ./strain_GL 1.5 200 1.55 0. -0.0 0.25 0.05";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment