![]() |
GemaCoreLib
The GeMA Core library
|
A helper class to help combining values evaluated at every integration point into a single value, according to the given aggregation rule. The aggregated value is built on the provided buffer. For non scalar data, aggregation is performed by component, as if done over multiple scalar values. More...
Public Member Functions | |
| GmResultsRuleAggregator (GmResultsEvalSet::GmEvalSetAggregationRule rule, double *buffer, int bufferSize) | |
| void | add (const double *data) |
| Adds a value with size equal to _size to the aggregated value. | |
| double * | end () |
Private Attributes | |
| double * | _buffer |
| The result buffer. | |
| int | _size |
| The buffer size. | |
| GmResultsEvalSet::GmEvalSetAggregationRule | _op |
| int | _count |
| The applied operation. | |
| double | _sqrNorm |
| The last calculated norm for _op == MINNORM or MAXNORM. Stores the square of the norm. | |
A helper class to help combining values evaluated at every integration point into a single value, according to the given aggregation rule. The aggregated value is built on the provided buffer. For non scalar data, aggregation is performed by component, as if done over multiple scalar values.
|
private |
The applied operation.
Number of added entries