23 #ifndef _GEMA_GAUSSVALUE_SET_H_ 24 #define _GEMA_GAUSSVALUE_SET_H_ 41 bool init(
bool releaseInfoOnError =
false);
44 int pointIndex(
int cellId,
int ip)
const { assert(_index);
return _index->pointIndex(cellId, ip); }
47 int numPoints(
int cellId)
const { assert(_index);
return _index->numPoints(cellId); }
54 #if defined ENABLE_TESTS || defined ENABLE_VALUESET_TESTS 55 virtual void validateInternalStructure();
Auxiliar class used to store the definition of a value. It can be used to store informations about st...
Definition: gmValueInfo.h:126
Basic class used to store sets of values, bound to a common definition, on behalf of another object (...
Definition: gmValueSet.h:53
const GmElementMesh * _mesh
The associated mesh object.
Definition: gmGaussValueSet.h:65
Inheriting from GmValueSet, this class adds the peculiarities needed for saving values in Gauss point...
Definition: gmGaussValueSet.h:34
int pointIndex(int cellId, int ip) const
Given a cell index and an integration point index, returns the data index in the underlying value set...
Definition: gmGaussValueSet.h:44
int numPoints(int cellId) const
Returns the number of integration points for the given cell.
Definition: gmGaussValueSet.h:47
Auxiliar class used to store the complete set of simulation data.
Definition: gmSimulationData.h:51
A Gauss index interface always indexing ALL the elements of a mesh, with support for mesh growing.
Definition: gmGaussIndex.h:274
bool init(int numValues, bool releaseInfoOnError=false)
Initializes the ValueSet, beeing responsible for allocating memory and initializing data.
Definition: gmValueSet.cpp:168
Declaration of the GmGaussIndex family of classes.
Declaration of the GmElementMesh interface class.
#define GMC_API_EXPORT
Macro for controling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_LI...
Definition: gmCoreConfig.h:35
Base interface for FEM (finite element) meshes.
Definition: gmElementMesh.h:40
const GmMeshGaussIndex * _index
The index object, owned by the mesh, used to translate (elemId, ip) pairs into a linear index.
Definition: gmGaussValueSet.h:66
Declaration of the GmValueSet class.
const GmMeshGaussIndex * gaussIndex() const
Returns the, mesh owned, asssociated Gauss index (equivalent ot querying the mesh for the Gauss index...
Definition: gmGaussValueSet.h:52