OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
The base class representing the interface to mesh generation package. More...
#include <mesherinterface.h>
Public Types | |
enum | returnCode { MI_OK, MI_NEEDS_EXTERNAL_ACTION, MI_FAILED } |
Public Member Functions | |
MesherInterface (Domain *d) | |
Constructor. More... | |
virtual | ~MesherInterface () |
Destructor. More... | |
virtual returnCode | createMesh (TimeStep *tStep, int domainNumber, int domainSerNum, Domain **dNew)=0 |
Runs the mesh generation, mesh will be written to corresponding domain din file. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
Protected Attributes | |
Domain * | domain |
The base class representing the interface to mesh generation package.
This interface is primarily responsible for two main tasks:
Definition at line 52 of file mesherinterface.h.
Enumerator | |
---|---|
MI_OK | |
MI_NEEDS_EXTERNAL_ACTION | |
MI_FAILED |
Definition at line 57 of file mesherinterface.h.
|
inline |
Constructor.
Definition at line 59 of file mesherinterface.h.
|
inlinevirtual |
Destructor.
Definition at line 63 of file mesherinterface.h.
|
pure virtual |
Runs the mesh generation, mesh will be written to corresponding domain din file.
tStep | Time step. |
domainNumber | New domain number. |
domainSerNum | New domain serial number. |
dNew | Newly allocated domain, representing new mesh or set to NULL if external generation has to be performed. |
Implemented in oofem::Subdivision, oofem::T3DInterface, oofem::FreemInterface, and oofem::Targe2Interface.
Referenced by oofem::AdaptiveNonLinearStatic::solveYourselfAt().
|
inlinevirtual |
Initializes receiver according to object description stored in input record.
This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record.
Definition at line 80 of file mesherinterface.h.
References oofem::IRRT_OK.
|
protected |
Definition at line 55 of file mesherinterface.h.
Referenced by oofem::Subdivision::assignGlobalNumbersToSharedIrregulars(), oofem::Targe2Interface::createInput(), oofem::Targe2Interface::createMesh(), oofem::FreemInterface::createMesh(), oofem::T3DInterface::createMesh(), oofem::Subdivision::createMesh(), oofem::Subdivision::exchangeSharedEdges(), oofem::Subdivision::exchangeSharedIrregulars(), oofem::Subdivision::giveNumberOfProcesses(), oofem::Subdivision::giveRank(), oofem::Subdivision::smoothMesh(), oofem::T3DInterface::t3d_2_OOFEM(), and oofem::Subdivision::unpackSharedIrregulars().