hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::Navier_stokes< visc, turb >::Pde< n_dim, row_size >::Computation< n_dim_flux > Class Template Reference

Public Member Functions

 Computation (const Pde &eq)
 
void fetch_state (int stride, const double *data)
 
void fetch_extrap_state (int stride, const double *data)
 
void compute_scalars_conv ()
 
void compute_flux_conv ()
 
void compute_scalars_diff ()
 
void compute_flux_diff ()
 
void compute_source ()
 does nothing—source terms are computed in compute_diffusion
 
void compute_char_speed ()
 
void compute_diffusivity ()
 
void compute_decay ()
 

Public Attributes

Mat< config::debug_variables > debug_variables
 can be populated at any time
 
bool debug_vars_set = false
 
Mat< n_state > state
 
Mat< n_update > update_state
 
double mass
 
double kin_ener
 
double pressure
 
Mat< n_dim, n_dim_flux > normal = Mat<n_dim, n_dim_flux>::Identity()
 
Mat< n_update, n_dim_flux > flux_conv
 
double bulk_av
 
double laplacian_av
 
double sqrt_temp
 
double dyn_visc_coef
 
double therm_cond_coef
 
double energy_cond
 
double real_turb_diss
 
double int_ener
 
double k_bar
 
Mat< n_extrap, n_dim > gradient
 
Mat< n_update, n_dim_flux > flux_diff
 
Mat< n_update > source
 
double char_speed
 
double diffusivity
 
double decay
 

Member Function Documentation

◆ compute_source()

template<bool visc = false, Turbulence_model turb = laminar>
template<int n_dim, int row_size>
template<int n_dim_flux>
void hexed::Navier_stokes< visc, turb >::Pde< n_dim, row_size >::Computation< n_dim_flux >::compute_source ( )
inline

does nothing—source terms are computed in compute_diffusion

because they need access to gradients


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