Panzer Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Related Symbols | 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.
 

Public Attributes

Teuchos::RCP< Teuchos::FancyOStream > os
 ostream for redirecting all panzer output for a particular instantiation.

 
Teuchos::RCP< panzer::ParamLibpl
 Sacado scalar parameter library.
 

Related Symbols

(Note that these are not member symbols.)

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

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

◆ out()

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

Get the output stream.

Definition at line 70 of file Panzer_GlobalData.hpp.

Friends And Related Symbol Documentation

◆ createGlobalData()

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

◆ os

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.

◆ pl

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: