Manages domain initialization from configuration file.
The class parses one configuration block. The sub-block names have to match the InitializerUID's. The sub-block is then processed by the Initializer which was registered for this UID.
#include <InitializationManager.h>
Public Member Functions | |
InitializationManager (domain_decomposition::BlockStorage &blockStorage) | |
void | registerInitializer (const InitializerUID &uid, const shared_ptr< Initializer > &geometry) |
void | init (const Config::BlockHandle &blockHandle) |
Protected Attributes | |
domain_decomposition::BlockStorage & | blockStorage_ |
std::map< InitializerUID, shared_ptr< Initializer > > | geometryRegistry_ |
walberla::geometry::initializer::InitializationManager::InitializationManager | ( | domain_decomposition::BlockStorage & | blockStorage | ) |
void walberla::geometry::initializer::InitializationManager::init | ( | const Config::BlockHandle & | blockHandle | ) |
void walberla::geometry::initializer::InitializationManager::registerInitializer | ( | const InitializerUID & | uid, |
const shared_ptr< Initializer > & | geometry | ||
) |
|
protected |
|
protected |