forked from AMReX-Astro/Castro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_variables
More file actions
66 lines (56 loc) · 4.54 KB
/
Copy path_variables
File metadata and controls
66 lines (56 loc) · 4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# this is the list of variables indices that Castro will use for
# accessing various state arrays. We will keep them in the order that
# they are specified here.
# descriptive-name name also-adds-to count if-def
# the conserved variable state
@set: conserved NVAR NUM_STATE
density URHO NSRC 1 None
x-momentum UMX NSRC 1 None
y-momentum UMY NSRC 1 None
z-momentum UMZ NSRC 1 None
radial-momentum UMR NSRC 1 HYBRID_MOMENTUM
angular-momentum UML NSRC 1 HYBRID_MOMENTUM
perpendicular-momentum UMP NSRC 1 HYBRID_MOMENTUM
energy-density UEDEN NSRC 1 None
internal-energy UEINT NSRC 1 None
temperature UTEMP NSRC 1 None
advected UFA (NSRC, PRIM_SPECIES_HAVE_SOURCES) (nadv, NumAdv) None
species UFS (NSRC, PRIM_SPECIES_HAVE_SOURCES) (nspec, NumSpec) None
auxiliary UFX (NSRC, PRIM_SPECIES_HAVE_SOURCES) (naux, NumAux) None
shock USHK None 1 SHOCK_VAR
# the primitive variable state
@set: primitive NQ NQ
density QRHO NQSRC 1 None
x-velocity QU NQSRC 1 None
y-velocity QV NQSRC 1 None
z-velocity QW NQSRC 1 None
gamma_c QGC NQSRC 1 TRUE_SDC
pressure QPRES NQSRC 1 None
rho-e QREINT NQSRC 1 None
B-x QMAGX NQSRC 1 MHD
B-y QMAGY NQSRC 1 MHD
B-z QMAGZ NQSRC 1 MHD
temperature QTEMP NQSRC 1 None
advected QFA (NQSRC, PRIM_SPECIES_HAVE_SOURCES) (nadv, NumAdv) None
species QFS (NQSRC, PRIM_SPECIES_HAVE_SOURCES) (nspec, NumSpec) None
auxiliary QFX (NQSRC, PRIM_SPECIES_HAVE_SOURCES) (naux, NumAux) None
total-pressure QPTOT None 1 RADIATION
total-pressure QPTOT None 1 MHD
total-reint QREITOT None 1 RADIATION
radiation QRAD None (ngroups, NGROUPS) RADIATION
# the auxiliary quantities
@set: auxiliary NQAUX NQAUX
gamma_c QGAMC None 1 None
sound-speed QC None 1 None
gamma_c-gas QGAMCG None 1 RADIATION
sound-speed-gas QCG None 1 RADIATION
flux-limiter QLAMS None (ngroups, NGROUPS) RADIATION
# godunov interface states
@set: godunov NGDNV NGDNV
x-velocity GDU None 1 None
y-velocity GDV None 1 None
z-velocity GDW None 1 None
pressure GDPRES None 1 None
density GDRHO None 1 HYBRID_MOMENTUM
flux-limiter GDLAMS None (ngroups, NGROUPS) RADIATION
radiation GDERADS None (ngroups, NGROUPS) RADIATION