NimbleSM
NimbleSM is a solid mechanics simulation code for dynamic systems
|
#include <nimble_data_manager.h>
Public Member Functions | |
DataManager (const nimble::Parser &parser, const nimble::GenesisMesh &mesh) | |
Constructor. | |
~DataManager ()=default | |
Destructor. | |
void | InitializeOutput (const std::string &filename) |
Initialize the data for Exodus output. | |
const nimble::Parser & | GetParser () const |
Return constant reference to parser information. | |
const nimble::GenesisMesh & | GetMesh () const |
Return constant reference to mesh. | |
std::shared_ptr< nimble::ModelDataBase > | GetModelData () |
Return shared pointer to ModelData objet. | |
const nimble::FieldIds & | GetFieldIDs () const |
Return a const reference to the field IDs. | |
nimble::FieldIds & | GetFieldIDs () |
Return reference to the field IDs. | |
std::shared_ptr< nimble::VectorCommunicator > | GetVectorCommunicator () |
Return shared pointer to VectorCommunicator objet. | |
void | WriteOutput (double time_current) |
Write output of simulations. | |
std::shared_ptr< nimble::ExodusOutput > | GetExodusOutput () |
void | SetBlockMaterialInterfaceFactory (const std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > &block_material_factory) |
Set BlockMaterialInterfaceFactoryBase object and initialize block data information. | |
const std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > & | GetBlockMaterialInterfaceFactory () const |
Return shared pointer to BlockMaterialInterfaceFactoryBase object. | |
std::shared_ptr< nimble::BoundaryConditionManager > | GetBoundaryConditionManager () |
Return shared pointer to BoundaryConditionManager object. | |
Protected Member Functions | |
void | Initialize () |
Initialize data for simulation. | |
Protected Attributes | |
const nimble::Parser & | parser_ |
const nimble::GenesisMesh & | mesh_ |
std::shared_ptr< nimble::ModelDataBase > | model_data_ = nullptr |
nimble::FieldIds | field_ids_ |
std::shared_ptr< nimble::VectorCommunicator > | vector_communicator_ = nullptr |
std::shared_ptr< nimble::ExodusOutput > | exodus_output_ = nullptr |
std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > | block_material_factory_ = nullptr |
std::shared_ptr< nimble::BoundaryConditionManager > | boundary_condition_ = nullptr |
nimble::DataManager::DataManager | ( | const nimble::Parser & | parser, |
const nimble::GenesisMesh & | mesh ) |
Constructor.
parser | Reference to parser information |
mesh | Reference to mesh |
|
default |
Destructor.
const std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > & nimble::DataManager::GetBlockMaterialInterfaceFactory | ( | ) | const |
Return shared pointer to BlockMaterialInterfaceFactoryBase object.
|
inline |
Return shared pointer to BoundaryConditionManager object.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return constant reference to parser information.
|
inline |
Return shared pointer to VectorCommunicator objet.
|
protected |
Initialize data for simulation.
void nimble::DataManager::InitializeOutput | ( | const std::string & | filename | ) |
Initialize the data for Exodus output.
filename | File name for the output files |
void nimble::DataManager::SetBlockMaterialInterfaceFactory | ( | const std::shared_ptr< nimble::BlockMaterialInterfaceFactoryBase > & | block_material_factory | ) |
Set BlockMaterialInterfaceFactoryBase object and initialize block data information.
void nimble::DataManager::WriteOutput | ( | double | time_current | ) |
Write output of simulations.
[in] | time_current | Time value |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |