Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
dynamics.h File Reference
#include "module.h"
#include "container_classes.h"
Include dependency graph for dynamics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  t_dynamics
 

Functions

void DynaIterStart (void)
 
void DynaIterEnd (void)
 
void DynaStartZone (void)
 
void DynaEndZone (void)
 
void DynaIonize (void)
 
void DynaCreateArrays (void)
 
void ParseDynaWind (Parser &p)
 
void ParseDynaTime (Parser &p)
 
void DynaPrtZone (void)
 
void DynaSave (FILE *ipPnunit, char chJob)
 
void DynaPunchTimeDep (FILE *ipPnunit, const char *chJob)
 
realnum DynaFlux (double depth)
 

Variables

t_dynamics dynamics
 

Function Documentation

◆ DynaCreateArrays()

void DynaCreateArrays ( void )

◆ DynaEndZone()

void DynaEndZone ( void )

DynaEndZone called at end of iteration when advection is turned on

References DEBUG_ENTRY, DynaFlux(), dynamics, fprintf(), ioQQQ, radius, and wind.

Referenced by ZoneEnd().

Here is the call graph for this function:

◆ DynaFlux()

realnum DynaFlux ( double depth)

References DEBUG_ENTRY, dense, dynamics, and pow().

Referenced by DynaEndZone(), PresTotCurrent(), and stepDensity().

Here is the call graph for this function:

◆ DynaIonize()

void DynaIonize ( void )

DynaIonize, called from ionize to evaluate advective terms for current conditions

References AdvecSpecificEnthalpy, ASSERT, DEBUG_ENTRY, dense, Dyn_dr, dynamics, EnthalpyDensity, fprintf(), ioQQQ, ipCARBON, ipH_LIKE, ipHYDROGEN, ipUpstream, iso_sp, iteration, LIMELM, mole_global, NISO, nzone, Old_depth, Old_xIonDense, phycon, POW2, pressure, radius, scalingDensity(), struc, thermal, Upstream_molecules, UpstreamElem, UpstreamIon, UpstreamStatesElem, and wind.

Referenced by ConvBase().

Here is the call graph for this function:

◆ DynaIterEnd()

◆ DynaIterStart()

void DynaIterStart ( void )

routine called at start of iteration when advection is turned on

References cdEXIT, DEBUG_ENTRY, dynamics, EXIT_FAILURE, fprintf(), hextra, ioQQQ, iteration, lgPrintDynamics, linint(), nTime_flux, rfield, time_elapsed_time, and time_flux_ratio.

Referenced by IterStart().

Here is the call graph for this function:

◆ DynaPrtZone()

void DynaPrtZone ( void )

DynaPrtZone - called to print zone results

References AdvecSpecificEnthalpy, ASSERT, DEBUG_ENTRY, dense, dynamics, EnthalpyDensity, fprintf(), ioQQQ, nzone, phycon, POW2, pressure, scalingDensity(), struc, thermal, timesc, and wind.

Referenced by PrtZone().

Here is the call graph for this function:

◆ DynaPunchTimeDep()

void DynaPunchTimeDep ( FILE * ipPnunit,
const char * chJob )

DynaPunchTimeDep - save info about time dependent solution

Parameters
ipPnunit
*chJob

References cdIonFrac(), cdTemp(), colden, column(), cosmology, DEBUG_ENTRY, dense, dynamics, findspecieslocal(), fprintf(), ipCOL_HTOT, ipHYDROGEN, rfield, scalingDensity(), SDIV(), and TotalInsanity().

Referenced by SaveDo().

Here is the call graph for this function:

◆ DynaSave()

void DynaSave ( FILE * ipPnunit,
char chJob )

DynaSave save info related to advection

Parameters
ipPnunit
chJob

References AdvecSpecificEnthalpy, DEBUG_ENTRY, dynamics, fprintf(), ipHYDROGEN, phycon, radius, scalingDensity(), thermal, and TotalInsanity().

Referenced by SaveDo().

Here is the call graph for this function:

◆ DynaStartZone()

◆ ParseDynaTime()

◆ ParseDynaWind()

void ParseDynaWind ( Parser & p)
Todo
2 Need to include divergence terms in pressure balance if flux index is != 0
Todo
2 Need to include divergence terms in pressure balance if flux index is != 0

References advection_set_default(), BIGDOUBLE, cdEXIT, DEBUG_ENTRY, dense, dynamics, EXIT_FAILURE, fprintf(), Parser::getNumberCheck(), Parser::getNumberDefault(), Parser::getNumberPlain(), ioQQQ, Parser::nMatch(), pow(), pressure, and wind.

Referenced by ParseCommands().

Here is the call graph for this function:

Variable Documentation

◆ dynamics