The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
global_ex.h
Go to the documentation of this file.
1 /** \file global_ex.h
2 
3 This file is created
4 automatically during
5 compilation from global.h. Do not edit.
6 See perl script
7 "varparser.pl" for details
8 
9 \file global.h
10 
11 Declares all global variables.
12 Used to construct automatically
13 the file global_ex.h. The file
14 global.h cannot contain any comment,
15 as it would not be parsed correctly
16 by varparser.pl
17 */
18 
19 extern int CPU_Rank;
20 extern int CPU_Number;
21 extern boolean CPU_Master;
22 extern int IMIN;
23 extern int IMAX;
24 extern int Zero_or_active;
25 extern int Max_or_active;
26 extern int One_or_active;
27 extern int MaxMO_or_active; /* MO: Minus One */
28 extern int GLOBALNRAD;
29 extern real Rinf[MAX1D], Rsup[MAX1D], Rmed[MAX1D], Surf[MAX1D];
33 extern real OmegaInv[MAX1D], Rmed2[MAX1D]; /* #THORIN */
35 extern real QplusMed[MAX1D], CoolingTimeMed[MAX1D]; /* #THORIN */
36 extern real PebDensInit[MAX1D], PebVradInit[MAX1D], PebVthetaInit[MAX1D]; /* #THORIN */
37 extern real vt1D[MAX1D], invdtpeb_sq, invdtreb_sq, SQRT_ADIABIND_INV; /* #THORIN */
39 extern real heatsrc[MAXPLANETS]; /* #THORIN */
40 extern int heatsrc_max; /* #THORIN */
41 extern int TimeStep;
44 extern boolean Collisions, WriteTorque, WriteTorqueMapFile, MonitorNPL, FeelDisk; /* #THORIN */
46 extern boolean heatsrc_index[MAXPLANETS], TorqueDensity; /* #THORIN */
50 extern MPI_Status fargostat;
52 extern PolarGrid *RhoStar, *RhoInt;
53 extern PolarGrid *Temperature, *Pressure, *SoundSpeed, *Qplus, *Qminus, *Qbalance; /* #THORIN */
54 extern PolarGrid *DivergenceVelocity, *TAURR, *TAURP, *TAUPP; /* #THORIN */
58 extern PolarGrid *Torque;
59 extern boolean LogGrid;
60 extern boolean OverridesOutputdir;
61 extern char NewOutputdir[1024];
62 extern FILE *plout, *discard, *mergers; /* #THORIN */
real heatsrc[MAXPLANETS]
Definition: global.h:21
double real
Definition of the type 'real' used throughout the code.
Definition: types.h:20
int GLOBALNRAD
Definition: global.h:10
boolean Collisions
Definition: global.h:26
real InvRmed[MAX1D]
Definition: global.h:12
real PebVthetaInit[MAX1D]
Definition: global.h:18
real CoolingTimeMed[MAX1D]
Definition: global.h:17
int CPU_Number
Definition: global.h:2
real Surf[MAX1D]
Definition: global.h:11
boolean ExcludeHill
Definition: global.h:31
boolean DampInit
Definition: global.h:24
boolean DampVrad
Definition: global.h:24
boolean Write_Qplus
Definition: global.h:25
real SigmaInf[MAX1D]
Definition: global.h:14
boolean EnergyEq
Definition: global.h:24
real MassTaper
Definition: global.h:14
int IMIN
Definition: global.h:4
real Rmed[MAX1D]
Definition: global.h:11
real SigmaMed[MAX1D]
Definition: global.h:14
boolean ActualizeLuminosity
Definition: global.h:27
boolean CentrifugalBalance
Definition: global.h:31
char NewOutputdir[1024]
Definition: global.h:43
boolean OnlyInit
Definition: global.h:29
PolarGrid * PebbleGravAccelTheta
Definition: global.h:39
boolean MonitorIntegral
Definition: global.h:29
int IMAX
Definition: global.h:5
PolarGrid * GasAcceltheta
Definition: global.h:37
PolarGrid * Temperature
Definition: global.h:35
real VthetaMed[MAX1D]
Definition: global.h:16
A structure used to store any scalar fied on the computational domain.
Definition: types.h:37
PolarGrid * PebbleDens
Definition: global.h:38
real globpressvec[MAX1D]
Definition: global.h:16
real InvSurf[MAX1D]
Definition: global.h:12
boolean DiffusiveParticles
Definition: global.h:27
boolean WriteTorqueMapFile
Definition: global.h:26
boolean OverridesOutputdir
Definition: global.h:42
real Rmed2[MAX1D]
Definition: global.h:15
real OmegaFrame
Definition: global.h:20
int Max_or_active
Definition: global.h:7
int CPU_Rank
Definition: global.h:1
real globcsvec[MAX1D]
Definition: global.h:16
boolean PrescribedAccretion
Definition: global.h:27
PolarGrid * GravAccelRad
Definition: global.h:39
real QplusMed[MAX1D]
Definition: global.h:17
PolarGrid * Qbalance
Definition: global.h:35
boolean MonitorNPL
Definition: global.h:26
boolean Write_Divergence
Definition: global.h:25
PolarGrid * GravAccelTheta
Definition: global.h:39
boolean Write_Qbalance
Definition: global.h:25
boolean FeelDisk
Definition: global.h:26
real InvDiffRsup[MAX1D]
Definition: global.h:13
boolean Write_Temperature
Definition: global.h:25
boolean InitFromFile
Definition: global.h:25
real PhysicalTimeInitial
Definition: global.h:20
boolean StoreSigma
Definition: global.h:30
boolean TorqueDensity
Definition: global.h:28
FILE * discard
Definition: global.h:44
PolarGrid * DivergenceVelocity
Definition: global.h:36
int MaxMO_or_active
Definition: global.h:9
real OmegaInv[MAX1D]
Definition: global.h:15
int heatsrc_max
Definition: global.h:22
PolarGrid * RhoInt
Definition: global.h:34
int Zero_or_active
Definition: global.h:6
real invdtreb_sq
Definition: global.h:19
boolean SloppyCFL
Definition: global.h:31
boolean Pebbles
Definition: global.h:27
real PebDensInit[MAX1D]
Definition: global.h:18
boolean CPU_Master
Definition: global.h:3
real EnergyMed[MAX1D]
Definition: global.h:16
PolarGrid * CellOrdinate
Definition: global.h:33
real vt1D[MAX1D]
Definition: global.h:19
PolarGrid * CellAbscissa
Definition: global.h:33
FILE * plout
Definition: global.h:44
PolarGrid * DragForceTheta
Definition: global.h:37
int One_or_active
Definition: global.h:8
real InvRinf[MAX1D]
Definition: global.h:13
real InvDiffRmed[MAX1D]
Definition: global.h:12
real WaveKiller[MAX1D]
Definition: global.h:16
boolean StoreEnergy
Definition: global.h:24
PolarGrid * Qplus
Definition: global.h:35
int MPI_Status
Definition: mpi_dummy.h:20
PolarGrid * Torque
Definition: global.h:40
PolarGrid * TAURP
Definition: global.h:36
MPI_Status fargostat
Definition: global.h:32
FILE * mergers
Definition: global.h:44
real GlobalRmed[MAX1D]
Definition: global.h:13
boolean LogGrid
Definition: global.h:41
PolarGrid * PebbleVtheta
Definition: global.h:38
PolarGrid * PebbleGravAccelRad
Definition: global.h:39
real Radii[MAX1D]
Definition: global.h:13
boolean Merge
Definition: global.h:29
real PhysicalTime
Definition: global.h:20
PolarGrid * PebbleVrad
Definition: global.h:38
real Rsup[MAX1D]
Definition: global.h:11
PolarGrid * TAURR
Definition: global.h:36
real PebVradInit[MAX1D]
Definition: global.h:18
boolean StellarIrradiation
Definition: global.h:24
PolarGrid * Qminus
Definition: global.h:35
real invdtpeb_sq
Definition: global.h:19
#define MAXPLANETS
Definition: types.h:67
int TimeStep
Definition: global.h:23
boolean debug
Definition: global.h:29
boolean WriteTorque
Definition: global.h:26
boolean ParametricCooling
Definition: global.h:24
boolean FakeSequential
Definition: global.h:29
boolean BackReaction
Definition: global.h:27
PolarGrid * RhoStar
Definition: global.h:34
PolarGrid * DragForceRad
Definition: global.h:37
PolarGrid * GasAccelrad
Definition: global.h:37
boolean Write_Energy
Definition: global.h:25
boolean GotoNextOutput
Definition: global.h:30
real SQRT_ADIABIND_INV
Definition: global.h:19
real Rinf[MAX1D]
Definition: global.h:11
PolarGrid * SoundSpeed
Definition: global.h:35
boolean Write_Eta
Definition: global.h:27
boolean AdvecteLabel
Definition: global.h:29
boolean AccretHeating
Definition: global.h:27
boolean RocheSmoothing
Definition: global.h:30
PolarGrid * StokesNumber
Definition: global.h:38
PolarGrid * Pressure
Definition: global.h:35
PolarGrid * TAUPP
Definition: global.h:36
boolean Damping
Definition: global.h:24
boolean ViscosityAlpha
Definition: global.h:30
#define MAX1D
Definition: types.h:65
boolean heatsrc_index[MAXPLANETS]
Definition: global.h:28