![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <flowstate.h>
Public Member Functions | |
| FlowState (int NDim) | |
| void | Init (SDPair const &Ini, size_t NIvs=0) |
| void | Backup () |
| void | Restore () |
| size_t | PckSize () const |
| Size of pack. | |
| void | Pack (Array< double > &V) const |
| Pack all values into V. | |
| void | Unpack (Array< double > const &V) |
| Unpack all values from V. | |
| void | Output (SDPair &KeysVals) const |
| Output internal state. | |
Public Attributes | |
| Vec_t | Vel |
| Vec_t | VelBkp |
| Velocity. | |
| Vec_t | Gra |
| Vec_t | GraBkp |
| Gradient. | |
| Vec_t | Ivs |
| Vec_t | IvsBkp |
| Internal values. | |
| FlowState::FlowState | ( | int | NDim | ) | [inline] |
| void FlowState::Backup | ( | ) | [inline, virtual] |
Implements State.
| void FlowState::Init | ( | SDPair const & | Ini, |
| size_t | NIvs = 0 |
||
| ) | [inline, virtual] |
Implements State.
| void FlowState::Output | ( | SDPair & | KeysVals | ) | const [inline, virtual] |
Output internal state.
Implements State.
| void FlowState::Pack | ( | Array< double > & | V | ) | const [inline, virtual] |
Pack all values into V.
Implements State.
| size_t FlowState::PckSize | ( | ) | const [inline, virtual] |
Size of pack.
Implements State.
| void FlowState::Restore | ( | ) | [inline, virtual] |
Implements State.
| void FlowState::Unpack | ( | Array< double > const & | V | ) | [inline, virtual] |
Unpack all values from V.
Implements State.
Gradient.
Internal values.
Velocity.
1.7.6.1