![]() |
Xfem
The Xfem Plugin
|
The XfemGaussAccessor class is a proxy object to a value accesor implementing a more convenient interface to retrieve / store values for Gauss attributes. More...
#include <xfemGaussAccessor.h>


Public Member Functions | |
| XfemGaussAccessor (GmValueAccessor *ac, XfemGaussValueSet *gvs, int snum) | |
| Constructor. Takes ownership of the accessor. | |
| virtual int | numPoints (const GmCell *c) const |
| Returns the number of Gauss / integration points for the given cell. | |
| virtual const double * | valueAt (const GmCell *c, int ip, const GmVector *coord) const |
| virtual double | scalarValueAt (const GmCell *c, int ip, const GmVector *coord) const |
| virtual void | matrixValueAt (const GmCell *c, int ip, const GmVector *coord, GmCRMatrix &mat) const |
| virtual void | vectorValueAt (const GmCell *c, int ip, const GmVector *coord, GmCRVector &vec) const |
| virtual bool | setValue (const GmCell *c, int ip, const double *value) |
| virtual bool | setScalarValue (const GmCell *c, int ip, double value) |
| virtual bool | setScalarValueAtDim (const GmCell *c, int ip, int dim, double value) |
| virtual bool | setValueAsDef (const GmCell *c, int ip) |
| virtual bool | setFunctionValue (const GmCell *c, int ip, GmUserFunction *functionDef) |
| virtual bool | setFunctionValue (const GmCell *c, int ip, GmUserFunctionEvaluator *functionEval) |
| virtual QString | valueStr (const GmCell *c, int ip, bool evalFunctions, bool printDefAsNil, int fieldWidth=0, char format='g', int precision=-1, const GmVector *coord=NULL) const |
| Missing a better solution, this is a striped down copy of the GmValueAccessor::valueStr() implementation that takes into consideration that the value can't be a string. | |
| virtual bool | setFunctionFromName (const GmCell *c, int ip, QString userFunctionId, QString &err) |
| virtual bool | setValueFromVariant (const GmCell *c, int ip, const QVariant &v, bool acceptMissingDimension, QString &err) |
| Missing a better solution, this is a striped down copy of the GmValueAccessor::setValueFromVariant() implementation that takes into consideration that the value can't be a string. | |
| virtual bool | isDefValue (const GmCell *c, int ip) const |
| virtual bool | isFunction (const GmCell *c, int ip) const |
| virtual QString | functionId (const GmCell *c, int ip) const |
Public Member Functions inherited from QObject | |
| virtual const QMetaObject * | metaObject () const const |
| virtual void * | qt_metacast (const char *) |
| virtual int | qt_metacall (QMetaObject::Call, int, void **) |
| QObject (QObject *parent) | |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| QString | objectName () const const |
| void | setObjectName (const QString &name) |
| bool | isWidgetType () const const |
| bool | isWindowType () const const |
| bool | signalsBlocked () const const |
| bool | blockSignals (bool block) |
| QThread * | thread () const const |
| void | moveToThread (QThread *targetThread) |
| int | startTimer (int interval, Qt::TimerType timerType) |
| int | startTimer (std::chrono::milliseconds time, Qt::TimerType timerType) |
| void | killTimer (int id) |
| T | findChild (const QString &name, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
| const QObjectList & | children () const const |
| void | setParent (QObject *parent) |
| void | installEventFilter (QObject *filterObj) |
| void | removeEventFilter (QObject *obj) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
| bool | disconnect (const QObject *receiver, const char *method) const const |
| void | dumpObjectTree () |
| void | dumpObjectInfo () |
| void | dumpObjectTree () const const |
| void | dumpObjectInfo () const const |
| bool | setProperty (const char *name, const QVariant &value) |
| QVariant | property (const char *name) const const |
| QList< QByteArray > | dynamicPropertyNames () const const |
| void | destroyed (QObject *obj) |
| void | objectNameChanged (const QString &objectName) |
| QObject * | parent () const const |
| bool | inherits (const char *className) const const |
| void | deleteLater () |
Public Member Functions inherited from GmGaussAccessor | |
| GmGaussAccessor (GmValueAccessor *ac, const GmGaussValueSet *gvs) | |
Public Member Functions inherited from GmCellAccessorProxy | |
| GmCellAccessorProxy (GmValueAccessor *ac) | |
Public Member Functions inherited from GmAccessorProxy | |
| GmAccessorProxy (GmValueAccessor *ac) | |
Private Slots | |
| void | setDataChanged (const GmValueSet *mvs) |
| Slot called when a state has been added to the value set, changing the index for locked accessors. | |
Private Member Functions | |
| const XfemElement * | saveElemInContext (const GmCell *c, int ip) const |
| Auxiliary function to check that c is a xfem element and to save the element in the context. | |
Private Attributes | |
| int | _snum |
| The state number that this accessor is tied to. | |
| int | _si |
| State index for defining which (history) state from the value set should be accessed. | |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| bool | disconnect (const QMetaObject::Connection &connection) |
| bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
Protected Member Functions inherited from QObject | |
| QObject * | sender () const const |
| int | senderSignalIndex () const const |
| int | receivers (const char *signal) const const |
| bool | isSignalConnected (const QMetaMethod &signal) const const |
| virtual void | timerEvent (QTimerEvent *event) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | customEvent (QEvent *event) |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
Protected Member Functions inherited from GmCellAccessorProxy | |
| void | saveCellInContext (const GmCell *c, int ip) const |
Protected Member Functions inherited from GmAccessorProxy | |
| double | convertToAccessorUnit (double val) const |
| const double * | convertToAccessorUnit (const double *p) const |
| void | convertFromAccessorUnit (double val, double *dst) const |
| void | convertFromAccessorUnit (const double *val, double *dst) const |
Protected Attributes inherited from GmGaussAccessor | |
| const GmGaussValueSet * | _gvs |
Properties inherited from QObject | |
| objectName | |
The XfemGaussAccessor class is a proxy object to a value accesor implementing a more convenient interface to retrieve / store values for Gauss attributes.
This class behaves like GmGaussAccessor for non enriched elements. For enriched ones, it fetches the data from the set of enriched information stored by the Xfem value set.
1.8.15