OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::TopologyDescription Class Referenceabstract

Abstract class for topology description. More...

#include <topologydescription.h>

+ Inheritance diagram for oofem::TopologyDescription:
+ Collaboration diagram for oofem::TopologyDescription:

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

Domaind
 Domain which topology belongs to. More...
 

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

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

Definition at line 69 of file topologydescription.h.

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

Definition at line 72 of file topologydescription.h.

Member Function Documentation

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.

Reimplemented in oofem::ParticleTopologyDescription.

Definition at line 89 of file topologydescription.h.

References OOFEM_ERROR.

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

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.

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

Gives the name of the class.

Implemented in oofem::ParticleTopologyDescription.

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

Instanciates itself.

Implemented in oofem::ParticleTopologyDescription.

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.

Reimplemented in oofem::ParticleTopologyDescription.

Definition at line 97 of file topologydescription.h.

References OOFEM_ERROR.

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

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.

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

Updates the topology from the FE solution.

Parameters
tStepActive time step.

Implemented in oofem::ParticleTopologyDescription.

Member Data Documentation


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

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:42 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011