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

#include <matlabexportmodule.h>

Inheritance diagram for oofem::MatlabExportModule:
Collaboration diagram for oofem::MatlabExportModule:

Public Member Functions

 MatlabExportModule (int n, EngngModel *e)
virtual ~MatlabExportModule ()
void initializeFrom (InputRecord &ir) override
 Initializes receiver according to object description stored in input record.
void doOutput (TimeStep *tStep, bool forcedOutput=false) override
void initialize () override
void terminate () override
void doOutputMesh (TimeStep *tStep, FILE *FID)
void doOutputData (TimeStep *tStep, FILE *FID)
void doOutputSpecials (TimeStep *tStep, FILE *FID)
void doOutputReactionForces (TimeStep *tStep, FILE *FID)
void doOutputIntegrationPointFields (TimeStep *tStep, FILE *FID)
void doOutputHomogenizeDofIDs (TimeStep *tStep, FILE *FID)
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 ()

Protected Member Functions

FILE * giveOutputStream (TimeStep *)
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).

Protected Attributes

IntArray internalVarsToExport
 list of InternalStateType values, identifying the selected vars for export
IntArray elList
IntArray primaryVarsToExport
 list of primary unknowns to export
std::string functionname
std ::vector< double > smax
std ::vector< double > smin
std ::vector< double > partVolume
std ::vector< std ::string > partName
double Area
double Volume
int ndim
bool exportMesh
bool exportData
bool exportArea
bool exportSpecials
bool exportReactionForces
bool exportIntegrationPointFields
bool exportHomogenizeIST
int reactionForcesNodeSet
int dataNodeSet
int IPFieldsElSet
bool noscaling
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.

Private Member Functions

void computeArea (TimeStep *tStep)

Private Attributes

IntArray reactionForcesDofManList
IntArray dataDofManList

Detailed Description

(Under development) The Matlab export module enables oofem to export the results to a textfile containing the description of the mesh used along with the pertinent results.

Author
Carl Sandström
Jim Brouzoulis

Definition at line 71 of file matlabexportmodule.h.

Constructor & Destructor Documentation

◆ MatlabExportModule()

◆ ~MatlabExportModule()

oofem::MatlabExportModule::~MatlabExportModule ( )
virtual

Definition at line 94 of file matlabexportmodule.C.

Member Function Documentation

◆ computeArea()

◆ doOutput()

◆ doOutputData()

void oofem::MatlabExportModule::doOutputData ( TimeStep * tStep,
FILE * FID )

◆ doOutputHomogenizeDofIDs()

◆ doOutputIntegrationPointFields()

◆ doOutputMesh()

◆ doOutputReactionForces()

◆ doOutputSpecials()

◆ giveClassName()

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

Returns class name of the receiver.

Implements oofem::ExportModule.

Definition at line 128 of file matlabexportmodule.h.

◆ giveInputRecordName()

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

Definition at line 129 of file matlabexportmodule.h.

References _IFT_MatlabExportModule_Name.

◆ giveOutputStream()

FILE * oofem::MatlabExportModule::giveOutputStream ( TimeStep * tStep)
protected

◆ initialize()

void oofem::MatlabExportModule::initialize ( )
overridevirtual

Reimplemented from oofem::ExportModule.

Definition at line 774 of file matlabexportmodule.C.

Referenced by MatlabExportModule().

◆ initializeFrom()

◆ terminate()

void oofem::MatlabExportModule::terminate ( )
overridevirtual

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

Reimplemented from oofem::ExportModule.

Definition at line 781 of file matlabexportmodule.C.

Referenced by MatlabExportModule().

Member Data Documentation

◆ Area

double oofem::MatlabExportModule::Area
protected

Definition at line 88 of file matlabexportmodule.h.

Referenced by computeArea(), and doOutput().

◆ dataDofManList

IntArray oofem::MatlabExportModule::dataDofManList
private

Definition at line 110 of file matlabexportmodule.h.

Referenced by doOutputData().

◆ dataNodeSet

int oofem::MatlabExportModule::dataNodeSet
protected

Definition at line 100 of file matlabexportmodule.h.

Referenced by doOutputData(), and initializeFrom().

◆ elList

IntArray oofem::MatlabExportModule::elList
protected

◆ exportArea

bool oofem::MatlabExportModule::exportArea
protected

Definition at line 93 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ exportData

bool oofem::MatlabExportModule::exportData
protected

Definition at line 92 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ exportHomogenizeIST

bool oofem::MatlabExportModule::exportHomogenizeIST
protected

Definition at line 97 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ exportIntegrationPointFields

bool oofem::MatlabExportModule::exportIntegrationPointFields
protected

Definition at line 96 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ exportMesh

bool oofem::MatlabExportModule::exportMesh
protected

Definition at line 91 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ exportReactionForces

bool oofem::MatlabExportModule::exportReactionForces
protected

Definition at line 95 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ exportSpecials

bool oofem::MatlabExportModule::exportSpecials
protected

Definition at line 94 of file matlabexportmodule.h.

Referenced by doOutput(), and initializeFrom().

◆ functionname

std::string oofem::MatlabExportModule::functionname
protected

Definition at line 79 of file matlabexportmodule.h.

Referenced by doOutput(), and giveOutputStream().

◆ internalVarsToExport

IntArray oofem::MatlabExportModule::internalVarsToExport
protected

list of InternalStateType values, identifying the selected vars for export

Definition at line 75 of file matlabexportmodule.h.

Referenced by doOutputHomogenizeDofIDs(), doOutputIntegrationPointFields(), and initializeFrom().

◆ IPFieldsElSet

int oofem::MatlabExportModule::IPFieldsElSet
protected

Definition at line 101 of file matlabexportmodule.h.

Referenced by doOutputIntegrationPointFields(), and initializeFrom().

◆ ndim

int oofem::MatlabExportModule::ndim
protected

Definition at line 89 of file matlabexportmodule.h.

Referenced by doOutput().

◆ noscaling

bool oofem::MatlabExportModule::noscaling
protected

Definition at line 103 of file matlabexportmodule.h.

Referenced by doOutputHomogenizeDofIDs(), and initializeFrom().

◆ partName

std :: vector< std :: string > oofem::MatlabExportModule::partName
protected

Definition at line 86 of file matlabexportmodule.h.

Referenced by computeArea(), and doOutput().

◆ partVolume

std :: vector< double > oofem::MatlabExportModule::partVolume
protected

Definition at line 85 of file matlabexportmodule.h.

Referenced by computeArea(), and doOutput().

◆ primaryVarsToExport

IntArray oofem::MatlabExportModule::primaryVarsToExport
protected

list of primary unknowns to export

Definition at line 78 of file matlabexportmodule.h.

◆ reactionForcesDofManList

IntArray oofem::MatlabExportModule::reactionForcesDofManList
private

Definition at line 109 of file matlabexportmodule.h.

Referenced by doOutputReactionForces(), and initializeFrom().

◆ reactionForcesNodeSet

int oofem::MatlabExportModule::reactionForcesNodeSet
protected

Definition at line 99 of file matlabexportmodule.h.

Referenced by doOutputReactionForces(), and initializeFrom().

◆ smax

std :: vector< double > oofem::MatlabExportModule::smax
protected

Definition at line 82 of file matlabexportmodule.h.

Referenced by computeArea(), and doOutput().

◆ smin

std :: vector< double > oofem::MatlabExportModule::smin
protected

Definition at line 83 of file matlabexportmodule.h.

Referenced by computeArea(), and doOutput().

◆ Volume

double oofem::MatlabExportModule::Volume
protected

Definition at line 88 of file matlabexportmodule.h.

Referenced by computeArea(), and doOutput().


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