OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This one-purpose export module serves for estimation of the total water loss. More...
#include <crackexportmodule.h>
Public Member Functions | |
CrackExportModule (int n, EngngModel *e) | |
Constructor. More... | |
virtual | ~CrackExportModule () |
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) |
Writes the output. More... | |
virtual void | initialize () |
virtual void | terminate () |
Terminates the receiver. 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 | initializeElementSet () |
Fill regionSets with all elements if regionSets is initially empty. More... | |
Static Public Member Functions | |
static void | writeToOutputFile (const std::string &iName, const std::vector< FloatArray > &iPoints) |
Protected Attributes | |
IntArray | crossSections |
double | threshold |
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... | |
Additional Inherited Members | |
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... | |
This one-purpose export module serves for estimation of the total water loss.
Definition at line 54 of file crackexportmodule.h.
oofem::CrackExportModule::CrackExportModule | ( | int | n, |
EngngModel * | e | ||
) |
Constructor.
|
virtual |
Destructor.
Definition at line 61 of file crackexportmodule.C.
|
virtual |
Writes the output.
Abstract service.
tStep | Time step. |
forcedOutput | If true, no testTimeStepOutput should be done. |
Implements oofem::ExportModule.
Definition at line 82 of file crackexportmodule.C.
References oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::FloatArray::beProductOf(), oofem::IntArray::containsSorted(), crossSections, oofem::ECSM_Oliver1, oofem::ECSM_Oliver1modified, oofem::ECSM_Projection, oofem::ECSM_ProjectionCentered, oofem::ECSM_SquareRootOfArea, oofem::ExportModule::emodel, oofem::Domain::giveCrossSection(), oofem::EngngModel::giveDomain(), oofem::Domain::giveElements(), oofem::FEMComponent::giveNumber(), oofem::ExportModule::giveOutputBaseFileName(), oofem::StructuralMaterial::givePlaneStressVectorTranformationMtrx(), oofem::FloatMatrix::resize(), oofem::ExportModule::testTimeStepOutput(), threshold, oofem::FloatArray::times(), and writeToOutputFile().
|
inlinevirtual |
Returns class name of the receiver.
Implements oofem::ExportModule.
Definition at line 70 of file crackexportmodule.h.
|
inlinevirtual |
Definition at line 71 of file crackexportmodule.h.
References _IFT_CrackExportModule_Name, and writeToOutputFile().
|
virtual |
Reimplemented from oofem::ExportModule.
Definition at line 233 of file crackexportmodule.C.
References oofem::ExportModule::initialize().
|
virtual |
Initializes receiver according to object description stored in input record.
Reimplemented from oofem::ExportModule.
Definition at line 67 of file crackexportmodule.C.
References _IFT_CrackExportModule_cs, _IFT_CrackExportModule_threshold, crossSections, oofem::ExportModule::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, and threshold.
|
virtual |
Terminates the receiver.
The terminating messages should be printed. All the streams should be closed.
Reimplemented from oofem::ExportModule.
Definition at line 240 of file crackexportmodule.C.
|
static |
Definition at line 211 of file crackexportmodule.C.
Referenced by doOutput(), and giveInputRecordName().
|
protected |
Definition at line 57 of file crackexportmodule.h.
Referenced by doOutput(), and initializeFrom().
|
protected |
Definition at line 58 of file crackexportmodule.h.
Referenced by doOutput(), and initializeFrom().