Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sam Calisch
pyframe3dd
Commits
16ce8db6
Commit
16ce8db6
authored
Sep 30, 2017
by
Sam Calisch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment
parent
9fc142d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ex/CMD
ex/CMD
+2
-0
ex/buckle.py
ex/buckle.py
+1
-2
No files found.
ex/CMD
View file @
16ce8db6
python buckle.py -Q --mode simulate
python buckle.py -Q --mode search
gnuplot
load buckle_frame3dd.csv.plt
ex/buckle.py
View file @
16ce8db6
...
...
@@ -19,10 +19,9 @@ def clean_up_frame3dd(filename):
subprocess
.
call
([
"rm"
]
+
files
)
def
build
(
args
):
#return nodes
and
rods as numpy array
#return nodes
,
rods as numpy array
s
return
args
.
l
*
array
([[
0
,
0
,
0
],[
0
,
0
,
1.
]]),
array
([[
0
,
1
]])
def
run_simulation
(
args
):
#set up simulation
nodes
,
rods
=
build
(
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment