#include <dv_sca.h>
|
virtual void | getRhsSrc (const int ipt=-1) |
|
virtual void | getRhsMix (const vector< double > &gf, const vector< double > &dxc) |
|
| dv_sca () |
|
| dv_sca (domain *line, const string s, const bool Lt, const bool Lo=true) |
|
virtual | ~dv_sca () |
|
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 | 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 () |
|
|
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_sca of parent lv object.
- Author
- David O. Lignell
-
Marten Klein
Definition at line 24 of file dv_sca.h.
◆ dv_sca() [1/2]
◆ dv_sca() [2/2]
dv_sca::dv_sca |
( |
domain * | line, |
|
|
const string | s, |
|
|
const bool | Lt, |
|
|
const bool | Lo = true ) |
dv_sca constructor function
- Parameters
-
p_domn | input: set domain pointer with. |
p_phi | input: set vector pointer with. |
Definition at line 19 of file dv_sca.cc.
◆ ~dv_sca()
virtual dv_sca::~dv_sca |
( |
| ) |
|
|
inlinevirtual |
◆ getRhsMix()
void dv_sca::getRhsMix |
( |
const vector< double > & | gf, |
|
|
const vector< double > & | dxc ) |
|
virtual |
lv mixing term part of the rhs function
- Parameters
-
gf | input: grid geometric factor for derivatives |
dxc | input: = \abs{\Delta(x^c)} |
Reimplemented from dv.
Definition at line 70 of file dv_sca.cc.
◆ getRhsSrc()
void dv_sca::getRhsSrc |
( |
const int | ipt = -1 | ) |
|
|
virtual |
Set the passive scalar
- Parameters
-
ipt | input: optional point to set at |
NOTE: The passive scalar evolves by mixing and stirring through the velocity field. The scalar distribution is a result of the flow and therefore does not require a setVar() method. Future changes, e.g. for the point-wise array manipulation, may be inserted here.
lv source term part of the rhs function
- Parameters
-
ipt | input: optional point to compute source at. |
Reimplemented from dv.
Definition at line 51 of file dv_sca.cc.
◆ constantSource
double dv_sca::constantSource |
|
private |
The documentation for this class was generated from the following files: