OOFEM 3.0
Loading...
Searching...
No Matches
oofem::CrackExportModule Class Reference

#include <crackexportmodule.h>

Inheritance diagram for oofem::CrackExportModule:
Collaboration diagram for oofem::CrackExportModule:

Public Member Functions

 CrackExportModule (int n, EngngModel *e)
 Constructor.
virtual ~CrackExportModule ()
 Destructor.
void initializeFrom (InputRecord &ir) override
 Initializes receiver according to object description stored in input record.
void doOutput (TimeStep *tStep, bool forcedOutput) override
void initialize () override
void terminate () override
const char * giveClassName () const override
 Returns class name of the receiver.
const char * giveInputRecordName () const
Public Member Functions inherited from oofem::ExportModule
 ExportModule (int n, EngngModel *e)
 Constructor. Creates empty Output Manager with number n.
virtual ~ExportModule ()
 Destructor.
void doForcedOutput (TimeStep *tStep)
bool testSubStepOutput ()
virtual void initializeElementSet ()

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.
EngngModelemodel
 Problem pointer.
bool tstep_all_out_flag
 Indicates all steps selection.
int tstep_step_out
 User timeStep Output step. Indicates every tstep_step_out-th step selected.
std ::list< Rangetsteps_out
 List of user selected step numbers.
bool tstep_substeps_out_flag
bool domain_all_flag
 Indicates all domains.
IntArray domainMask
 Domain selection mask.
IntArray regionSets
 regions represented by sets
double timeScale
 Scaling time in output, e.g. conversion from seconds to hours.
Set defaultElementSet
 Default region set.
bool pythonExport
 Output is carried out as a python list instead of writing files.

Additional Inherited Members

Protected Member Functions inherited from oofem::ExportModule
int giveNumberOfRegions ()
 Returns number of regions (aka regionSets).
SetgiveRegionSet (int i)
 Returns element set.
std::string giveOutputBaseFileName (TimeStep *tStep)
bool testTimeStepOutput (TimeStep *tStep)
bool testDomainOutput (int n)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Detailed Description

This one-purpose export module serves for estimation of the total water loss

Definition at line 54 of file crackexportmodule.h.

Constructor & Destructor Documentation

◆ CrackExportModule()

oofem::CrackExportModule::CrackExportModule ( int n,
EngngModel * e )

Constructor.

◆ ~CrackExportModule()

oofem::CrackExportModule::~CrackExportModule ( )
virtual

Destructor.

Definition at line 61 of file crackexportmodule.C.

Member Function Documentation

◆ doOutput()

◆ giveClassName()

const char * oofem::CrackExportModule::giveClassName ( ) const
inlineoverridevirtual

Returns class name of the receiver.

Implements oofem::ExportModule.

Definition at line 70 of file crackexportmodule.h.

◆ giveInputRecordName()

const char * oofem::CrackExportModule::giveInputRecordName ( ) const
inline

Definition at line 71 of file crackexportmodule.h.

References _IFT_CrackExportModule_Name.

◆ initialize()

void oofem::CrackExportModule::initialize ( )
overridevirtual

Reimplemented from oofem::ExportModule.

Definition at line 229 of file crackexportmodule.C.

◆ initializeFrom()

void oofem::CrackExportModule::initializeFrom ( InputRecord & ir)
overridevirtual

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, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, and threshold.

◆ terminate()

void oofem::CrackExportModule::terminate ( )
overridevirtual

Terminates the receiver. The terminating messages should be printed. All the streams should be closed.

Reimplemented from oofem::ExportModule.

Definition at line 236 of file crackexportmodule.C.

◆ writeToOutputFile()

void oofem::CrackExportModule::writeToOutputFile ( const std ::string & iName,
const std ::vector< FloatArray > & iPoints )
static

Definition at line 207 of file crackexportmodule.C.

Referenced by doOutput().

Member Data Documentation

◆ crossSections

IntArray oofem::CrackExportModule::crossSections
protected

Definition at line 57 of file crackexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ threshold

double oofem::CrackExportModule::threshold
protected

Definition at line 58 of file crackexportmodule.h.

Referenced by doOutput(), and initializeFrom().


The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011