Panzer
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
disc-fe
src
Panzer_OutputStream.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_HPP
12
#define PANZER_OUTPUT_STREAM_HPP
13
14
#include "Teuchos_FancyOStream.hpp"
15
#include "
Teuchos_RCP.hpp
"
16
17
namespace
panzer {
18
19
enum
EVerbosityLevel
{
20
VERB_NONE
,
21
VERB_LOW
,
22
VERB_MEDIUM
,
23
VERB_HIGH
,
24
VERB_EXTREME
25
};
26
36
class
OutputStream
{
37
38
public
:
39
40
virtual
~OutputStream
() {}
41
42
virtual
void
setOStream
(
const
Teuchos::RCP<Teuchos::FancyOStream>
& os) = 0;
43
44
virtual
Teuchos::RCP<Teuchos::FancyOStream>
getOStream
()
const
= 0;
45
47
virtual
Teuchos::FancyOStream
&
out
()
const
= 0;
48
50
virtual
Teuchos::FancyOStream
&
pout
()
const
= 0;
51
52
virtual
void
setVerbosityLevel
(
EVerbosityLevel
vl) = 0;
53
54
virtual
EVerbosityLevel
getVerbosityLevel
()
const
= 0;
55
61
virtual
bool
doOutput
(
EVerbosityLevel
vl,
bool
only_for_exact_level =
false
)
const
= 0;
62
63
};
64
65
}
66
67
#endif
panzer::OutputStream::~OutputStream
virtual ~OutputStream()
Definition:
Panzer_OutputStream.hpp:40
panzer::OutputStream::out
virtual Teuchos::FancyOStream & out() const =0
panzer::OutputStream::setOStream
virtual void setOStream(const Teuchos::RCP< Teuchos::FancyOStream > &os)=0
panzer::OutputStream::setVerbosityLevel
virtual void setVerbosityLevel(EVerbosityLevel vl)=0
panzer::OutputStream::getVerbosityLevel
virtual EVerbosityLevel getVerbosityLevel() const =0
panzer::VERB_HIGH
Definition:
Panzer_OutputStream.hpp:23
panzer::OutputStream::pout
virtual Teuchos::FancyOStream & pout() const =0
Teuchos::basic_FancyOStream
panzer::VERB_MEDIUM
Definition:
Panzer_OutputStream.hpp:22
panzer::VERB_LOW
Definition:
Panzer_OutputStream.hpp:21
panzer::OutputStream::getOStream
virtual Teuchos::RCP< Teuchos::FancyOStream > getOStream() const =0
panzer::OutputStream
Interface for handling output in Panzer.
Definition:
Panzer_OutputStream.hpp:36
panzer::EVerbosityLevel
EVerbosityLevel
Definition:
Panzer_OutputStream.hpp:19
Teuchos::RCP< Teuchos::FancyOStream >
panzer::OutputStream::doOutput
virtual bool doOutput(EVerbosityLevel vl, bool only_for_exact_level=false) const =0
Returns true if vl is equal to or greater than the object's verbosity level.
panzer::VERB_EXTREME
Definition:
Panzer_OutputStream.hpp:24
Teuchos_RCP.hpp
panzer::VERB_NONE
Definition:
Panzer_OutputStream.hpp:20
Generated on Thu Nov 21 2024 09:17:09 for Panzer by
1.8.5