walberla::geometry::initializer::InitializationManager Class Reference

Detailed Description

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::BlockStorageblockStorage_
 
std::map< InitializerUID, shared_ptr< Initializer > > geometryRegistry_
 

Constructor & Destructor Documentation

◆ InitializationManager()

walberla::geometry::initializer::InitializationManager::InitializationManager ( domain_decomposition::BlockStorage blockStorage)

Member Function Documentation

◆ init()

void walberla::geometry::initializer::InitializationManager::init ( const Config::BlockHandle blockHandle)

◆ registerInitializer()

void walberla::geometry::initializer::InitializationManager::registerInitializer ( const InitializerUID uid,
const shared_ptr< Initializer > &  geometry 
)

Member Data Documentation

◆ blockStorage_

domain_decomposition::BlockStorage& walberla::geometry::initializer::InitializationManager::blockStorage_
protected

◆ geometryRegistry_

std::map< InitializerUID, shared_ptr<Initializer> > walberla::geometry::initializer::InitializationManager::geometryRegistry_
protected

The documentation for this class was generated from the following files: