Xfem
The Xfem Plugin
Public Member Functions | Private Member Functions | List of all members
XfemMeshLoader Class Reference

Class responsible for loading mesh data for an XFem mesh. More...

#include <xfemMeshLoader.h>

Inheritance diagram for XfemMeshLoader:
Inheritance graph
[legend]
Collaboration diagram for XfemMeshLoader:
Collaboration graph
[legend]

Public Member Functions

 XfemMeshLoader (GmSimulationData *simulation, const GmLogCategory &logger)
 Constructor.
 
virtual ~XfemMeshLoader ()
 Destructor.
 
virtual bool loadMeshData (LuaTable &table, GmMesh *mesh, GmpMeshData< XfemVector > *nd, GmpCellMeshData< XfemVector > *cd, GmpMeshLoaderCellAllocator cellAllocator)
 Overrides the standard GmpMeshLoader::loadMeshData() implementation to also load XFem subelement data.
 
- Public Member Functions inherited from GmpMeshLoader< XfemVector >
 GmpMeshLoader (GmSimulationData *simulation, const GmLogCategory &logger)
 

Private Member Functions

bool loadSubElements (LuaTable &table, XfemMesh *mesh)
 Loads subelement data, returning false on errors.
 
bool loadFractures (LuaTable &table, XfemMesh *mesh)
 Loads fracture data, returning false on errors.
 
bool loadFractureData (LuaTable &table, LuaTable &table2, XfemMesh *mesh)
 Loads fracture data, returning false on errors.
 

Additional Inherited Members

- Protected Member Functions inherited from GmpMeshLoader< XfemVector >
bool loadMeshDataAux (LuaTable &table, GmMesh *mesh, GmpMeshLoaderCellAllocator cellAllocator)
 
bool loadCoordData (LuaTable &table)
 
bool loadStateVarDefData (LuaTable &table, GmMesh *mesh)
 
bool loadAttributeDefData (LuaTable &table, const char *tabName, GmValueSetKind setKind, GmMesh *mesh)
 
bool loadNodeData (LuaEnv *env, const QVariant &table, GmMesh *mesh)
 
bool loadGhostData (LuaEnv *env, const QVariant &table, GmMesh *mesh)
 
bool loadNodeSets (LuaTable &table, GmMesh *mesh)
 
bool loadPropertySetData (LuaTable &table, GmMesh *mesh)
 
bool loadGaussAttributesData (LuaTable &table, GmElementMesh *mesh)
 
bool loadNumCellsByType (LuaTable &table, GmMesh *mesh)
 
bool loadBoundaryData (LuaTable &table, GmCellMesh *mesh, const char *tableName, GmCellBoundaryType cellType)
 
bool loadIntegrationRuleData (LuaTable &table, GmElementMesh *mesh)
 
bool loadFromDump (QString dumpFile, GmMesh *mesh)
 
int parseIntegrationRuleInfo (QVariant v, int *irType, int *r1, int *r2, int *r3)
 
DataIt tableSize (LuaEnv *env, const QVariant &v, const char *field)
 
LuaTable ttable (LuaEnv *env, DataIt &it)
 
int itable (LuaEnv *env, DataIt &it)
 
void cleanup (GmMesh *mesh)
 
- Protected Attributes inherited from GmpMeshLoader< XfemVector >
GmSimulationData_simulation
 
const GmLogCategory_logger
 
QList< GmValueInfo * > _infoList
 
QList< GmValueInfo * > _ghostList
 
QList< GmValueInfo * > _gaussList
 
GmpMeshData< XfemVector > * _nd
 
GmpCellMeshData< XfemVector > * _cd
 

Detailed Description

Class responsible for loading mesh data for an XFem mesh.

Uses the basic mesh loading capabilities given by GmpMeshLoader, extending it to also load sub-element data.


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