Panzer
Version of the Day
|
Struct for global data to be stored. More...
#include <Panzer_GlobalData.hpp>
Public Member Functions | |
std::ostream & | out () |
Get the output stream. More... | |
Public Attributes | |
Teuchos::RCP < Teuchos::FancyOStream > | os |
ostream for redirecting all panzer output for a particular instantiation. More... | |
Teuchos::RCP< panzer::ParamLib > | pl |
Sacado scalar parameter library. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Teuchos::RCP< panzer::GlobalData > | createGlobalData (bool build_default_os=true, int print_process=0) |
Nonmember constructor. More... | |
Struct for global data to be stored.
This object is unique for each instantiation of a panzer model evaluator. It is intended to store data that is usually global to the code, but must be protected to allow for multiple instantiations of the application (say for multiphysics coupling of two panzer applications). It stores things like the parameter library and a default ostream to redirect all output to.
Definition at line 61 of file Panzer_GlobalData.hpp.
|
inline |
Get the output stream.
Definition at line 70 of file Panzer_GlobalData.hpp.
|
related |
Nonmember constructor.
Allocates a new global data object. Automatically allocates the sacado parameter libraries.
[in] | build_default_os | If set to true, the os object will be allocated with a pointer to cout. |
[in] | print_process | Sets the print process if the os object is built by this method. |
Definition at line 50 of file Panzer_GlobalData.cpp.
Teuchos::RCP<Teuchos::FancyOStream> panzer::GlobalData::os |
ostream for redirecting all panzer output for a particular instantiation.
Definition at line 64 of file Panzer_GlobalData.hpp.
Teuchos::RCP<panzer::ParamLib> panzer::GlobalData::pl |
Sacado scalar parameter library.
Definition at line 67 of file Panzer_GlobalData.hpp.