OOFEM 3.0
Loading...
Searching...
No Matches
oofem::T3DInterface Class Reference

#include <t3dinterface.h>

Inheritance diagram for oofem::T3DInterface:
Collaboration diagram for oofem::T3DInterface:

Public Member Functions

 T3DInterface (Domain *d)
 Constructor.
virtual ~T3DInterface ()
 Destructor.
returnCode createMesh (TimeStep *tStep, int domainNumber, int domainSerNum, Domain **dNew) override
int t3d_2_OOFEM (const char *t3dOutFile, Domain **dNew)
int createInput (Element *e, char *t3dInFile)
int createVTKExportMesh (const char *t3dOutFile, std::vector< FloatArray > &nodeCoords, std::vector< IntArray > &cellNodes, IntArray &cellTypes)
int createQCInterpolationMesh (const char *t3dOutFile, std::vector< FloatArray > &nodeCoords, std::vector< IntArray > &cellNodes, IntArray &cellTypes)
Public Member Functions inherited from oofem::MesherInterface
 MesherInterface (Domain *d)
 Constructor.
virtual ~MesherInterface ()
 Destructor.
virtual void initializeFrom (InputRecord &ir)

Protected Member Functions

int createInput (Domain *d, TimeStep *tStep)
 Creates the mesher input, containing the required mesh density information.

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
Domaindomain

Detailed Description

This class represents the interface to t3d mesh generation package. This interface is primarily responsible for two main tasks:

  • to create input mesher file, containing all information including the mesh density information based on information from remeshing criteria.
  • possibly to launch the mesher and transform its output to oofem input (using t3d2oofem)

Definition at line 55 of file t3dinterface.h.

Constructor & Destructor Documentation

◆ T3DInterface()

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

Constructor.

Definition at line 59 of file t3dinterface.h.

References oofem::MesherInterface::MesherInterface().

◆ ~T3DInterface()

virtual oofem::T3DInterface::~T3DInterface ( )
inlinevirtual

Destructor.

Definition at line 61 of file t3dinterface.h.

Member Function Documentation

◆ createInput() [1/2]

◆ createInput() [2/2]

int oofem::T3DInterface::createInput ( Element * e,
char * t3dInFile )

◆ createMesh()

MesherInterface::returnCode oofem::T3DInterface::createMesh ( TimeStep * tStep,
int domainNumber,
int domainSerNum,
Domain ** dNew )
overridevirtual

Runs the mesh generation, mesh will be written to corresponding domain din file.

Parameters
tStepTime step.
domainNumberNew domain number.
domainSerNumNew domain serial number.
dNewNewly allocated domain, representing new mesh or set to NULL if external generation has to be performed.

Implements oofem::MesherInterface.

Definition at line 62 of file t3dinterface.C.

References createInput(), oofem::MesherInterface::domain, oofem::MesherInterface::MI_FAILED, and oofem::MesherInterface::MI_NEEDS_EXTERNAL_ACTION.

◆ createQCInterpolationMesh()

int oofem::T3DInterface::createQCInterpolationMesh ( const char * t3dOutFile,
std::vector< FloatArray > & nodeCoords,
std::vector< IntArray > & cellNodes,
IntArray & cellTypes )

◆ createVTKExportMesh()

int oofem::T3DInterface::createVTKExportMesh ( const char * t3dOutFile,
std::vector< FloatArray > & nodeCoords,
std::vector< IntArray > & cellNodes,
IntArray & cellTypes )

◆ t3d_2_OOFEM()

int oofem::T3DInterface::t3d_2_OOFEM ( const char * t3dOutFile,
Domain ** dNew )

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

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