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
8f801c67
Commit
8f801c67
authored
7 years ago
by
Bert Vandenbroucke
Browse files
Options
Downloads
Patches
Plain Diff
Changed theta parameter for 3D Evrard collapse test.
parent
3182c042
No related branches found
No related tags found
1 merge request
!508
Evrard and other tests
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/EvrardCollapse_3D/evrard.yml
+1
-5
1 addition, 5 deletions
examples/EvrardCollapse_3D/evrard.yml
examples/EvrardCollapse_3D/makeIC.py
+1
-1
1 addition, 1 deletion
examples/EvrardCollapse_3D/makeIC.py
with
2 additions
and
6 deletions
examples/EvrardCollapse_3D/evrard.yml
+
1
−
5
View file @
8f801c67
...
...
@@ -32,14 +32,10 @@ SPH:
Gravity
:
eta
:
0.025
# Constant dimensionless multiplier for time integration.
epsilon
:
0.001
# Softening length (in internal units).
theta
:
0.
1
theta
:
0.
9
a_smooth
:
1.25
# (Optional) Smoothing scale in top-level cell sizes to smooth the long-range forces over (this is the default value).
r_cut
:
4.5
# (Optional) Cut-off in number of top-level cells beyond which no FMM forces are computed (this is the default value).
# Parameters related to the initial conditions
InitialConditions
:
file_name
:
./evrard.hdf5
# The file to read
Scheduler
:
tasks_per_cell
:
400
cell_split_size
:
20
# or so
This diff is collapsed.
Click to expand it.
examples/EvrardCollapse_3D/makeIC.py
+
1
−
1
View file @
8f801c67
...
...
@@ -45,7 +45,7 @@ pos[:,2] = r * cos_theta
pos
+=
array
([
R
,
R
,
R
])
h
=
ones
(
numPart
)
*
R
/
numPart
**
(
1.
/
3.
)
h
=
ones
(
numPart
)
*
2.
*
R
/
numPart
**
(
1.
/
3.
)
# Generate extra arrays
v
=
zeros
((
numPart
,
3
))
...
...
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