OpenLB 1.7
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
olb::parameters::OutputPlot< T > Struct Template Reference

#include <solverParameters.h>

+ Inheritance diagram for olb::parameters::OutputPlot< T >:
+ Collaboration diagram for olb::parameters::OutputPlot< T >:

Public Types

enum  PrintOutput { pO_off , pO_intervals , pO_final }
 
using BT = BaseType<T>
 

Public Member Functions

 OutputPlot ()=default
 
 OutputPlot (std::string out, std::string name, BT savetime)
 
- Public Member Functions inherited from olb::parameters::ParameterBase
virtual void initialize ()
 

Public Attributes

std::string output {"off"}
 
std::string filename {"unnamed"}
 
BT saveTime
 
PrintOutput printOutput = pO_off
 

Detailed Description

template<typename T>
struct olb::parameters::OutputPlot< T >

Definition at line 181 of file solverParameters.h.

Member Typedef Documentation

◆ BT

template<typename T >
using olb::parameters::OutputPlot< T >::BT = BaseType<T>

Definition at line 183 of file solverParameters.h.

Member Enumeration Documentation

◆ PrintOutput

template<typename T >
enum olb::parameters::OutputPlot::PrintOutput
Enumerator
pO_off 
pO_intervals 
pO_final 

Definition at line 185 of file solverParameters.h.

Constructor & Destructor Documentation

◆ OutputPlot() [1/2]

template<typename T >
olb::parameters::OutputPlot< T >::OutputPlot ( )
default

◆ OutputPlot() [2/2]

template<typename T >
olb::parameters::OutputPlot< T >::OutputPlot ( std::string out,
std::string name,
BT savetime )
inline

Definition at line 194 of file solverParameters.h.

194 {
195 if(out == "off"){
197 } else if (out == "intervals"){
199 } else if (out == "final"){
201 }
202 filename = name;
203 saveTime = savetime;
204 }
std::string name()
Returns distinct name on GCC, Clang and ICC but may return arbitrary garbage as per the standard.
Definition meta.h:100

References olb::parameters::OutputPlot< T >::filename, olb::parameters::OutputPlot< T >::pO_final, olb::parameters::OutputPlot< T >::pO_intervals, olb::parameters::OutputPlot< T >::pO_off, olb::parameters::OutputPlot< T >::printOutput, and olb::parameters::OutputPlot< T >::saveTime.

Member Data Documentation

◆ filename

template<typename T >
std::string olb::parameters::OutputPlot< T >::filename {"unnamed"}

Definition at line 190 of file solverParameters.h.

190{"unnamed"};

◆ output

template<typename T >
std::string olb::parameters::OutputPlot< T >::output {"off"}

Definition at line 189 of file solverParameters.h.

189{"off"};

◆ printOutput

template<typename T >
PrintOutput olb::parameters::OutputPlot< T >::printOutput = pO_off

Definition at line 192 of file solverParameters.h.

◆ saveTime

template<typename T >
BT olb::parameters::OutputPlot< T >::saveTime

Definition at line 191 of file solverParameters.h.


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