OOFEM 3.0
Loading...
Searching...
No Matches
oofem::TopologyDescription Class Referenceabstract

#include <topologydescription.h>

Collaboration diagram for oofem::TopologyDescription:

Public Member Functions

 TopologyDescription (Domain *d)
virtual ~TopologyDescription ()
virtual bool instanciateYourself (DataReader &dr)=0
virtual TopologyState updateYourself (TimeStep *tStep)=0
virtual void doOutput (TimeStep *tStep)
virtual void replaceFEMesh ()
virtual void setDomain (Domain *newDomain)
virtual const char * giveClassName () const =0
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Attributes

Domaind
 Domain which topology belongs to.

Detailed Description

Abstract class for topology description. The topology is coupled to a given domain. The main workload for a topology description is to be able to reproduce a finite element mesh from the results.

Author
Mikael Öhman

Definition at line 62 of file topologydescription.h.

Constructor & Destructor Documentation

◆ TopologyDescription()

oofem::TopologyDescription::TopologyDescription ( Domain * d)
inline

Definition at line 69 of file topologydescription.h.

References d.

◆ ~TopologyDescription()

virtual oofem::TopologyDescription::~TopologyDescription ( )
inlinevirtual

Definition at line 72 of file topologydescription.h.

Member Function Documentation

◆ doOutput()

virtual void oofem::TopologyDescription::doOutput ( TimeStep * tStep)
inlinevirtual

File output of the current state of the topology description. This is not handled by the export modules, since each type of representation can differ.

Parameters
tStepActive time step.

Definition at line 89 of file topologydescription.h.

References OOFEM_ERROR.

Referenced by oofem::StokesFlow::doStepOutput().

◆ errorInfo()

std::string oofem::TopologyDescription::errorInfo ( const char * func) const
inline

Returns string for prepending output (used by error reporting macros).

Definition at line 112 of file topologydescription.h.

References giveClassName().

◆ giveClassName()

virtual const char * oofem::TopologyDescription::giveClassName ( ) const
pure virtual

Gives the name of the class.

Referenced by errorInfo().

◆ instanciateYourself()

virtual bool oofem::TopologyDescription::instanciateYourself ( DataReader & dr)
pure virtual

Instanciates itself.

◆ replaceFEMesh()

virtual void oofem::TopologyDescription::replaceFEMesh ( )
inlinevirtual

Generates the FE components from the bare mesh. Does not map fields or internal variables.

Todo
Placing it in a new domain is probably preferable.

Definition at line 97 of file topologydescription.h.

References OOFEM_ERROR.

Referenced by oofem::StokesFlow::solveYourselfAt().

◆ setDomain()

virtual void oofem::TopologyDescription::setDomain ( Domain * newDomain)
inlinevirtual

Changes the connected domain of receiver.

Note
{Does not delete any existing objects.}

Definition at line 104 of file topologydescription.h.

References d.

◆ updateYourself()

virtual TopologyState oofem::TopologyDescription::updateYourself ( TimeStep * tStep)
pure virtual

Updates the topology from the FE solution.

Parameters
tStepActive time step.

Member Data Documentation

◆ d

Domain* oofem::TopologyDescription::d
protected

Domain which topology belongs to.

Definition at line 66 of file topologydescription.h.

Referenced by setDomain(), and TopologyDescription().


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

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