12 #ifndef __ACCELERATEPVT_HEADER__
13 #define __ACCELERATEPVT_HEADER__
34 void Setup(
const OCP_USI& numBulk,
const USI& np,
const USI& nc);
38 void AssignValue(
const OCP_USI& n,
42 const vector<OCP_DBL>& ziSkip);
47 const vector<OCP_DBL>& Niin,
53 const vector<OCP_DBL>& Niin,
59 const vector<OCP_DBL>& Niin,
64 void ResetToLastTimeStep();
66 void UpdateLastTimeStep();
Operations about small dense mat.
Definition of build-in datatypes and consts.
unsigned int USI
Generic unsigned integer.
double OCP_DBL
Double precision.
unsigned int OCP_USI
Long unsigned integer.
unsigned int OCP_BOOL
OCP_BOOL in OCP.
OCP_BOOL IfUseSkip() const
Return ifUseSkip.
vector< OCP_DBL > lminEigen
Last min eigenvalue.
void SetUseSkip(const OCP_BOOL &flag)
Set ifUseSkip to true or false.
USI numCom
Num of components used in phase equilibrium calculation.
vector< OCP_DBL > P
Pressure at last step.
vector< OCP_DBL > lT
Last T.
vector< OCP_BOOL > lflag
Last flag.
vector< OCP_BOOL > flag
If true, skip will be test.
vector< OCP_DBL > zi
Mole fraction of components(for test) at last step.
vector< OCP_DBL > minEigen
minimum eigenvalue used for testing skipping
USI numPhase
Num of phase used in phase equilibrium calculation.
vector< OCP_DBL > lP
Last P.
void SetFlagSkip(const OCP_USI &n, const OCP_BOOL &flagSkip)
Set flag for skipping.
vector< OCP_DBL > lzi
Last zi.
vector< OCP_DBL > T
Temperature at last step.