Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Related Functions | List of all members
panzer::GlobalData Struct Reference

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::ParamLibpl
 Sacado scalar parameter library. More...
 

Related Functions

(Note that these are not member functions.)

Teuchos::RCP< panzer::GlobalDatacreateGlobalData (bool build_default_os=true, int print_process=0)
 Nonmember constructor. More...
 

Detailed Description

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.

Member Function Documentation

std::ostream& panzer::GlobalData::out ( )
inline

Get the output stream.

Definition at line 70 of file Panzer_GlobalData.hpp.

Friends And Related Function Documentation

Teuchos::RCP< panzer::GlobalData > createGlobalData ( bool  build_default_os = true,
int  print_process = 0 
)
related

Nonmember constructor.

Allocates a new global data object. Automatically allocates the sacado parameter libraries.

Parameters
[in]build_default_osIf set to true, the os object will be allocated with a pointer to cout.
[in]print_processSets the print process if the os object is built by this method.

Definition at line 50 of file Panzer_GlobalData.cpp.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: