The integration order affects the accuracy of computations involving integration and quadrature formulas, but it also important to consider its interplay with interpolation between meshes and different types of datasets for results evaluation.
Regardless of if you use a Join dataset approach or the withsol operator to combine two solutions, the same type of integration is used. So, when performing this operation with a Join dataset or the
withsol operator, first an interpolation or extrapolation from one mesh to the other is performed, and then an integration is performed using the quadrature integration method in
Derived Values >
Volume Integration. When using the
withsol operator you can use additional input arguments to control exactly for which parameters the operation is taking place.
Datasets that use the trapezoidal method use the integration order to define the mesh refinement to use when evaluating. The expression is evaluated, and then the trapezoidal method is used. The refinement has the same interpretation as in plots: A refinement of 1 means that the evaluation will use the finite-element mesh. For a refinement of N, each edge of the finite-element mesh is split into
N subedges. This will lead to
N−1 internal points being added along each edge, and there will also be internal points added to triangles, tetrahedra, and so on. The number of refinement elements will be a factor of
Nedim elements larger than the number of original elements; here
edim is the element dimension used when evaluating (edge = 1, surface = 2, and volume = 3). This is a valid integration method, but it is not as accurate as Gauss quadrature.