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

#include <solverParameters.h>

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 277 of file solverParameters.h.

Member Function Documentation

◆ read()

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

Definition at line 281 of file solverParameters.h.

282 {
283 std::string tag {TAG().name};
284 xml.readOrWarn<std::string>("Output", tag, "Output", this->params->output, true, false, true);
285 if (this->params->output != "off") {
286 xml.readOrWarn<std::string>("Output", tag, "Filename", this->params->filename, true, false, false);
287 xml.readOrWarn<BaseType<T>>("Output", tag, "SaveTime", this->params->saveTime, true, false, true);
288 }
289 if(this->params->output == "off"){
291 } else if (this->params->output == "intervals"){
293 } else if (this->params->output == "final"){
295 }
296 }
std::shared_ptr< OutputPlot< T > > 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: