Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Tutorials/Coefficients/read and plot coefficients.ipynb

Large diffs are not rendered by default.

497 changes: 497 additions & 0 deletions Tutorials/Coefficients/velocity coefficients from snapshots.ipynb

Large diffs are not rendered by default.

Binary file modified Tutorials/Data/halo.cache.run0
Binary file not shown.
Binary file added Tutorials/EXP/DiskHalo/eof.cache.test
Binary file not shown.
Binary file added Tutorials/EXP/DiskHalo/velcoef.dark.run2
Binary file not shown.
Binary file added Tutorials/EXP/DiskHalo/velcoef.star.run2
Binary file not shown.
2,003 changes: 2,003 additions & 0 deletions Tutorials/EXP/DiskHalo/veltest.model

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions Tutorials/EXP/DiskHalo/veltest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
Global:
nthrds : 1
dtime : 0.002
ldlibdir : /home/mdw_umass_edu/lib/user
nsteps : 2000
runtag : run2
runtime : 71.5
multistep : 4
infile : SPL.run2.chkpt
dynfracA : 0.002
dynfracV : 0.03
dynfracP : 0.03
NICE : 0
VERBOSE : 4
nreport : 1
use_cuda : false

Components:
- name : dark
bodyfile : halo.bods
parameters :
nlevel : 1
EJ : 2
EJdamp : 1.0
nEJkeep : 4
nEJwant : 4096
comlog : true
EJdryrun : true
bunch : 5000000
force :
id : sphereSL
parameters :
numr : 2000
rmin : 0.00001
rmax : 2.0
Lmax : 6
nmax : 10
rmapping : 0.1
self_consistent : true
modelname : veltest.model
cachename : veltest.cache
EVEN_L : false
M0_ONLY : false

- name : star
bodyfile : disk.bods
parameters :
nlevel : 1
EJdamp : 1.0
EJdryrun : true
EJ : 2
nEJkeep : 4
nEJwant : 4096
EJkinE : false
EJext : false
EJdiag : false
EJdT : 1.0e-8
bunch : 100000
force :
id : cylinder
parameters :
acyl : 0.014
hcyl : 0.002
lmaxfid : 72
mmax : 4
nmaxfid : 32
nmax : 10
ncylodd : 4
ncylnx : 512
ncylny : 256
rnum : 200
pnum : 1
tnum : 80
rcylmin : 0.001
rcylmax : 100
ashift : 0
vflag : 16
logr : true
self_consistent : true
cachename : eof_veltest.cache

Output:
- id : outlog
parameters : {nint : 1}
- id : outchkptq
parameters : {nint : 500}
- id : outcoef
parameters : {filename : outcoef.star.run2, name : star, nint : 1}
- id : outcoef
parameters : {filename : outcoef.dark.run2, name : dark, nint : 1}
- id : outvel
parameters : {nint: 100, name: dark, model: file, modelname: veltest.model, dof: 3, lmax: 4, nmax: 10 }
- id : outvel
parameters : {nint: 100, name: star, model: expon, dof: 2, lmax: 4, nmax: 16, rmin: 0.0001, rmax: 0.14, ascl: 0.014, rmapping: 0.014, delta: 0.0002 }

External:
# None

Interaction:
4,003 changes: 4,003 additions & 0 deletions Tutorials/EXP/Halo/SLGridSph.model

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions Tutorials/EXP/Halo/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
# YAML 1.2
# See: http://yaml.org for more info. EXP uses the yaml-cpp library
# (http://github.com/jbeder/yaml-cpp) for parsing and emitting YAML
#
# ------------------------------------------------------------------------
# These parameters control the simulation
# ------------------------------------------------------------------------
Global:
outdir : data
nthrds : 1
dtime : 0.002
ldlibdir : /usr/local/EXP/lib/user
runtag : run0
nsteps : 1000
multistep : 8
dynfracA : 0.004
dynfracV : 0.02
infile : OUT.run0.chkpt
VERBOSE : 4
cuda : off

# ------------------------------------------------------------------------
# This is a sequence of components. The parameters for the force are
# now included as a parameter map, rather than a separate file.
#
# Each indented stanza beginning with '-' is a component
# ------------------------------------------------------------------------
Components:
- name : halo
parameters : {nlevel: 1}
bodyfile : halo.bods
force :
id : sphereSL
parameters : {rmax: 1.95, nmax: 6, Lmax: 2, cachename: sphereSL.cache.test}

# ------------------------------------------------------------------------
# This is a sequence of outputs
# ------------------------------------------------------------------------
Output:
- id : outlog
parameters : {nint: 10}
- id : outpsn
parameters : {nint: 10}
- id : outchkpt
parameters : {nint: 100}
- id : outcoef
parameters : {nint: 1, name: halo}
- id : outvel
parameters : {nint: 10, name: halo, model: file, dof: 3, lmax: 2, nmax: 6 }

# ------------------------------------------------------------------------
# This is a sequence of external forces
# This can be empty (or missing)
# ------------------------------------------------------------------------
External:
- id : userbar
parameters : {length: 0.03, amp: 0.01, ctrname: halo, fixed: true}

# ------------------------------------------------------------------------
# Excluded list of interations as name1 : name2 map entries
# This can be empty (or missing). By default, all components will
# interact unless interactions are listed below. This behavior can
# be inverted using the 'allcouples: false' flag in the 'Global' map
# ------------------------------------------------------------------------
Interaction:

...
10 changes: 9 additions & 1 deletion Tutorials/EXP/Zang/config_vels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,15 @@ Output:
- id : outcoef
parameters : {nint: 10, name: disk, filename: outcoef.disk.run0 }
- id : outvel
parameters : {nint: 10, name: disk, model: file, modelname: density.model, dof: 2, mmax: 2, nmax: 4 }
parameters :
nint: 10
name: disk
model: file
modelname: density.model
dof: 2
lmax: 4
nmax: 12
rmapping: 1.0

# ------------------------------------------------------------------------
# This is a sequence of external forces
Expand Down
904 changes: 904 additions & 0 deletions Tutorials/EXP/disk halo vel example.ipynb

Large diffs are not rendered by default.

Loading