OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::parameters::Reader< OutputGeneral< T, LatticeLog >, TAG > Struct Template Reference

#include <solverParameters.h>

+ Inheritance diagram for olb::parameters::Reader< OutputGeneral< T, LatticeLog >, TAG >:
+ Collaboration diagram for olb::parameters::Reader< OutputGeneral< T, LatticeLog >, TAG >:

Public Member Functions

void read (XMLreader const &xml)
 
- Public Member Functions inherited from olb::parameters::ReaderBase< OutputGeneral< T, LatticeLog > >
 ReaderBase (std::shared_ptr< OutputGeneral< T, LatticeLog > > params_)
 

Additional Inherited Members

- Public Attributes inherited from olb::parameters::ReaderBase< OutputGeneral< T, LatticeLog > >
OstreamManager clout
 
std::shared_ptr< OutputGeneral< T, LatticeLog > > params
 

Detailed Description

template<typename T, typename LatticeLog, typename TAG>
struct olb::parameters::Reader< OutputGeneral< T, LatticeLog >, TAG >

Definition at line 255 of file solverParameters.h.

Member Function Documentation

◆ read()

template<typename T , typename LatticeLog , typename TAG >
void olb::parameters::Reader< OutputGeneral< T, LatticeLog >, TAG >::read ( XMLreader const & xml)
inline

Definition at line 259 of file solverParameters.h.

260 {
261 // Filenames
262 xml.readOrWarn<std::string>("Application", "Name", "", this->params->name, true, true, true);
263 xml.readOrWarn<std::string>("Application", "OlbDir", "", this->params->olbDir, true, true, true);
264 xml.readOrWarn<std::string>("Output", "OutputDir", "", this->params->outputDir, true, true, true);
265
266 // For Console Output
267 xml.readOrWarn<bool>("Output", "Log", "VerboseLog", this->params->verbose, true, false, true);
268 xml.readOrWarn<bool>("Output", "PrintLogConverter", "", this->params->printLogConverter, true, false, false);
269 xml.readOrWarn<BaseType<T>>("Output", "Log", "SaveTime", this->params->logT, true, false, true);
270 xml.readOrWarn<int>("Output", "Timer", "PrintMode", this->params->timerPrintMode, true, false, false);
271 }
std::shared_ptr< OutputGeneral< T, LatticeLog > > params

References olb::parameters::ReaderBase< PARAMETERS >::params, and olb::XMLreader::readOrWarn().

+ Here is the call graph for this function:

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