Class TempLat::ModelInitializer
template <typename T>
ClassList > TempLat > ModelInitializer
A class initializes a model's fields and the scale factor. More...
#include <modelinitializer.h>
Public Functions
| Type | Name |
|---|---|
| ModelInitializer (Model & model, T pLSide, std::string pSeed) |
|
| void | initialize (Model & model, RunParameters< T > & rPar, FilesManager< Model::NDim > & filesManager, ExtraFields< Model > extraFields) Initializes the model's fields and scale factor, according to the RunParameters and the model's field content. |
Detailed Description
On calling initialize(), the model is set up with the appropriate initial conditions for all fields and parameters.
Public Functions Documentation
function ModelInitializer
template<class Model>
inline TempLat::ModelInitializer::ModelInitializer (
Model & model,
T pLSide,
std::string pSeed
)
function initialize
Initializes the model's fields and scale factor, according to the RunParameters and the model's field content.
template<class Model>
inline void TempLat::ModelInitializer::initialize (
Model & model,
RunParameters < T > & rPar,
FilesManager < Model::NDim > & filesManager,
ExtraFields < Model > extraFields
)
Parameters:
modelThe model to initialize.rParThe run parameters, which determine the initial conditions for the fields and scale factor.
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/cosmolattice/include/CosmoInterface/initializers/modelinitializer.h