Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_GlobalData.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
11#ifndef PANZER_GLOBAL_DATA_HPP
12#define PANZER_GLOBAL_DATA_HPP
13
14#include "Teuchos_RCP.hpp"
15#include "Teuchos_FancyOStream.hpp"
17
18namespace panzer {
19
29 struct GlobalData {
30
32 Teuchos::RCP<Teuchos::FancyOStream> os;
33
35 Teuchos::RCP<panzer::ParamLib> pl;
36
38 std::ostream & out()
39 { return *os; }
40
41 };
42
56 Teuchos::RCP<panzer::GlobalData> createGlobalData(bool build_default_os = true,
57 int print_process = 0);
58
59}
60
61#endif
Teuchos::RCP< panzer::GlobalData > createGlobalData(bool build_default_os, int print_process)
Struct for global data to be stored.
std::ostream & out()
Get the output stream.
Teuchos::RCP< Teuchos::FancyOStream > os
ostream for redirecting all panzer output for a particular instantiation.
Teuchos::RCP< panzer::ParamLib > pl
Sacado scalar parameter library.