Functions

microphysics/integrate_diffusion.c File Reference

Contains public functions to integrate explicit diffusion terms using operator splitting. More...

Go to the source code of this file.

Functions

void integrate_diff (MeshS *pM)
 Called in main loop, sets timestep and/or orchestrates subcycling, calls appropriate functions for each diffusion operator.
void integrate_diff_init (MeshS *pM)
 Call functions to allocate memory.
void integrate_diff_destruct ()
 Frees memory associated with diffusion funcs.

Detailed Description

Contains public functions to integrate explicit diffusion terms using operator splitting.

CONTAINS PUBLIC FUNCTIONS:

Definition in file integrate_diffusion.c.


Function Documentation

void integrate_diff ( MeshS pM  ) 

Called in main loop, sets timestep and/or orchestrates subcycling, calls appropriate functions for each diffusion operator.

Definition at line 27 of file integrate_diffusion.c.

References conduction(), diff_dt(), MeshS::Domain, MeshS::DomainsPerLevel, GridS::dt, MeshS::dt, get_eta(), DomainS::Grid, MeshS::NLevels, resistivity(), and viscosity().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void integrate_diff_destruct ( void   ) 

Frees memory associated with diffusion funcs.

Definition at line 116 of file integrate_diffusion.c.

References conduction_destruct(), resistivity_destruct(), and viscosity_destruct().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void integrate_diff_init ( MeshS pM  ) 

Call functions to allocate memory.

Definition at line 87 of file integrate_diffusion.c.

References ath_error(), conduction_init(), eta_Ohm, kappa_aniso, kappa_iso, nu_aniso, nu_iso, Q_AD, Q_Hall, resistivity_init(), and viscosity_init().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: