24 #ifndef _GEMA_RESULTS_RULE_H_ 25 #define _GEMA_RESULTS_RULE_H_ 63 int ruleId()
const {
return _ruleId; }
74 int numDataSrcs(
int type = -1)
const;
82 int dataSrcSize (
int index)
const;
83 const double* dataSrcValue (
int index,
int line,
QString& err)
const;
85 QString explain (
int index,
int line)
const;
112 template <
class T,
class AcF>
113 static T* createDataSrc(
int trackId,
const QVariant& v,
const AcF& acGet,
bool interp,
bool* unknown,
QString& srcId,
QString& err);
122 bool checkForMultipleGaussRuleSets(
int* ruleSet)
const;
124 bool createNodeInterpolators (
bool* needNatural,
QString& err);
125 bool createGaussInterpolators(
bool* needNatural,
QString& err);
127 bool allocResultBuffers();
136 void evalMonitoredAttributeData(
const GmLogCategory& errLogger)
const;
int _ruleId
An integer in the range [0, num monitor rules in the model[ that identfies a monitor rule....
Definition: gmResultsRule.h:141
Auxiliar class used to store the definition of a value. It can be used to store informations about st...
Definition: gmValueInfo.h:126
QString _description
A description of the result rule.
Definition: gmResultsRule.h:143
GmResultsEvalSet * _cellEvalSet
The evaluation set for cell data sources.
Definition: gmResultsRule.h:158
A GmResultDataSrc class holding a cell value accessor.
Definition: gmResultDataSrc.h:323
A GmResultDataSrc class holding a node value accessor.
Definition: gmResultDataSrc.h:303
A basic interface with the metadata common to all result data src types. This is the information that...
Definition: gmResultDataSrcInfo.h:50
GmAffectedNodes
Affected node types for node based values (GM_NODE_COORDINATES, GM_NODE_ATTRIBUTE or GM_NODE_STATEVAR...
Definition: gmValueInfo.h:91
Declaration of usefull configuration definitions for the Core library.
Declaration of the GmValueInfo class.
GmResultsEvalSet * _gaussEvalSet
The evaluation set for gauss data sources.
Definition: gmResultsRule.h:159
int _transformBufferSize
The size of _transformBuffer.
Definition: gmResultsRule.h:163
A GmResultDataSrc class holding a Gauss value accessor.
Definition: gmResultDataSrc.h:343
QString description() const
Returns the results rule description.
Definition: gmResultsRule.h:69
GmResultDataSrcType
The types of data srcs stored by a rule.
Definition: gmResultDataSrcInfo.h:34
GmResultsEvalSet * _nodeEvalSet
The evaluation set for node data sources.
Definition: gmResultsRule.h:157
Interface class for accessing and setting values from an "indexable" collection of values.
Definition: gmValueAccessor.h:59
Auxiliar class used to store the complete set of simulation data.
Definition: gmSimulationData.h:51
A calss storing basic information about a result data to be exported (monitored / saved),...
Definition: gmResultDataSrc.h:104
QString id() const
Returns the results rule name.
Definition: gmResultsRule.h:66
double * _transformBuffer
The buffer used to store the result from a "non ac" data src or user transformation function....
Definition: gmResultsRule.h:162
A result rule storing what should be exported, when it should be exported and to where it should be e...
Definition: gmResultsRule.h:54
A class storing the evaluation points for a set of rules.
Definition: gmResultsEvalSet.h:46
int ruleId() const
Returns the ruleId. This value is a unique index between 0 and the number of monitor rules in the mod...
Definition: gmResultsRule.h:63
Base interface class for CellMesh type plugins.
Definition: gmCellMesh.h:39
GmMesh * mesh() const
Returns the mesh that contains the associated data. Can be NULL.
Definition: gmResultsRule.h:72
The number of data src types above.
Definition: gmResultDataSrcInfo.h:43
double * _resultBuffer
The buffer used by xxxDataSrcValue() functions for returning interpolated data. Its size is the bigge...
Definition: gmResultsRule.h:161
Auxiliar class used to store the complete set of results data for a simulation.
Definition: gmResultsData.h:51
GmMesh * _mesh
The mesh that this result rule is tied to (can be NULL for attribute rules)
Definition: gmResultsRule.h:145
void print(const GmMatrix &m, const GmLogCategory &logger, GmLogLevel level, int fieldWidth, char format, int precision)
Prints the matrix using the specified logger, level and precision fields.
Definition: gmMatrixUtils.cpp:34
A class implementing the GmResultDataSrcInfo interface, storing the metadata and id for a result data...
Definition: gmResultDataSrc.h:43
#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
Declaration of the GmResultDataSrcInfo interface and GmAttributeResultDataSrcInfo class.
QString _id
The result rule id (name)
Definition: gmResultsRule.h:142
GmLogLevel
Available log levels list.
Definition: gmLog.h:36
Class representing a category with multiple logging levels.
Definition: gmLog.h:58
Base interface for FEM (finite element) meshes.
Definition: gmElementMesh.h:40
Base interface class for Mesh type plugins.
Definition: gmMesh.h:44
GmResultsData * _resultData
The result data object used to provide values for result attributes.
Definition: gmResultsRule.h:144
GmValueAccessor * _coordAc
The accessor used for accessing node coordinates.
Definition: gmResultsRule.h:146