Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
967ae401
Commit
967ae401
authored
5 years ago
by
Josh Borrow
Browse files
Options
Downloads
Patches
Plain Diff
Fixed incorrect offset for second vube in makeGlass.py
parent
dead2668
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1112
Fixed incorrect offset for second cube in makeGlass.py
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/HydroTests/SodShock_BCC_3D/makeGlass.py
+1
-1
1 addition, 1 deletion
examples/HydroTests/SodShock_BCC_3D/makeGlass.py
with
1 addition
and
1 deletion
examples/HydroTests/SodShock_BCC_3D/makeGlass.py
+
1
−
1
View file @
967ae401
...
@@ -37,7 +37,7 @@ def generate_two_cube(num_on_side, side_length=1.0):
...
@@ -37,7 +37,7 @@ def generate_two_cube(num_on_side, side_length=1.0):
mips
=
side_length
/
num_on_side
mips
=
side_length
/
num_on_side
positions
=
np
.
concatenate
([
cube
,
cube
+
mips
*
0.5
])
positions
=
np
.
concatenate
([
cube
,
cube
+
mips
])
return
positions
return
positions
...
...
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