|
virtual void | setVar (const int ipt=-1) |
|
virtual void | merge2cells (const int imrg, const double m2, const double m1, const bool LconstVolume=false) |
|
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 () |
|
Class implementing base dv object. Derived dv will be u,v,w,Yi,etc.
- Author
- David O. Lignell
Definition at line 23 of file dv.h.
void dv::merge2cells |
( |
const int | imrg, |
|
|
const double | m1, |
|
|
const double | m2, |
|
|
const bool | LconstVolume = false ) |
|
virtual |
dv 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.
- Parameters
-
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 in dv_dvisc_const, dv_pos, dv_posf, dv_rho, dv_rho_const, and dv_rho_mf.
Definition at line 60 of file dv.cc.