34 CellHousekeeper::CellHousekeeper()
38 CellHousekeeper::CellHousekeeper(
const CoreData& cd)
43 ptree CellHousekeeper::Exec()
const
45 for (
auto cell : m_cd.m_mesh->GetCells()) {
46 m_cell_housekeep(cell);
51 void CellHousekeeper::Initialize(
const CoreData& cd)
53 assert(cd.
Check() &&
"CoreData not ok.");
55 const auto model_group = m_cd.m_parameters->get<
string>(
"model.group",
"");
56 const auto factory = ComponentFactoryProxy::Create(model_group);
57 m_cell_housekeep = factory->CreateCellHousekeep(m_cd);
Interface for CellHousekeeper.
Core data with mesh, parameters, random engine and time data.
Core data used during model execution.
Namespace for miscellaneous utilities.
Namespace for the core simulator.
Macro defs for debug and logging.
Proxy for dealing with the factories.
Header file for Exception class.
bool Check() const
Verify all pointers non-null.