Average, Integral, Maximum, Minimum
Create average. integral, maximum, and minimum evaluation datasets.
Syntax
model.result().dataset().create(<dtag>,"Average");
model.result().dataset().create(<dtag>,"Integral");
model.result().dataset().create(<dtag>,"Maximum");
model.result().dataset().create(<dtag>,"Minimum");
model.result().dataset(<dtag>).set(property, <value>);
model.result().dataset(<dtag>).selection(...);
Description
model.result().dataset().create(<dtag>,"Average") creates a dataset named <dtag> that computes the average of another dataset.
model.result().dataset().create(<dtag>,"Integral") creates a dataset named <dtag> that computes the integral of another dataset.
model.result().dataset().create(<dtag>,"Maximum") creates a dataset named <dtag> that computes the maximum of another dataset.
model.result().dataset().create(<dtag>,"Minimum") creates a dataset named <dtag> that computes the minimum of another dataset.
model.result().dataset(<dtag>).selection() returns the selection of the geometry for the dataset, which by default is the selected geometry in the dataset that this dataset refers to. See Selections for more information about the available selection methods.
model.result().dataset(<dtag>).set(property,<value>) sets the value of a property of the dataset.
The following common properties are available:
none | dataset name
fromdataset | volume | surface | edge | point
The element dimension; if fromdataset, then the highest dimension supported by the dataset is used.
The following additional properties are available for some of the evaluation datasets:
on | off
For Average and Integral and for Maximum and Minimum when points is set to integration: The manually set integration order.
auto | integration | summation
lagrange | node | integration
For Maximum and Minimum when points is set to lagrange: The Lagrange order (element refinement) to use. Bear in mind that this is the refinement used for the base dataset, so the number of elements in the model can increase radically if the plot uses, for example, a revolve dataset.