![]() |
LifeV
|
#include <HyperbolicData.hpp>
Protected Attributes | |
DataPtr_Type | M_data |
Data containers for time and mesh. More... | |
TimePtr_Type | M_time |
MeshPtr_Type | M_mesh |
UInt | M_verbose |
Miscellaneous. More... | |
std::string | M_section |
Real | M_relaxCFL |
Relax parameter for the CFL condition. More... | |
Public Types | |
typedef GetPot | Data_Type |
typedef std::shared_ptr< Data_Type > | DataPtr_Type |
typedef TimeData | Time_Type |
typedef std::shared_ptr< Time_Type > | TimePtr_Type |
typedef MeshData | Mesh_Type |
typedef std::shared_ptr< Mesh_Type > | MeshPtr_Type |
Constructor & Destructor | |
HyperbolicData () | |
Empty Constructor. More... | |
HyperbolicData (const GetPot &dataFile, const std::string §ion="hyperbolic") | |
Constructor using a data file. More... | |
HyperbolicData (const HyperbolicData &hyperbolicData) | |
Copy constructor. More... | |
virtual | ~HyperbolicData () |
Virtual destructor. More... | |
Operators | |
HyperbolicData & | operator= (const HyperbolicData &hyperbolicData) |
Assign operator overloading. More... | |
Methods | |
void | setup (const Data_Type &dataFile, const std::string §ion="hyperbolic") |
External setup. More... | |
void | showMe (std::ostream &output=std::cout) const |
Print attributes of the class. More... | |
Set Methods | |
void | setTimeData (const TimePtr_Type TimeData) |
Set data time container. More... | |
void | setMeshData (const MeshPtr_Type MeshData) |
Set mesh container. More... | |
Get Methods | |
UInt | verbose () const |
Get the level of verbosity of the problem. More... | |
const std::string | section () const |
Get the main section of the data file. More... | |
DataPtr_Type | dataFile () const |
Get the data file of the problem. More... | |
TimePtr_Type | dataTime () const |
Get data time container. More... | |
MeshPtr_Type | meshData () const |
Get mesh container. More... | |
Real | getCFLRelaxParameter () const |
Get the relaxation parameter for the CFL condition. More... | |
This class contain the basic data for the hyperbolic solver. In particoular it stores
Definition at line 64 of file HyperbolicData.hpp.
Definition at line 71 of file HyperbolicData.hpp.
typedef std::shared_ptr< Data_Type > DataPtr_Type |
Definition at line 72 of file HyperbolicData.hpp.
Definition at line 74 of file HyperbolicData.hpp.
typedef std::shared_ptr< Time_Type > TimePtr_Type |
Definition at line 75 of file HyperbolicData.hpp.
Definition at line 77 of file HyperbolicData.hpp.
typedef std::shared_ptr< Mesh_Type > MeshPtr_Type |
Definition at line 78 of file HyperbolicData.hpp.
HyperbolicData | ( | ) |
Empty Constructor.
Definition at line 227 of file HyperbolicData.hpp.
HyperbolicData | ( | const GetPot & | dataFile, |
const std::string & | section = "hyperbolic" |
||
) |
Constructor using a data file.
dataFile | GetPot data file for setup the problem |
section | the section for the Hyperbolic data |
HyperbolicData | ( | const HyperbolicData< Mesh > & | hyperbolicData | ) |
Copy constructor.
hyperbolicData | object to take a copy |
Definition at line 243 of file HyperbolicData.hpp.
|
virtual |
Virtual destructor.
Definition at line 259 of file HyperbolicData.hpp.
HyperbolicData< Mesh > & operator= | ( | const HyperbolicData< Mesh > & | hyperbolicData | ) |
Assign operator overloading.
hyperbolicData | The hyperbolicData to be copied |
Definition at line 271 of file HyperbolicData.hpp.
void setup | ( | const Data_Type & | dataFile, |
const std::string & | section = "hyperbolic" |
||
) |
External setup.
dataFile | The data file with all the data. |
section | The global section. |
Definition at line 297 of file HyperbolicData.hpp.
void showMe | ( | std::ostream & | output = std::cout | ) | const |
Print attributes of the class.
output | Stream to put the output |
Definition at line 332 of file HyperbolicData.hpp.
|
inline |
Set data time container.
Definition at line 142 of file HyperbolicData.hpp.
|
inline |
Set mesh container.
MeshData | Boost shared_ptr to meshData container |
Definition at line 151 of file HyperbolicData.hpp.
|
inline |
Get the level of verbosity of the problem.
Definition at line 160 of file HyperbolicData.hpp.
|
inline |
Get the main section of the data file.
Definition at line 166 of file HyperbolicData.hpp.
|
inline |
Get the data file of the problem.
Definition at line 172 of file HyperbolicData.hpp.
|
inline |
Get data time container.
Definition at line 181 of file HyperbolicData.hpp.
|
inline |
Get mesh container.
Definition at line 190 of file HyperbolicData.hpp.
|
inline |
Get the relaxation parameter for the CFL condition.
Definition at line 199 of file HyperbolicData.hpp.
|
protected |
Data containers for time and mesh.
Definition at line 209 of file HyperbolicData.hpp.
|
protected |
Definition at line 210 of file HyperbolicData.hpp.
|
protected |
Definition at line 211 of file HyperbolicData.hpp.
|
protected |
Miscellaneous.
Definition at line 214 of file HyperbolicData.hpp.
|
protected |
Definition at line 215 of file HyperbolicData.hpp.
|
protected |
Relax parameter for the CFL condition.
Definition at line 218 of file HyperbolicData.hpp.