The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
Functions | Variables
Theo.c File Reference

A few functions that manipulate the surface density profile. More...

#include "fargo.h"
Include dependency graph for Theo.c:

Go to the source code of this file.

Functions

real Sigma (real r)
 
void FillSigma ()
 
void RefillSigma (PolarGrid *Surfdens)
 
real Energy (real r)
 Initialises the energy array. More...
 
void FillEnergy ()
 
void RefillEnergy (PolarGrid *Energy)
 
real InitCoolingTime (real r)
 
void FillCoolingTime ()
 
real InitQplus (real r)
 
void FillQplus ()
 
void FillVtheta (PolarGrid *Vtheta)
 

Variables

real ScalingFactor
 

Detailed Description

A few functions that manipulate the surface density profile.

Author
THORIN modifications by Ondřej Chrenko chren.nosp@m.ko@s.nosp@m.irrah.nosp@m..tro.nosp@m.ja.mf.nosp@m.f.cu.nosp@m.ni.cz, Copyright (C) 2017; original code by Frédéric Masset

Definition in file Theo.c.

Function Documentation

real Energy ( real  r)

Initialises the energy array.

Definition at line 60 of file Theo.c.

References ADIABIND, ASPECTRATIO, FLARINGINDEX, GASCONST, mastererr(), MOLWEIGHT, prs_exit(), SIGMA0, and SIGMASLOPE.

Referenced by FillEnergy().

Here is the call graph for this function:

Here is the caller graph for this function:

void FillCoolingTime ( )

Definition at line 110 of file Theo.c.

References CoolingTimeMed, InitCoolingTime(), NRAD, and Rmed.

Referenced by InitGasVelocity().

Here is the call graph for this function:

Here is the caller graph for this function:

void FillEnergy ( )

Definition at line 76 of file Theo.c.

References Energy(), EnergyMed, NRAD, and Rmed.

Referenced by InitEuler().

Here is the call graph for this function:

Here is the caller graph for this function:

void FillQplus ( )

Definition at line 125 of file Theo.c.

References InitQplus(), NRAD, QplusMed, and Rmed.

Referenced by InitGasVelocity().

Here is the call graph for this function:

Here is the caller graph for this function:

void FillSigma ( )

Definition at line 25 of file Theo.c.

References NRAD, Rinf, Rmed, Sigma(), SigmaInf, and SigmaMed.

Referenced by InitEuler().

Here is the call graph for this function:

Here is the caller graph for this function:

void FillVtheta ( PolarGrid Vtheta)

Definition at line 132 of file Theo.c.

References polargrid::Nrad, OmegaFrame, Rmed, and VthetaMed.

real InitCoolingTime ( real  r)

Definition at line 102 of file Theo.c.

References COOLINGTIME, and FLARINGINDEX.

Referenced by FillCoolingTime().

Here is the caller graph for this function:

real InitQplus ( real  r)

Definition at line 116 of file Theo.c.

References FViscosity(), Qplus, SIGMA0, and SIGMASLOPE.

Referenced by FillQplus().

Here is the call graph for this function:

Here is the caller graph for this function:

void RefillEnergy ( PolarGrid Energy)

Definition at line 82 of file Theo.c.

References EnergyMed.

void RefillSigma ( PolarGrid Surfdens)

Definition at line 33 of file Theo.c.

References polargrid::Nrad, Rinf, Rmed, SigmaInf, and SigmaMed.

real Sigma ( real  r)

Definition at line 15 of file Theo.c.

References CAVITYRADIUS, CAVITYRATIO, ScalingFactor, SIGMA0, and SIGMASLOPE.

Referenced by FillSigma().

Here is the caller graph for this function:

Variable Documentation

real ScalingFactor

Definition at line 19 of file main.c.

Referenced by main(), and Sigma().