OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Class representing and implementing ExportModuleManager. More...
#include <exportmodulemanager.h>
Public Member Functions | |
ExportModuleManager (EngngModel *emodel) | |
virtual | ~ExportModuleManager () |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Instanciates the receiver from input record. More... | |
ExportModule * | CreateModule (const char *name, int num, EngngModel *emodel) |
Creates new instance of module. More... | |
void | doOutput (TimeStep *tStep, bool substepFlag=false) |
Writes the output. More... | |
void | initialize () |
Initializes output manager. More... | |
void | terminate () |
Terminates the receiver, the corresponding terminate module services are called. More... | |
virtual const char * | giveClassName () const |
Returns class name of the receiver. More... | |
Public Member Functions inherited from oofem::ModuleManager< ExportModule > | |
ModuleManager (EngngModel *emodel) | |
ModuleManager (const ModuleManager &)=delete | |
virtual | ~ModuleManager () |
ModuleManager & | operator= (const ModuleManager &)=delete |
virtual int | instanciateYourself (DataReader &dr, InputRecord *ir) |
Reads receiver description from input stream and creates corresponding modules components accordingly. More... | |
ExportModule * | giveModule (int num) |
Returns the required module. More... | |
int | giveNumberOfModules () const |
Additional Inherited Members | |
Protected Attributes inherited from oofem::ModuleManager< ExportModule > | |
std::vector< std::unique_ptr< ExportModule > > | moduleList |
Module list. More... | |
int | numberOfModules |
Number of modules. More... | |
EngngModel * | emodel |
Associated Engineering model. More... | |
Class representing and implementing ExportModuleManager.
It is attribute of EngngModel. It manages the export output modules, which perform module - specific output operations.
Definition at line 48 of file exportmodulemanager.h.
oofem::ExportModuleManager::ExportModuleManager | ( | EngngModel * | emodel | ) |
Definition at line 41 of file exportmodulemanager.C.
|
virtual |
Definition at line 44 of file exportmodulemanager.C.
|
virtual |
Creates new instance of module.
name | Name of module. |
n | Number associated with module. |
emodel | Engineering model which receiver belongs to. |
Implements oofem::ModuleManager< ExportModule >.
Definition at line 57 of file exportmodulemanager.C.
References oofem::classFactory, and oofem::ClassFactory::createExportModule().
void oofem::ExportModuleManager::doOutput | ( | TimeStep * | tStep, |
bool | substepFlag = false |
||
) |
Writes the output.
Loops over all modules and calls corresponding doOutput module service.
tStep | Time step. |
substepFlag | is set to true, only the modules with substepFlag set to true will be processed. |
Definition at line 63 of file exportmodulemanager.C.
References oofem::ModuleManager< ExportModule >::moduleList.
Referenced by oofem::EigenValueDynamic::doStepOutput(), oofem::LinearStability::doStepOutput(), oofem::EngngModel::doStepOutput(), oofem::NRSolver::solve(), oofem::CylindricalALM::solve(), and oofem::EngngModel::terminate().
|
inlinevirtual |
Returns class name of the receiver.
Implements oofem::ModuleManager< ExportModule >.
Definition at line 71 of file exportmodulemanager.h.
void oofem::ExportModuleManager::initialize | ( | ) |
Initializes output manager.
The corresponding initialize module services are called.
Definition at line 77 of file exportmodulemanager.C.
References oofem::ModuleManager< ExportModule >::moduleList.
Referenced by oofem::EngngModel::balanceLoad(), oofem::EngngModel::instanciateYourself(), oofem::StokesFlow::solveYourselfAt(), and oofem::EngngModel::updateDomainLinks().
|
virtual |
Instanciates the receiver from input record.
Called from instanciateYourself to initialize yourself from corresponding record. Should be called before instanciateYourself.
Implements oofem::ModuleManager< ExportModule >.
Definition at line 48 of file exportmodulemanager.C.
References _IFT_ModuleManager_nmodules, IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_OK, and oofem::ModuleManager< ExportModule >::numberOfModules.
Referenced by oofem::EngngModel::instanciateYourself().
void oofem::ExportModuleManager::terminate | ( | ) |
Terminates the receiver, the corresponding terminate module services are called.
Definition at line 86 of file exportmodulemanager.C.
References oofem::ModuleManager< ExportModule >::moduleList.
Referenced by oofem::EngngModel::terminateAnalysis().