![]() |
OpenLB 1.7
|
Base struct for reading parameters from files. More...
#include <solverParameters.h>
Public Member Functions | |
Reader (std::shared_ptr< PARAMETERS > params_) | |
virtual void | read (XMLreader const &xml) |
![]() | |
ReaderBase (std::shared_ptr< PARAMETERS > params_) | |
Additional Inherited Members | |
![]() | |
OstreamManager | clout {std::cout, "ParameterReader"} |
std::shared_ptr< PARAMETERS > | params |
Base struct for reading parameters from files.
So far, reading from xml is supported. If you want to let your own parameter struct read from xml, you may realize this as template specializations, similar to the syntax in the examples below. The default (with no specialization) does nothing. If you want to add your own interface, you may add read(...)-methods to the given structures which read the parameters from your file type.
Definition at line 238 of file solverParameters.h.
|
inline |
Definition at line 239 of file solverParameters.h.
|
inlinevirtual |
Definition at line 242 of file solverParameters.h.