44#ifndef NIMBLE_DATA_MANAGER_H
45#define NIMBLE_DATA_MANAGER_H
53#ifdef NIMBLE_HAVE_DARMA
82#ifdef NIMBLE_HAVE_DARMA
83 template <
typename ArchiveType>
85 serialize(ArchiveType& ar)
118 std::shared_ptr<nimble::ModelDataBase>
145 std::shared_ptr<nimble::VectorCommunicator>
157 std::shared_ptr<nimble::ExodusOutput>
168 const std::shared_ptr<nimble::BlockMaterialInterfaceFactoryBase>& block_material_factory);
173 const std::shared_ptr<nimble::BlockMaterialInterfaceFactoryBase>&
179 std::shared_ptr<nimble::BoundaryConditionManager>
Definition nimble_boundary_condition_manager.h:60
~DataManager()=default
Destructor.
DataManager(const nimble::Parser &parser, const nimble::GenesisMesh &mesh)
Constructor.
Definition nimble_data_manager.cc:69
const nimble::Parser & parser_
Definition nimble_data_manager.h:191
void SetBlockMaterialInterfaceFactory(const std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > &block_material_factory)
Set BlockMaterialInterfaceFactoryBase object and initialize block data information.
Definition nimble_data_manager.cc:186
nimble::FieldIds & GetFieldIDs()
Return reference to the field IDs.
Definition nimble_data_manager.h:137
std::shared_ptr< nimble::BoundaryConditionManager > GetBoundaryConditionManager()
Return shared pointer to BoundaryConditionManager object.
Definition nimble_data_manager.h:180
std::shared_ptr< nimble::ModelDataBase > model_data_
Definition nimble_data_manager.h:193
const std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > & GetBlockMaterialInterfaceFactory() const
Return shared pointer to BlockMaterialInterfaceFactoryBase object.
Definition nimble_data_manager.cc:193
void Initialize()
Initialize data for simulation.
Definition nimble_data_manager.cc:81
void InitializeOutput(const std::string &filename)
Initialize the data for Exodus output.
Definition nimble_data_manager.cc:162
const nimble::Parser & GetParser() const
Return constant reference to parser information.
Definition nimble_data_manager.h:101
std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > block_material_factory_
Definition nimble_data_manager.h:200
std::shared_ptr< nimble::ModelDataBase > GetModelData()
Return shared pointer to ModelData objet.
Definition nimble_data_manager.h:119
std::shared_ptr< nimble::ExodusOutput > exodus_output_
Definition nimble_data_manager.h:198
std::shared_ptr< nimble::ExodusOutput > GetExodusOutput()
Definition nimble_data_manager.h:158
const nimble::GenesisMesh & mesh_
Definition nimble_data_manager.h:192
nimble::FieldIds field_ids_
Definition nimble_data_manager.h:195
const nimble::GenesisMesh & GetMesh() const
Return constant reference to mesh.
Definition nimble_data_manager.h:110
std::shared_ptr< nimble::VectorCommunicator > vector_communicator_
Definition nimble_data_manager.h:197
void WriteOutput(double time_current)
Write output of simulations.
Definition nimble_data_manager.cc:180
std::shared_ptr< nimble::VectorCommunicator > GetVectorCommunicator()
Return shared pointer to VectorCommunicator objet.
Definition nimble_data_manager.h:146
const nimble::FieldIds & GetFieldIDs() const
Return a const reference to the field IDs.
Definition nimble_data_manager.h:128
std::shared_ptr< nimble::BoundaryConditionManager > boundary_condition_
Definition nimble_data_manager.h:202
Definition nimble_genesis_mesh.h:59
Definition nimble_model_data_base.h:88
Definition nimble_parser.h:107
Definition nimble_vector_communicator.h:74
Definition kokkos_contact_manager.h:49
Definition nimble_model_data_base.h:66