The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
Variables
global.h File Reference

Declares all global variables. More...

Go to the source code of this file.

Variables

int CPU_Rank
 
int CPU_Number
 
boolean CPU_Master
 
int IMIN
 
int IMAX
 
int Zero_or_active
 
int Max_or_active
 
int One_or_active
 
int MaxMO_or_active
 
int GLOBALNRAD
 
real Rinf [MAX1D]
 
real Rsup [MAX1D]
 
real Rmed [MAX1D]
 
real Surf [MAX1D]
 
real InvRmed [MAX1D]
 
real InvSurf [MAX1D]
 
real InvDiffRmed [MAX1D]
 
real InvDiffRsup [MAX1D]
 
real InvRinf [MAX1D]
 
real Radii [MAX1D]
 
real GlobalRmed [MAX1D]
 
real SigmaMed [MAX1D]
 
real SigmaInf [MAX1D]
 
real MassTaper
 
real OmegaInv [MAX1D]
 
real Rmed2 [MAX1D]
 
real EnergyMed [MAX1D]
 
real globpressvec [MAX1D]
 
real globcsvec [MAX1D]
 
real WaveKiller [MAX1D]
 
real VthetaMed [MAX1D]
 
real QplusMed [MAX1D]
 
real CoolingTimeMed [MAX1D]
 
real PebDensInit [MAX1D]
 
real PebVradInit [MAX1D]
 
real PebVthetaInit [MAX1D]
 
real vt1D [MAX1D]
 
real invdtpeb_sq
 
real invdtreb_sq
 
real SQRT_ADIABIND_INV
 
real OmegaFrame
 
real PhysicalTime =0.0
 
real PhysicalTimeInitial
 
real heatsrc [MAXPLANETS]
 
int heatsrc_max
 
int TimeStep =0
 
boolean EnergyEq
 
boolean StoreEnergy
 
boolean ParametricCooling
 
boolean Damping
 
boolean DampVrad
 
boolean DampInit
 
boolean StellarIrradiation
 
boolean InitFromFile
 
boolean Write_Temperature
 
boolean Write_Energy
 
boolean Write_Divergence
 
boolean Write_Qplus
 
boolean Write_Qbalance
 
boolean Collisions
 
boolean WriteTorque
 
boolean WriteTorqueMapFile
 
boolean MonitorNPL
 
boolean FeelDisk
 
boolean Pebbles
 
boolean Write_Eta
 
boolean AccretHeating
 
boolean BackReaction
 
boolean ActualizeLuminosity
 
boolean DiffusiveParticles
 
boolean PrescribedAccretion
 
boolean heatsrc_index [MAXPLANETS]
 
boolean TorqueDensity
 
boolean Merge
 
boolean AdvecteLabel
 
boolean FakeSequential
 
boolean MonitorIntegral
 
boolean debug
 
boolean OnlyInit
 
boolean GotoNextOutput
 
boolean StoreSigma
 
boolean ViscosityAlpha
 
boolean RocheSmoothing
 
boolean CentrifugalBalance
 
boolean ExcludeHill
 
boolean SloppyCFL
 
MPI_Status fargostat
 
PolarGridCellAbscissa
 
PolarGridCellOrdinate
 
PolarGridRhoStar
 
PolarGridRhoInt
 
PolarGridTemperature
 
PolarGridPressure
 
PolarGridSoundSpeed
 
PolarGridQplus
 
PolarGridQminus
 
PolarGridQbalance
 
PolarGridDivergenceVelocity
 
PolarGridTAURR
 
PolarGridTAURP
 
PolarGridTAUPP
 
PolarGridGasAccelrad
 
PolarGridGasAcceltheta
 
PolarGridDragForceRad
 
PolarGridDragForceTheta
 
PolarGridPebbleDens
 
PolarGridPebbleVrad
 
PolarGridPebbleVtheta
 
PolarGridStokesNumber
 
PolarGridGravAccelRad
 
PolarGridGravAccelTheta
 
PolarGridPebbleGravAccelRad
 
PolarGridPebbleGravAccelTheta
 
PolarGridTorque
 
boolean LogGrid
 
boolean OverridesOutputdir
 
char NewOutputdir [1024]
 
FILE * plout
 
FILE * discard
 
FILE * mergers
 

Detailed Description

Declares all global variables.

Used to construct automatically the file global_ex.h. The file global.h cannot contain any comment, as it would not be parsed correctly by varparser.pl

Definition in file global.h.

Variable Documentation

boolean AccretHeating
boolean ActualizeLuminosity

Definition at line 27 of file global.h.

boolean AdvecteLabel
boolean BackReaction

Definition at line 27 of file global.h.

Referenced by ReadVariables(), SourceTermsPebbles(), and SubStep1().

PolarGrid* CellAbscissa
PolarGrid * CellOrdinate
boolean CentrifugalBalance

Definition at line 31 of file global.h.

Referenced by InitGasVelocity(), and main().

boolean Collisions
real CoolingTimeMed[MAX1D]

Definition at line 17 of file global.h.

Referenced by FillCoolingTime(), and SubStep3().

boolean CPU_Master
int CPU_Number
int CPU_Rank
boolean Damping

Definition at line 24 of file global.h.

Referenced by ApplyBoundaryCondition(), InitEuler(), ReadVariables(), and SubStep1().

boolean DampInit

Definition at line 24 of file global.h.

Referenced by DampingBoundary(), InitEuler(), Initialization(), and ReadVariables().

boolean DampVrad

Definition at line 24 of file global.h.

Referenced by ReadVariables().

boolean debug

Definition at line 29 of file global.h.

Referenced by ConditionCFL(), main(), and SplitDomain().

boolean DiffusiveParticles

Definition at line 27 of file global.h.

Referenced by AlgoGas(), and ReadVariables().

FILE * discard
PolarGrid* DivergenceVelocity
PolarGrid * DragForceRad

Definition at line 37 of file global.h.

Referenced by InitPebbleArrays(), SourceTermsPebbles(), and SubStep1().

PolarGrid * DragForceTheta

Definition at line 37 of file global.h.

Referenced by InitPebbleArrays(), SourceTermsPebbles(), and SubStep1().

boolean EnergyEq
real EnergyMed[MAX1D]
boolean ExcludeHill

Definition at line 31 of file global.h.

Referenced by FillForcesArrays(), and ReadVariables().

boolean FakeSequential

Definition at line 29 of file global.h.

Referenced by GasMomentum(), GasTotalEnergy(), GasTotalMass(), and main().

MPI_Status fargostat
boolean FeelDisk

Definition at line 26 of file global.h.

Referenced by ReadVariables(), RestartReboundSimulation(), and SetupReboundSimulation().

PolarGrid* GasAccelrad

Definition at line 37 of file global.h.

Referenced by InitPebbleArrays(), SubStep1(), and SubStep1Pebbles().

PolarGrid * GasAcceltheta

Definition at line 37 of file global.h.

Referenced by InitPebbleArrays(), SubStep1(), and SubStep1Pebbles().

int GLOBALNRAD
real GlobalRmed[MAX1D]
real globcsvec[MAX1D]

Definition at line 16 of file global.h.

Referenced by ComputeSoundSpeed(), and FViscosity().

real globpressvec[MAX1D]

Definition at line 16 of file global.h.

Referenced by InitGasVelocity().

boolean GotoNextOutput

Definition at line 30 of file global.h.

Referenced by main().

PolarGrid* GravAccelRad

Definition at line 39 of file global.h.

Referenced by FillForcesArrays(), InitEuler(), and SubStep1().

PolarGrid * GravAccelTheta

Definition at line 39 of file global.h.

Referenced by FillForcesArrays(), InitEuler(), and SubStep1().

real heatsrc[MAXPLANETS]
boolean heatsrc_index[MAXPLANETS]
int heatsrc_max
int IMAX

Definition at line 5 of file global.h.

Referenced by SplitDomain().

int IMIN
boolean InitFromFile

Definition at line 25 of file global.h.

Referenced by Initialization(), and ReadVariables().

real InvDiffRmed[MAX1D]
real InvDiffRsup[MAX1D]
real invdtpeb_sq

Definition at line 19 of file global.h.

Referenced by ConditionCFL(), and CriticalCharTime().

real invdtreb_sq

Definition at line 19 of file global.h.

Referenced by ConditionCFL(), and MinStepForRebound().

real InvRinf[MAX1D]
real InvRmed[MAX1D]
real InvSurf[MAX1D]

Definition at line 12 of file global.h.

Referenced by FillPolar1DArrays(), and VanLeerRadial().

boolean LogGrid

Definition at line 41 of file global.h.

Referenced by FillPolar1DArrays(), and ReadVariables().

real MassTaper

Definition at line 14 of file global.h.

Referenced by AlgoGas(), and FillForcesArrays().

int Max_or_active
int MaxMO_or_active
boolean Merge

Definition at line 29 of file global.h.

Referenced by AdvanceSystemFromDisk(), InitPebblesViaFlux(), main(), and SendOutput().

FILE * mergers

Definition at line 44 of file global.h.

Referenced by main(), ResolveCollisions(), RestartReboundSimulation(), and SetupReboundSimulation().

boolean MonitorIntegral

Definition at line 29 of file global.h.

Referenced by main().

boolean MonitorNPL

Definition at line 26 of file global.h.

Referenced by main(), and ReadVariables().

char NewOutputdir[1024]

Definition at line 43 of file global.h.

Referenced by main(), and ReadVariables().

real OmegaFrame
real OmegaInv[MAX1D]
int One_or_active
boolean OnlyInit

Definition at line 29 of file global.h.

Referenced by main().

boolean OverridesOutputdir

Definition at line 42 of file global.h.

Referenced by main(), and ReadVariables().

boolean ParametricCooling

Definition at line 24 of file global.h.

Referenced by InitEuler(), InitGasVelocity(), ReadVariables(), SubStep3(), and TellEverything().

PolarGrid* PebbleDens
PolarGrid * PebbleGravAccelRad

Definition at line 39 of file global.h.

Referenced by FillForcesArrays(), InitEuler(), and SourceTermsPebbles().

PolarGrid * PebbleGravAccelTheta

Definition at line 39 of file global.h.

Referenced by FillForcesArrays(), InitEuler(), and SourceTermsPebbles().

boolean Pebbles
PolarGrid * PebbleVrad
PolarGrid * PebbleVtheta
real PebDensInit[MAX1D]

Definition at line 18 of file global.h.

Referenced by BckpFieldsForBC(), DampPebbles(), and InitPebblesViaFlux().

real PebVradInit[MAX1D]

Definition at line 18 of file global.h.

Referenced by BckpFieldsForBC(), DampPebbles(), and InitPebblesViaFlux().

real PebVthetaInit[MAX1D]

Definition at line 18 of file global.h.

Referenced by BckpFieldsForBC(), DampPebbles(), and InitPebblesViaFlux().

real PhysicalTime =0.0
real PhysicalTimeInitial

Definition at line 20 of file global.h.

Referenced by AspectRatio(), FViscosity(), and main().

FILE* plout

Definition at line 44 of file global.h.

Referenced by main(), OutputElements(), RestartReboundSimulation(), and SetupReboundSimulation().

boolean PrescribedAccretion

Definition at line 27 of file global.h.

Referenced by AlgoGas(), and ReadVariables().

PolarGrid * Pressure
PolarGrid * Qbalance

Definition at line 35 of file global.h.

Referenced by ActualizeQbalance(), InitRadiatDiffusionFields(), and SendOutput().

PolarGrid * Qminus
PolarGrid * Qplus
real QplusMed[MAX1D]

Definition at line 17 of file global.h.

Referenced by FillQplus(), and SubStep3().

real Radii[MAX1D]

Definition at line 13 of file global.h.

Referenced by CheckRebin(), FillPolar1DArrays(), and InitGasVelocity().

PolarGrid * RhoInt
PolarGrid* RhoStar
real Rinf[MAX1D]
real Rmed[MAX1D]
real Rmed2[MAX1D]

Definition at line 15 of file global.h.

Referenced by CalculateQirr(), FillForcesArrays(), and FillPolar1DArrays().

boolean RocheSmoothing

Definition at line 30 of file global.h.

Referenced by ReadVariables().

real Rsup[MAX1D]
real SigmaInf[MAX1D]

Definition at line 14 of file global.h.

Referenced by FillSigma(), InitGasVelocity(), and RefillSigma().

real SigmaMed[MAX1D]
boolean SloppyCFL

Definition at line 31 of file global.h.

Referenced by AlgoGas(), and main().

PolarGrid * SoundSpeed
real SQRT_ADIABIND_INV
boolean StellarIrradiation

Definition at line 24 of file global.h.

Referenced by EffectiveOpticalDepth(), ImplicitRadiativeDiffusion(), and ReadVariables().

PolarGrid * StokesNumber
boolean StoreEnergy

Definition at line 24 of file global.h.

Referenced by main().

boolean StoreSigma

Definition at line 30 of file global.h.

Referenced by main().

real Surf[MAX1D]
PolarGrid * TAUPP
PolarGrid * TAURP
PolarGrid * TAURR
PolarGrid* Temperature
int TimeStep =0

Definition at line 23 of file global.h.

Referenced by AdvanceSystemFromDisk(), and main().

PolarGrid* Torque

Definition at line 40 of file global.h.

Referenced by AdvanceSystemFromDisk(), FillForcesArrays(), and InitEuler().

boolean TorqueDensity

Definition at line 28 of file global.h.

Referenced by FillForcesArrays(), InitEuler(), main(), and ReadVariables().

boolean ViscosityAlpha

Definition at line 30 of file global.h.

Referenced by CreateTorqueMapInfile(), FViscosity(), InitGasVelocity(), and ReadVariables().

real vt1D[MAX1D]

Definition at line 19 of file global.h.

Referenced by AccretePebblesOntoPlanets().

real VthetaMed[MAX1D]

Definition at line 16 of file global.h.

Referenced by DampingBoundary(), and FillVtheta().

real WaveKiller[MAX1D]

Definition at line 16 of file global.h.

Referenced by DampingBoundary(), DampPebbles(), and SetWaveKillingZones().

boolean Write_Divergence

Definition at line 25 of file global.h.

Referenced by merge(), ReadVariables(), and SendOutput().

boolean Write_Energy

Definition at line 25 of file global.h.

Referenced by merge(), ReadVariables(), and SendOutput().

boolean Write_Eta

Definition at line 27 of file global.h.

Referenced by merge(), ReadVariables(), and WritePebbles().

boolean Write_Qbalance

Definition at line 25 of file global.h.

Referenced by InitRadiatDiffusionFields(), merge(), ReadVariables(), and SendOutput().

boolean Write_Qplus

Definition at line 25 of file global.h.

Referenced by merge(), ReadVariables(), and SendOutput().

boolean Write_Temperature

Definition at line 25 of file global.h.

Referenced by merge(), ReadVariables(), and SendOutput().

boolean WriteTorque

Definition at line 26 of file global.h.

Referenced by main(), and ReadVariables().

boolean WriteTorqueMapFile

Definition at line 26 of file global.h.

Referenced by main(), and ReadVariables().

int Zero_or_active