Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_OutputStream_DefaultImpl.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_OUTPUT_STREAM_DEFAULT_IMPL_HPP
12#define PANZER_OUTPUT_STREAM_DEFAULT_IMPL_HPP
13
14#include "Teuchos_RCP.hpp"
16
17namespace panzer {
18
28
29 public:
30
32
34
35 void setOStream(const Teuchos::RCP<Teuchos::FancyOStream>& os);
36
37 Teuchos::RCP<Teuchos::FancyOStream> getOStream() const;
38
39 Teuchos::FancyOStream& out() const;
40
41 Teuchos::FancyOStream& pout() const;
42
44
46
47 bool doOutput(EVerbosityLevel vl, bool only_for_exact_level = false) const;
48
49 private:
50
51 Teuchos::RCP<Teuchos::FancyOStream> m_out;
52 Teuchos::RCP<Teuchos::FancyOStream> m_pout;
54
55 };
56
57}
58
59#endif
Teuchos::RCP< Teuchos::FancyOStream > m_pout
void setOStream(const Teuchos::RCP< Teuchos::FancyOStream > &os)
Teuchos::RCP< Teuchos::FancyOStream > m_out
Teuchos::RCP< Teuchos::FancyOStream > getOStream() const
bool doOutput(EVerbosityLevel vl, bool only_for_exact_level=false) const
Returns true if vl is equal to or greater than the object's verbosity level.
Interface for handling output in Panzer.