![]() |
OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
Public Member Functions | |
| void | SetUseSkip (const OCP_BOOL &flag) |
| Set ifUseSkip to true or false. | |
| OCP_BOOL | IfUseSkip () const |
| Return ifUseSkip. | |
| void | Setup (const OCP_USI &numBulk, const USI &np, const USI &nc) |
| Allocate memory for SkipStaAnaly term. | |
| void | SetFlagSkip (const OCP_USI &n, const OCP_BOOL &flagSkip) |
| Set flag for skipping. | |
| void | AssignValue (const OCP_USI &n, const OCP_DBL &minEigenSkip, const OCP_DBL &PSkip, const OCP_DBL &TSkip, const vector< OCP_DBL > &ziSkip) |
| Update variables used for determine if skipping will happen. | |
| OCP_BOOL | IfSkip (const OCP_DBL &Pin, const OCP_DBL &Tin, const OCP_DBL &Ntin, const vector< OCP_DBL > &Niin, const OCP_USI &n) const |
| Determine if skipping will happen. | |
| USI | CalFtypeIMPEC (const OCP_DBL &Pin, const OCP_DBL &Tin, const OCP_DBL &Ntin, const vector< OCP_DBL > &Niin, const OCP_USI &n) |
| Calculate the ftype for IMPEC. | |
| USI | CalFtypeFIM (const OCP_DBL &Pin, const OCP_DBL &Tin, const OCP_DBL &Ntin, const vector< OCP_DBL > &Niin, const OCP_DBL *S, const USI &np, const OCP_USI &n) const |
| Calculate the ftype for FIM. | |
| void | ResetToLastTimeStep () |
| Reset SkipStaAnaly term to last time step. | |
| void | UpdateLastTimeStep () |
| Update SkipStaAnaly term at last time step. | |
Protected Attributes | |
| OCP_BOOL | ifSetup {OCP_FALSE} |
| Only one setup is needed. | |
| OCP_BOOL | ifUseSkip {OCP_TRUE} |
| If true, then Skip option will be used. | |
| USI | numPhase |
| Num of phase used in phase equilibrium calculation. | |
| USI | numCom |
| Num of components used in phase equilibrium calculation. | |
| vector< OCP_BOOL > | flag |
| If true, skip will be test. | |
| vector< OCP_DBL > | minEigen |
| minimum eigenvalue used for testing skipping | |
| vector< OCP_DBL > | P |
| Pressure at last step. | |
| vector< OCP_DBL > | T |
| Temperature at last step. | |
| vector< OCP_DBL > | zi |
| Mole fraction of components(for test) at last step. | |
| vector< OCP_BOOL > | lflag |
| Last flag. | |
| vector< OCP_DBL > | lminEigen |
| Last min eigenvalue. | |
| vector< OCP_DBL > | lP |
| Last P. | |
| vector< OCP_DBL > | lT |
| Last T. | |
| vector< OCP_DBL > | lzi |
| Last zi. | |
Definition at line 25 of file AcceleratePVT.hpp.