OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Represents DofManager export module. More...
#include <dmexportmodule.h>
Public Member Functions | |
DofManExportModule (int n, EngngModel *e) | |
Constructor. More... | |
virtual | ~DofManExportModule () |
Destructor. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual void | doOutput (TimeStep *tStep, bool forcedOutput=false) |
Writes the output. More... | |
virtual const char * | giveClassName () const |
Returns class name of the receiver. More... | |
virtual const char * | giveInputRecordName () const |
Public Member Functions inherited from oofem::ExportModule | |
ExportModule (int n, EngngModel *e) | |
Constructor. Creates empty Output Manager with number n. More... | |
virtual | ~ExportModule () |
Destructor. More... | |
void | doForcedOutput (TimeStep *tStep) |
Writes the output. More... | |
bool | testSubStepOutput () |
Initializes receiver. More... | |
virtual void | initialize () |
virtual void | initializeElementSet () |
Fill regionSets with all elements if regionSets is initially empty. More... | |
virtual void | terminate () |
Terminates the receiver. More... | |
Protected Member Functions | |
FILE * | giveOutputStream (TimeStep *tStep) |
Protected Member Functions inherited from oofem::ExportModule | |
int | giveNumberOfRegions () |
Returns number of regions (aka regionSets) More... | |
Set * | giveRegionSet (int i) |
Returns element set. More... | |
std::string | giveOutputBaseFileName (TimeStep *tStep) |
Gives the appropriate name (minus specific file extension). More... | |
bool | testTimeStepOutput (TimeStep *tStep) |
Tests if given time step output is required. More... | |
bool | testDomainOutput (int n) |
Test if domain output is required. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Protected Attributes | |
IntArray | dofManList |
Protected Attributes inherited from oofem::ExportModule | |
int | number |
Component number. More... | |
EngngModel * | emodel |
Problem pointer. More... | |
bool | tstep_all_out_flag |
Indicates all steps selection. More... | |
int | tstep_step_out |
User timeStep Output step. Indicates every tstep_step_out-th step selected. More... | |
std::list< Range > | tsteps_out |
List of user selected step numbers. More... | |
bool | tstep_substeps_out_flag |
Flag turning output in solution step substeps/itarations. More... | |
bool | domain_all_flag |
Indicates all domains. More... | |
IntArray | domainMask |
Domain selection mask. More... | |
IntArray | regionSets |
regions represented by sets More... | |
double | timeScale |
Scaling time in output, e.g. conversion from seconds to hours. More... | |
Set | defaultElementSet |
Default region set. More... | |
Represents DofManager export module.
This module writes the coordinates of all dof managers along with the values of displacements for further processing.
Definition at line 54 of file dmexportmodule.h.
oofem::DofManExportModule::DofManExportModule | ( | int | n, |
EngngModel * | e | ||
) |
Constructor.
|
virtual |
Destructor.
Definition at line 54 of file dmexportmodule.C.
|
virtual |
Writes the output.
Abstract service.
tStep | Time step. |
forcedOutput | If true, no testTimeStepOutput should be done. |
Implements oofem::ExportModule.
Definition at line 71 of file dmexportmodule.C.
References oofem::IntArray::at(), oofem::FloatArray::at(), oofem::StructuralEngngModel::buildReactionTable(), oofem::StructuralEngngModel::computeReaction(), dofManList, oofem::ExportModule::emodel, oofem::DofManager::giveCoordinate(), oofem::Domain::giveDofManager(), oofem::EngngModel::giveDomain(), oofem::Domain::giveNumberOfDofManagers(), giveOutputStream(), oofem::IntArray::giveSize(), oofem::TimeStep::giveTargetTime(), and oofem::ExportModule::testTimeStepOutput().
|
inlinevirtual |
Returns class name of the receiver.
Implements oofem::ExportModule.
Definition at line 68 of file dmexportmodule.h.
|
inlinevirtual |
Definition at line 69 of file dmexportmodule.h.
References _IFT_DofManExportModule_Name, and giveOutputStream().
|
protected |
Definition at line 146 of file dmexportmodule.C.
References oofem::ExportModule::giveOutputBaseFileName(), and OOFEM_ERROR.
Referenced by doOutput(), and giveInputRecordName().
|
virtual |
Initializes receiver according to object description stored in input record.
Reimplemented from oofem::ExportModule.
Definition at line 59 of file dmexportmodule.C.
References _IFT_DofManExportModule_dmlist, dofManList, oofem::ExportModule::initializeFrom(), and IR_GIVE_OPTIONAL_FIELD.
|
protected |
Definition at line 57 of file dmexportmodule.h.
Referenced by doOutput(), and initializeFrom().