hydro.h

Classes

hydro -- (full description)

class hydro : public hydrobase

Interface

Public Members
hydro(real r = 0, real mf = 1, real rf = 1, real tf = 1)
real get_m_conv_hydro_to_dyn()
real get_r_conv_hydro_to_dyn()
real get_t_conv_hydro_to_dyn()
real get_effective_radius()
void set_m_conv_hydro_to_dyn(const real mf)
void set_r_conv_hydro_to_dyn(const real rf)
void set_t_conv_hydro_to_dyn(const real tf)
void set_effective_radius(const real r)
virtual ostream & print_hydro_story(ostream&)
virtual istream & scan_hydro_story(istream&)

Description

It cannot be included in hydrobase.h since node.h contains hydrobase.h and this would lead to a vicious circle

----------------------------------------------------------------------------- hydro -- the simplest class for hydrodynamics ----------------------------------------------------------------------------- / hydro

Member Description

hydro(real r = 0, real mf = 1, real rf = 1, real tf = 1)

real get_m_conv_hydro_to_dyn()

to convert an internal hydro mass variable m_hydro into the units used by the dyn part, you can use:

a_dyn_particle->set_mass( m_hydro * get_m_conv_hydro_to_dyn() );

real get_r_conv_hydro_to_dyn()

real get_t_conv_hydro_to_dyn()

real get_effective_radius()

void set_m_conv_hydro_to_dyn(const real mf)

void set_r_conv_hydro_to_dyn(const real rf)

void set_t_conv_hydro_to_dyn(const real tf)

void set_effective_radius(const real r)

virtual ostream & print_hydro_story(ostream&)

virtual istream & scan_hydro_story(istream&)