ODT
|
#include <dv_rho_const.h>
Public Member Functions | |
virtual void | setVar (const int ipt=-1) |
virtual void | merge2cells (const int imrg, const double m2, const double m1, const bool LconstVolume=false) |
dv_rho_const () | |
dv_rho_const (domain *line, const string s, const bool Lt, const bool Lo=true) | |
virtual | ~dv_rho_const () |
![]() | |
virtual void | splitCell (const int isplt, const int nsplt, const vector< double > &cellFaces) |
virtual void | getRhsSrc (const int ipt=-1) |
virtual void | getRhsMix (const vector< double > &gf, const vector< double > &dxc) |
virtual void | interpVarToFacesHarmonic (const vector< double > &cvar, vector< double > &fvar) |
virtual double | linearInterpToFace (const int &iface, const vector< double > &vec) |
virtual void | setDvFromRegion (const int i1, const int i2) |
virtual void | resize () |
dv () | |
dv (domain *line, const string s, const bool Lt, const bool Lo=true) | |
virtual | ~dv () |
Additional Inherited Members | |
![]() | |
string | var_name |
name of variable | |
vector< double > | d |
the data | |
bool | L_transported |
flag true if var is transported | |
bool | L_output |
flag true if included in output | |
bool | LagSrc |
flag to lag source term in implicit solve (initially put in for enthalpy radiation) | |
domain * | domn |
pointer to domain object (parent) | |
vector< double > | rhsSrc |
the data | |
vector< double > | rhsMix |
the data | |
vector< double > | flux |
Class implementing child dv_rho_const of parent lv object.
Definition at line 23 of file dv_rho_const.h.
|
inline |
Definition at line 46 of file dv_rho_const.h.
dv_rho_const::dv_rho_const | ( | domain * | line, |
const string | s, | ||
const bool | Lt, | ||
const bool | Lo = true ) |
dv_rho_const constructor function
p_domn | input: set domain pointer with. |
p_phi | input: set vector pointer with. |
Definition at line 17 of file dv_rho_const.cc.
|
inlinevirtual |
Definition at line 52 of file dv_rho_const.h.
|
virtual |
dv_rho_const merger2cells function
Function presumes that the variable being merged is a quantity per unit mass. Merging conservatively: (rho*phi*dx)_merged = (rho*phi*dx)_1 + (rho*phi*dx)_2 Then solve for phi_merged.
imrg | input: merge cells imrg and imrg+1 |
imrg | input: merge cells imrg and imrg+1 |
m1 | input: mass in cell imrg |
m2 | input: mass in cell imrg |
LconstVolume | input: (for posf, default is false) |
Reimplemented from dv.
Definition at line 44 of file dv_rho_const.cc.
|
virtual |
dv_rho_const setVar function
ipt | input: optional point to compute at |
Reimplemented from dv.
Definition at line 58 of file dv_rho_const.cc.