Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SelfGravHydroStaticColMaker< NonGasPhiFn > Class Template Reference

Public Member Functions

 SelfGravHydroStaticColMaker (int ghost_depth, ZGridProps z_grid_props, Real isoth_term, NonGasPhiFn calc_other_phi, Real initial_scale_height_guess)
 
int buffer_len () const noexcept
 
Real construct_col (Real cur_R, Real cur_Sigma, Real *buffer) const noexcept
 

Member Function Documentation

◆ construct_col()

template<typename NonGasPhiFn >
Real SelfGravHydroStaticColMaker< NonGasPhiFn >::construct_col ( Real  cur_R,
Real  cur_Sigma,
Real *  buffer 
) const
inlinenoexcept

Compute the vertical density column in hydrostatic equilibrium

Parameters
[in]cur_RThe current cylindrical radius
[in]cur_SigmaThe current surface density
[out]bufferis filled by this function. It is assumed to be an array of length this->buffer_len()
Returns
best estimate for the midplane mass-density

The documentation for this class was generated from the following file: