OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Abstract class for topology description. More...
#include <topologydescription.h>
Public Member Functions | |
TopologyDescription (Domain *d) | |
virtual | ~TopologyDescription () |
virtual bool | instanciateYourself (DataReader &dr)=0 |
Instanciates itself. More... | |
virtual TopologyState | updateYourself (TimeStep *tStep)=0 |
Updates the topology from the FE solution. More... | |
virtual void | doOutput (TimeStep *tStep) |
File output of the current state of the topology description. More... | |
virtual void | replaceFEMesh () |
Generates the FE components from the bare mesh. More... | |
virtual void | setDomain (Domain *newDomain) |
Changes the connected domain of receiver. More... | |
virtual const char * | giveClassName () const =0 |
Gives the name of the class. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Protected Attributes | |
Domain * | d |
Domain which topology belongs to. More... | |
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.
Definition at line 62 of file topologydescription.h.
|
inline |
Definition at line 69 of file topologydescription.h.
|
inlinevirtual |
Definition at line 72 of file topologydescription.h.
|
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.
tStep | Active time step. |
Reimplemented in oofem::ParticleTopologyDescription.
Definition at line 89 of file topologydescription.h.
References OOFEM_ERROR.
Referenced by oofem::StokesFlow::doStepOutput().
|
inline |
Returns string for prepending output (used by error reporting macros).
Definition at line 112 of file topologydescription.h.
|
pure virtual |
Gives the name of the class.
Implemented in oofem::ParticleTopologyDescription.
|
pure virtual |
Instanciates itself.
Implemented in oofem::ParticleTopologyDescription.
|
inlinevirtual |
Generates the FE components from the bare mesh.
Does not map fields or internal variables.
Reimplemented in oofem::ParticleTopologyDescription.
Definition at line 97 of file topologydescription.h.
References OOFEM_ERROR.
Referenced by oofem::StokesFlow::solveYourselfAt().
|
inlinevirtual |
Changes the connected domain of receiver.
Definition at line 104 of file topologydescription.h.
|
pure virtual |
Updates the topology from the FE solution.
tStep | Active time step. |
Implemented in oofem::ParticleTopologyDescription.
|
protected |
Domain which topology belongs to.
Definition at line 66 of file topologydescription.h.
Referenced by oofem::ParticleTopologyDescription::doOutput(), oofem::ParticleTopologyDescription::findDisplacement(), oofem::ParticleTopologyDescription::replaceFEMesh(), and oofem::ParticleTopologyDescription::updateYourself().