OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class represents the interface to Targe2 mesh generation package. More...
#include <targe2interface.h>
Public Member Functions | |
Targe2Interface (Domain *d) | |
Constructor. More... | |
virtual | ~Targe2Interface () |
Destructor. More... | |
virtual returnCode | createMesh (TimeStep *tStep, int domainNumber, int domainSerNum, Domain **dNew) |
Runs the mesh generation, mesh will be written to corresponding domain din file. More... | |
Public Member Functions inherited from oofem::MesherInterface | |
MesherInterface (Domain *d) | |
Constructor. More... | |
virtual | ~MesherInterface () |
Destructor. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
Protected Member Functions | |
int | createInput (Domain *d, TimeStep *tStep) |
Creates the mesher input, containing the required mesh density informations. More... | |
Additional Inherited Members | |
Public Types inherited from oofem::MesherInterface | |
enum | returnCode { MI_OK, MI_NEEDS_EXTERNAL_ACTION, MI_FAILED } |
Protected Attributes inherited from oofem::MesherInterface | |
Domain * | domain |
This class represents the interface to Targe2 mesh generation package.
This interface is primarily responsible for two main tasks:
Definition at line 52 of file targe2interface.h.
|
inline |
Constructor.
Definition at line 56 of file targe2interface.h.
|
inlinevirtual |
Destructor.
Definition at line 58 of file targe2interface.h.
Creates the mesher input, containing the required mesh density informations.
Definition at line 58 of file targe2interface.C.
References oofem::MesherInterface::domain, oofem::Domain::giveElements(), oofem::Domain::giveErrorEstimator(), oofem::ErrorEstimator::giveRemeshingCrit(), oofem::RemeshingCriteria::giveRequiredDofManDensity(), and OOFEM_LOG_INFO.
Referenced by createMesh().
|
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. |
Implements oofem::MesherInterface.
Definition at line 47 of file targe2interface.C.
References createInput(), oofem::MesherInterface::domain, oofem::MesherInterface::MI_FAILED, and oofem::MesherInterface::MI_NEEDS_EXTERNAL_ACTION.