LifeV
|
Data container for 0D model. More...
#include <ZeroDimensionalData.hpp>
Data Structures | |
struct | SolverData |
Rhytmos solver data container. More... | |
Public Types | |
typedef struct SolverData | solverData_Type |
typedef TimeData | time_Type |
typedef std::shared_ptr< time_Type > | timePtr_Type |
typedef std::shared_ptr< Real > | solutionPtr_Type |
Public Member Functions | |
ZeroDimensionalData () | |
Constructor. More... | |
virtual | ~ZeroDimensionalData () |
Destructor. More... | |
void | setup (const GetPot &dataFile, bcPtr_Type bc, const std::string §ion="0D_Model") |
setup model More... | |
void | initializeSolution () |
initialize Solution More... | |
void | updateBC () |
update source elements More... | |
void | saveSolution () |
save solution More... | |
void | showMe () const |
show some information More... | |
void | showMeVariables () |
show variables More... | |
void | setTimeData (const timePtr_Type &timeData) |
set time More... | |
const timePtr_Type & | dataTime () const |
zeroDimensionalCircuitDataPtr_Type | circuitData () const |
get circuit data container More... | |
const Int & | unknownCounter () const |
total number of unknowns More... | |
const solverData_Type & | solverData () const |
void | setVenousPressure (const Real &venousPressure) |
Set the fluid venous pressure. More... | |
const Real & | venousPressure () const |
Get the fluid venous pressure. More... | |
Private Member Functions | |
void | writeHeaders () |
void | assignVaribleIndex () |
Private Attributes | |
timePtr_Type | M_time |
OutPutFormat | M_outPutFormat |
zeroDimensionalCircuitDataPtr_Type | M_circuitData |
std::ofstream | M_voltageFileStream |
std::ofstream | M_currentFileStream |
std::ofstream | M_balanceFileStream |
Int | M_unknownCounter |
solverData_Type | M_solverData |
Real | M_venousPressure |
Data container for 0D model.
Definition at line 49 of file ZeroDimensionalData.hpp.
typedef struct SolverData solverData_Type |
Definition at line 71 of file ZeroDimensionalData.hpp.
Definition at line 72 of file ZeroDimensionalData.hpp.
typedef std::shared_ptr< time_Type > timePtr_Type |
Definition at line 73 of file ZeroDimensionalData.hpp.
typedef std::shared_ptr< Real > solutionPtr_Type |
Definition at line 76 of file ZeroDimensionalData.hpp.
|
explicit |
Constructor.
Definition at line 46 of file ZeroDimensionalData.cpp.
|
virtual |
Destructor.
Definition at line 54 of file ZeroDimensionalData.cpp.
void setup | ( | const GetPot & | dataFile, |
bcPtr_Type | bc, | ||
const std::string & | section = "0D_Model" |
||
) |
setup model
Definition at line 64 of file ZeroDimensionalData.cpp.
void initializeSolution | ( | ) |
initialize Solution
Definition at line 118 of file ZeroDimensionalData.cpp.
void updateBC | ( | ) |
update source elements
Definition at line 136 of file ZeroDimensionalData.cpp.
void saveSolution | ( | ) |
save solution
Definition at line 155 of file ZeroDimensionalData.cpp.
|
inline |
show some information
Definition at line 97 of file ZeroDimensionalData.hpp.
void showMeVariables | ( | ) |
show variables
Definition at line 195 of file ZeroDimensionalData.cpp.
|
inline |
set time
Definition at line 106 of file ZeroDimensionalData.hpp.
|
inline |
Definition at line 111 of file ZeroDimensionalData.hpp.
|
inline |
get circuit data container
Definition at line 117 of file ZeroDimensionalData.hpp.
|
inline |
total number of unknowns
Definition at line 123 of file ZeroDimensionalData.hpp.
|
inline |
Definition at line 128 of file ZeroDimensionalData.hpp.
|
inline |
Set the fluid venous pressure.
venous | pressure of the fluid. |
Definition at line 137 of file ZeroDimensionalData.hpp.
|
inline |
Get the fluid venous pressure.
Definition at line 146 of file ZeroDimensionalData.hpp.
|
private |
|
private |
|
private |
Definition at line 158 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 159 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 160 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 161 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 162 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 163 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 164 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 165 of file ZeroDimensionalData.hpp.
|
private |
Definition at line 167 of file ZeroDimensionalData.hpp.