OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::OutputExportModule Class Reference

Standard output for OOFEM. More...

#include <outputexportmodule.h>

+ Inheritance diagram for oofem::OutputExportModule:
+ Collaboration diagram for oofem::OutputExportModule:

Public Member Functions

 OutputExportModule (int n, EngngModel *e)
 
virtual ~OutputExportModule ()
 
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
FILE * giveOutputStream ()
 
virtual void doOutput (TimeStep *tStep, bool forcedOutput=false)
 Writes the output. More...
 
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 initialize ()
 
virtual void initializeElementSet ()
 Fill regionSets with all elements if regionSets is initially empty. More...
 

Protected Attributes

FILE * outputStream
 
IntArray nodeSets
 Set which contains nodes which should be exported. More...
 
IntArray elementSets
 Set which contains elements which should be exported. More...
 
- Protected Attributes inherited from oofem::ExportModule
int number
 Component number. More...
 
EngngModelemodel
 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< Rangetsteps_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...
 
SetgiveRegionSet (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...
 

Detailed Description

Standard output for OOFEM.

Most available data is written in plain text. Implementation simply relies on EngngModel::printOutputAt

Author
Mikael Öhman

Definition at line 60 of file outputexportmodule.h.

Constructor & Destructor Documentation

oofem::OutputExportModule::OutputExportModule ( int  n,
EngngModel e 
)
virtual oofem::OutputExportModule::~OutputExportModule ( )
inlinevirtual

Definition at line 73 of file outputexportmodule.h.

Member Function Documentation

void oofem::OutputExportModule::doOutput ( TimeStep tStep,
bool  forcedOutput = false 
)
virtual
virtual const char* oofem::OutputExportModule::giveClassName ( ) const
inlinevirtual

Returns class name of the receiver.

Implements oofem::ExportModule.

Definition at line 80 of file outputexportmodule.h.

virtual const char* oofem::OutputExportModule::giveInputRecordName ( ) const
inlinevirtual

Definition at line 81 of file outputexportmodule.h.

References _IFT_OutputExportModule_Name.

FILE * oofem::OutputExportModule::giveOutputStream ( )
void oofem::OutputExportModule::terminate ( )
virtual

Terminates the receiver.

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

Reimplemented from oofem::ExportModule.

Definition at line 104 of file outputexportmodule.C.

References oofem::ExportModule::emodel, oofem::EngngModel::giveAnalysisTime(), and giveOutputStream().

Member Data Documentation

IntArray oofem::OutputExportModule::elementSets
protected

Set which contains elements which should be exported.

Definition at line 69 of file outputexportmodule.h.

Referenced by doOutput(), and initializeFrom().

IntArray oofem::OutputExportModule::nodeSets
protected

Set which contains nodes which should be exported.

Definition at line 66 of file outputexportmodule.h.

Referenced by doOutput(), and initializeFrom().

FILE* oofem::OutputExportModule::outputStream
protected

Definition at line 63 of file outputexportmodule.h.

Referenced by giveOutputStream().


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:39 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011