#include "petscdmplex.h" PetscErrorCode DMPlexMetricIntersection(DM dm, PetscInt numMetrics, Vec metrics[], Vec *metricInt)
dm | - The DM | |
numMetrics | - The number of metrics to be intersected | |
metrics | - The metrics to be intersected |
metricInt | - The intersected metric |
The intersection of a list of metrics has the maximal ellipsoid which fits within the ellipsoids of the component metrics.
The implementation used here is only consistent with the maximal ellipsoid definition in the case numMetrics = 2.