![]() |
Xfem
The Xfem Plugin
|
Operating in colaboration with the XfemGaussAccessor class this value set extends the normal Gauss value set to allow storing values for Gauss points in refined elements. More...
#include <xfemGaussValueSet.h>


Classes | |
| struct | XfemGaussValueData |
| Auxiliar class used to store enriched data for a single element. More... | |
Public Member Functions | |
| XfemGaussValueSet (GmValueInfo *info, GmSimulationData *simData, GmElementMesh *mesh) | |
| Constructor. See base class GmMGaussValueSet. | |
| virtual | ~XfemGaussValueSet () |
| Destructor. | |
| virtual void | clear () |
| double * | dataPointer (const XfemElement *e, int ip, int stateIndex) |
| Returns a pointer to the area used to store data for the given ENRICHED element integration point, for the given state index. | |
| int | numEnrichedPoints (int cellId) const |
| Returns the number of enriched integration points for the given cell. More... | |
| void | clearEnrichedIntegrationPoints () |
| Removes the complete set of enriched integration points (for all elements) | |
| void | clearEnrichedIntegrationPoints (int cellId) |
| Removes the set of enriched integration points from the given element. | |
| void | insertEnrichedIntegrationPoints (int cellId, int firstPoint, int numPoints) |
| Insertss the given number of points into the specified position (firstPOint) of the set of enriched integration points for the given element. All values are initialized with the default value associated with this value set. | |
| void | removeEnrichedIntegrationPoints (int cellId, int firstPoint, int numPoints) |
| Removes the the given number of integration points, starting at firstPoint, from the given element. Parameter cellId must point to an enriched element and firstPoint / numPoints must reference a set of valid integartion points. | |
| int | stateIndex (int snum) const |
| Translates a state number into the index needed by dataPointer() | |
| virtual bool | saveState (SaveStateMode mode, const GmLogCategory &logger) |
Public Member Functions inherited from GmGaussValueSet | |
| GmGaussValueSet (GmValueInfo *info, GmSimulationData *simData, GmElementMesh *mesh) | |
| bool | init (bool releaseInfoOnError=false) |
| int | pointIndex (int cellId, int ip) const |
| int | numPoints (int cellId) const |
| const GmMeshGaussIndex * | gaussIndex () const |
Public Member Functions inherited from GmValueSet | |
| GmValueSet (GmValueInfo *info, GmSimulationData *simData, GmMesh *mesh) | |
| bool | init (int numValues, bool releaseInfoOnError=false) |
| GmValueInfo * | info () const |
| int | numValues () const |
| bool | addValues (int numAddedValues) |
| void | restoreSize (int oldNumValues) |
| virtual void | removeValues (int index, int numValues) |
| GmValueAccessor * | accessor (const Unit &desiredUnit, const GmLogCategory &logger, const GmMesh *mesh=NULL) |
| GmValueAccessor * | accessor (int snum, bool locked, const Unit &desiredUnit, const GmLogCategory &logger, const GmMesh *mesh=NULL) |
| int | numSets () const |
| GmValueSetData * | valueSetData (int sindex, bool locked) const |
| void | replaceValueSetData (GmValueSetData *oldData, GmValueSetData *newData) |
| GmValueSetEvalContext * | evalContext () const |
| QString | stateTag (int snum) const |
| double | stateTime (int snum) const |
| void | setStateTag (int snum, QString tag) |
| void | setStateTime (int snum, double time) |
| virtual size_t | printMemoryStatistics (const GmLogCategory &logger, GmLogLevel level) const |
| virtual size_t | usedMemory () const |
Private Attributes | |
| QMap< int, XfemGaussValueData * > | _enrichedDataMap |
| Map storing per enriched element data. | |
Friends | |
| class | XfemGaussAccessor |
Additional Inherited Members | |
Public Types inherited from GmValueSet | |
| enum | SaveStateMode |
Signals inherited from GmValueSet | |
| void | setDataChanged (const GmValueSet *vs) |
Public Attributes inherited from GmValueSet | |
| VS_NOINIT_VALUES | |
| VS_INIT_VALUES | |
| VS_COPY_VALUES | |
Protected Member Functions inherited from GmValueSet | |
| GmValueSetData * | vd (int snum) const |
| int | t (int index) const |
| GmValueSetData * | createDataObject () |
Protected Attributes inherited from GmGaussValueSet | |
| const GmElementMesh * | _mesh |
| const GmMeshGaussIndex * | _index |
Protected Attributes inherited from GmValueSet | |
| GmValueInfo * | _info |
| GmValueSetEvalContext * | _evalContext |
| QList< GmValueSetData * > | _vsDataList |
| QStringList | _tagList |
| QList< double > | _timeList |
| int | _currentSet |
Operating in colaboration with the XfemGaussAccessor class this value set extends the normal Gauss value set to allow storing values for Gauss points in refined elements.
| int XfemGaussValueSet::numEnrichedPoints | ( | int | cellId | ) | const |
Returns the number of enriched integration points for the given cell.
Unlike numPoints() that return ALWAYS the number of standard integration points for enriched and non enriched elements alike, this function will return 0 for non enriched elements and the enriched number of integration points for enriched ones.
1.8.15