Xfem
The Xfem Plugin
Loading...
Searching...
No Matches
XfemGemaMesh Class Reference

Implementation of the XfemMesh interface based on the standard GeMA mesh plugin. More...

#include <xfemMesh.h>

Inheritance diagram for XfemGemaMesh:
Collaboration diagram for XfemGemaMesh:

Public Member Functions

 XfemGemaMesh (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
 
virtual const char * pluginName () const
 
virtual const char * pluginType () const
 
virtual bool hasCapability (QString capabilityName) const
 
virtual void pushProxy (lua_State *L, const GmLogCategory &logger)
 
virtual void clear ()
 
- Public Member Functions inherited from GmpCellMeshBase< class Mesh, template< class > class Vector >
 GmpCellMeshBase (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
 
- Public Member Functions inherited from GmpNodeMesh< Mesh, Vector >
 GmpNodeMesh (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
 
virtual bool loadPrivateData (LuaTable &table)
 

Protected Member Functions

virtual GmpMeshLoader< XfemVector > * meshLoader ()
 Returns the custom mesh loader used to load XFem mesh data. This function should be replaced for using a custom mesh loader.
 
virtual GmpCellAllocator cellAllocator (bool ghostSupport, bool hSupport) const
 Returns the function responsible for allocating and initializing a new XFEM element.
 
virtual int cellSize (bool ghostSupport, bool hSupport) const
 Returns the size of a cell object.
 
- Protected Member Functions inherited from GmpCellMeshBase< class Mesh, template< class > class Vector >
virtual GmpCellMeshData< Vector > * initCellData (LuaTable &table, bool *ghostSupport, bool *ok)
 
- Protected Member Functions inherited from GmpNodeMesh< Mesh, Vector >

Additional Inherited Members

- Protected Attributes inherited from GmpCellMeshBase< class Mesh, template< class > class Vector >
GmpCellMeshData< Vector > _cd
 
int _oldNumCells
 
- Protected Attributes inherited from GmpNodeMesh< Mesh, Vector >
GmpNodeMeshData< Vector > _nd
 
GmPCR_pcr
 
bool _ownPcr
 

Detailed Description

Implementation of the XfemMesh interface based on the standard GeMA mesh plugin.

Member Function Documentation

◆ cellAllocator()

virtual GmpCellAllocator XfemGemaMesh::cellAllocator ( bool ghostSupport,
bool hSupport ) const
inlineprotectedvirtual

Returns the function responsible for allocating and initializing a new XFEM element.

Obs: Ghost node support is ALWAYS enabled, regardless of the supplied parameter since the XFem method can not work without it

Implements GmpCellMeshBase< class Mesh, template< class > class Vector >.

◆ cellSize()

virtual int XfemGemaMesh::cellSize ( bool ghostSupport,
bool hSupport ) const
inlineprotectedvirtual

Returns the size of a cell object.

Implements GmpCellMeshBase< class Mesh, template< class > class Vector >.

◆ meshLoader()

virtual GmpMeshLoader< XfemVector > * XfemGemaMesh::meshLoader ( )
inlineprotectedvirtual

Returns the custom mesh loader used to load XFem mesh data. This function should be replaced for using a custom mesh loader.

Reimplemented from GmpNodeMesh< Mesh, Vector >.


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