24 #ifndef _GEMA_PLUGIN_GEMA_MESH_DATA_H_ 25 #define _GEMA_PLUGIN_GEMA_MESH_DATA_H_ 30 template <
template <
class>
class Vector>
39 virtual int addNewNodes (
GmMesh* mesh,
int numAddedNodes);
49 virtual int numNodes()
const {
return _numNodes; }
52 virtual size_t nodeMemory()
const {
return _coordinates.usedMemory() + _ghostCoordinates.usedMemory(); }
67 void releaseMeshNodes();
int _numNodes
Number of nodes in the mesh.
Definition: gmpGemaMeshData.h:63
virtual ~GmpGemaMeshData()
Virtual destructor.
Definition: gmpGemaMeshData.h:36
virtual bool dumpControlMapDataLoaded(GmMesh *mesh, QVariantMap *map, const GmLogCategory &logger)
Loads the map data into the object + adjusts vector sizes if necessary.
Definition: gmpMeshData.cpp:324
virtual bool addStateGeometryData(GmStateDump *state, int groupId)
Adds to the state dump an item storing node set nodes followed by an item storing node coordinates.
Definition: gmpMeshData.cpp:263
Vector< double > _coordinates
Coordinate vector. Size = _coordInfo->size() * _numNodes. Values stored by node.
Definition: gmpGemaMeshData.h:64
virtual void releaseMemory()
Releases all the memory DIRECTLY owned by the object.
Definition: gmpGemaMeshData.h:43
Auxiliar structure used to share data between GmpXxxMeshBase and GmpMeshLoader.
Definition: gmpMeshData.h:43
virtual size_t nodeMemory() const
Returns the approximate memory used for storing mesh nodes.
Definition: gmpGemaMeshData.h:52
Declaration of the GmpMeshData structure.
virtual void releaseMemory()
Releases all the memory DIRECTLY owned by the object.
Definition: gmpMeshData.cpp:224
Auxiliar structure used to share data between GmpGemaMesh and GmpMeshLoader.
Definition: gmpGemaMeshData.h:31
virtual void clear(GmMesh *mesh)
Removes all mesh nodes + removes all values from node based value sets, preserving object state so th...
Definition: gmpMeshData.cpp:205
virtual bool fillDumpControlMapData(GmMesh *mesh, QVariantMap *map, const GmLogCategory &logger)
Stores the mesh data control info on the stored map.
Definition: gmpMeshData.cpp:300