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

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

#include <xfemMeshLoader.h>

Inheritance diagram for XfemMeshLoader:
Collaboration diagram for XfemMeshLoader:

Public Member Functions

 XfemMeshLoader (GmSimulationData *simulation, const GmLogCategory &logger)
 Constructor.
 
virtual ~XfemMeshLoader ()
 Destructor.
 
virtual bool loadMeshData (LuaTable &table, GmMesh *mesh, GmpNodeMeshData< XfemVector > *nd, GmpCellMeshData< XfemVector > *cd, GmPCR **meshPcr, bool *newPcr)
 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)
 
virtual bool loadMeshData (LuaTable &table, GmMesh *mesh, GmpNodeMeshData< Vector > *nd, GmpCellMeshData< Vector > *cd, GmPCR **meshPcr, bool *newPcr)
 

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 Types inherited from GmpMeshLoader< XfemVector >
enum  LoadMode
 
- Protected Member Functions inherited from GmpMeshLoader< XfemVector >
bool loadMeshDataAux (LuaTable &table, GmMesh *mesh, LoadMode loadFrom, QString srcFile, GmPCR **meshPcr, bool *newPcr)
 
bool loadMetaData (LuaTable &table, GmMesh *mesh)
 
bool loadCoordMetaData (LuaTable &table, GmMesh *mesh)
 
bool loadNodeValueInfoMetaData (LuaTable &table, GmMesh *mesh)
 
bool loadCellValueInfoMetaData (LuaTable &table, GmCellMesh *mesh)
 
bool loadGaussValueInfoMetaData (LuaTable &table, GmElementMesh *mesh)
 
bool loadPropertySetMetaData (LuaTable &table, GmCellMesh *mesh)
 
bool loadIntegrationRulesIntoMesh (LuaTable &table, GmElementMesh *mesh)
 
bool loadTopologyConfigOptions (LuaTable &table, GmCellMesh *mesh)
 
bool initPcrObject (LuaTable &table, GmMesh *mesh, bool partition)
 
bool traverseAttributeDefinitions (LuaTable &table, const char *tableName, GmValueSetKind setKind, std::function< bool(GmValueInfo *)> adder)
 
bool traverseStateVarDefinitions (LuaTable &table, GmValueSetKind setKind, std::function< bool(GmValueInfo *)> adder)
 
bool addNodeValueSetsToMesh (GmMesh *mesh)
 
bool addCellValueSetsToMesh (GmCellMesh *mesh)
 
bool addGaussValueSetsToMesh (GmElementMesh *mesh)
 
void loadNumNodesFromLua (LuaTable &table, int *nnodes, int *nghost)
 
bool loadNodeCoordinatesFromLua (LuaTable &table, GmMesh *mesh, int nnodes, int nghost)
 
bool loadNodeDataFromLua (LuaTable &table, GmMesh *mesh)
 
bool loadNodeSetsFromLua (LuaTable &table, GmMesh *mesh)
 
bool loadCellNodeIncidencesFromLua (LuaTable &table, GmCellMesh *mesh, int *numCellsByType)
 
bool loadCellDataFromLua (LuaTable &table, GmCellMesh *mesh)
 
bool loadCellGroupsFromLua (LuaTable &table, GmCellMesh *mesh, const QStringList &filter, bool skipFilter)
 
bool loadBoundaryDataFromLua (LuaTable &table, GmCellMesh *mesh, const char *tableName, GmCellBoundaryType cellType)
 
bool loadNumCellsByType (LuaTable &table, GmCellMesh *mesh, int *numCellsByType)
 
void adjustSingleCellType (LuaTable &table, GmCellMesh *mesh, int *numCellsByType)
 
void getCellAndNodeCountFromPCR (int *nnodes, int *nghost, int *cellsByType)
 
bool loadBoundaryDataFromCellList (LuaEnv *env, QVariant &cellListData, GmCellMesh *mesh, GmCellBoundaryType cellType, QString id)
 
bool loadBoundaryDataFromBorderFilter (LuaFunction &filter, int borderId, GmCellMesh *mesh, GmCellBoundaryType cellType, QString id)
 
bool loadCellGroupsFromCellDefinition (LuaTable &table, GmCellMesh *mesh, const QStringList &filter, bool skipFilter)
 
bool loadAdditionalCellGroupDataFromCellList (LuaEnv *env, QVariant &cellListData, GmCellMesh *mesh, QString id)
 
bool loadAdditionalCellGroupDataFromFilter (LuaFunction &filter, GmCellMesh *mesh, QString id)
 
bool loadFromDump (QString dumpFile, GmMesh *mesh)
 
GmHdf5ModelReaderinitHdf5Reader (QString hdf5File, GmMesh *mesh, const GmHdf5ModelReader::MeshInfo **info)
 
bool loadNodeCoordinatesFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmMesh *mesh, int nnodes, int nghost)
 
bool loadNodeDataFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmMesh *mesh)
 
bool loadNodeSetsFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmMesh *mesh)
 
bool loadCellNodeIncidencesFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmCellMesh *mesh, int *numCellsByType)
 
bool loadCellDataFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmCellMesh *mesh)
 
bool loadGaussDataFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmElementMesh *mesh, const QVector< int > &cellTypeList)
 
bool loadInactiveCellsFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmCellMesh *mesh)
 
bool loadCellGroupsFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmCellMesh *mesh, const QStringList &filter, bool skipFilter)
 
bool loadBoundaryDataFromHdf5 (GmHdf5ModelReader *reader, const GmHdf5ModelReader::MeshInfo *info, GmCellMesh *mesh)
 
bool reorderNodes (GmMesh *mesh)
 
bool reorderCells (GmMesh *mesh)
 
int parseIntegrationRuleInfo (QVariant v, int *irType, int *r1, int *r2, int *r3)
 
int parseSide (LuaTable &tab, GmCellBoundaryType cellType, int *cellIndex, int *sideIndex, QString id, GmCellMesh *mesh, int entryIndex)
 
DataIt tableSize (LuaEnv *env, const QVariant &v, const char *field)
 
LuaTable ttable (LuaEnv *env, DataIt &it)
 
int itable (LuaEnv *env, DataIt &it)
 
void tableInc (LuaEnv *env, DataIt &it)
 
void cleanup (GmMesh *mesh)
 
- Protected Attributes inherited from GmpMeshLoader< XfemVector >
 LOAD_FROM_LUA
 
 LOAD_FROM_DUMP
 
 LOAD_FROM_HDF5
 
GmSimulationData_simulation
 
const GmLogCategory_logger
 
GmpNodeMeshData< Vector > * _nd
 
GmpCellMeshData< Vector > * _cd
 
GmPCR_pcr
 
bool _newPcr
 
bool _buildTopo
 
QVector< GmValueInfo * > _nodeList
 
QVector< GmValueInfo * > _ghostList
 
QVector< GmValueInfo * > _cellList
 
QVector< GmValueInfo * > _gaussList
 

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: