![]() |
LifeV
|
TimeAdvanceData - Class for handling temporal discretization. More...
#include <TimeAdvanceData.hpp>
Collaboration diagram for TimeAdvanceData:Private Attributes | |
| UInt | M_orderBDF |
| Real | M_theta |
| Real | M_gamma |
Constructors & Destructor | |
| TimeAdvanceData () | |
| Empty Constructor. More... | |
| TimeAdvanceData (const GetPot &dataFile, const std::string §ion="time_discretization") | |
| Constructor. More... | |
| TimeAdvanceData (const TimeAdvanceData &TimeAdvanceData) | |
| Copy constructor. More... | |
| virtual | ~TimeAdvanceData () |
| Virtual destructor. More... | |
Methods | |
| void | setup (const GetPot &dfile, const std::string §ion="time_discretization") |
| Read the dataFile and set all the internal quantities. More... | |
| void | showMe (std::ostream &output=std::cout) const |
| Display general information about the content of the class. More... | |
Set Methods | |
| void | setOrderBDF (const UInt &orderBDF) |
| Set the BDF odert to use. More... | |
| void | setTheta (const Real &theta) |
| Set the theta of TimeAdvanceNewmark scheme. More... | |
| void | setGamma (const Real &gamma) |
| Set the theta of TimeAdvanceNewmark scheme. More... | |
Get Methods | |
| const UInt & | orderBDF () const |
| Get the BDF order used. More... | |
| const Real & | theta () const |
| Return theta parameter of TimeAdvanceNewmark scheme. More... | |
| const Real & | gamma () const |
| Return gamma of TimeAdvanceNewmark scheme. More... | |
| std::vector< Real > | coefficientsNewmark () |
Return TimeAdvanceNewmark parameters ( , ) More... | |
TimeAdvanceData - Class for handling temporal discretization.
The class is a data container for the time discretization.
Definition at line 55 of file TimeAdvanceData.hpp.
| TimeAdvanceData | ( | ) |
Empty Constructor.
Definition at line 45 of file TimeAdvanceData.cpp.
| TimeAdvanceData | ( | const GetPot & | dataFile, |
| const std::string & | section = "time_discretization" |
||
| ) |
Constructor.
| dataFile | GetPot data file |
| section | the section on the data file that contains the information on the time discretization |
Definition at line 52 of file TimeAdvanceData.cpp.
| TimeAdvanceData | ( | const TimeAdvanceData & | TimeAdvanceData | ) |
Copy constructor.
| TimeAdvanceData | - TimeAdvanceData class |
Definition at line 57 of file TimeAdvanceData.cpp.
|
inlinevirtual |
Virtual destructor.
Definition at line 79 of file TimeAdvanceData.hpp.
| void setup | ( | const GetPot & | dfile, |
| const std::string & | section = "time_discretization" |
||
| ) |
Read the dataFile and set all the internal quantities.
| dataFile | data file |
| section | section of the file |
Definition at line 68 of file TimeAdvanceData.cpp.
Here is the caller graph for this function:| void showMe | ( | std::ostream & | output = std::cout | ) | const |
Display general information about the content of the class.
| output | - specify the output format (std::cout by default) |
Definition at line 76 of file TimeAdvanceData.cpp.
|
inline |
Set the BDF odert to use.
| order | BDF order |
Definition at line 110 of file TimeAdvanceData.hpp.
|
inline |
Set the theta of TimeAdvanceNewmark scheme.
| theta | - coefficient of TimeAdvanceNewmark scheme |
Definition at line 119 of file TimeAdvanceData.hpp.
|
inline |
Set the theta of TimeAdvanceNewmark scheme.
| gamma- | coefficient of TimeAdvanceNewmark scheme |
Definition at line 128 of file TimeAdvanceData.hpp.
|
inline |
|
inline |
Return theta parameter of TimeAdvanceNewmark scheme.
Definition at line 152 of file TimeAdvanceData.hpp.
|
inline |
Return gamma of TimeAdvanceNewmark scheme.
Definition at line 161 of file TimeAdvanceData.hpp.
| std::vector< Real > coefficientsNewmark | ( | ) |
Return TimeAdvanceNewmark parameters (
,
)
,
) Definition at line 90 of file TimeAdvanceData.cpp.
|
private |
Definition at line 176 of file TimeAdvanceData.hpp.
|
private |
Definition at line 177 of file TimeAdvanceData.hpp.
|
private |
Definition at line 178 of file TimeAdvanceData.hpp.