Lines Matching refs:metrics

1380 PetscErrorCode DMPlexMetricAverage(DM dm, PetscInt numMetrics, PetscReal weights[], Vec metrics[], …  in DMPlexMetricAverage()  argument
1392 PetscCall(VecGetSize(metrics[i], &n)); in DMPlexMetricAverage()
1408 for (i = 0; i < numMetrics; ++i) PetscCall(VecAXPY(metricAvg, weights[i], metrics[i])); in DMPlexMetricAverage()
1433 Vec metrics[2] = {metric1, metric2}; in DMPlexMetricAverage2() local
1436 PetscCall(DMPlexMetricAverage(dm, 2, weights, metrics, metricAvg)); in DMPlexMetricAverage2()
1459 Vec metrics[3] = {metric1, metric2, metric3}; in DMPlexMetricAverage3() local
1462 PetscCall(DMPlexMetricAverage(dm, 3, weights, metrics, metricAvg)); in DMPlexMetricAverage3()
1603 PetscErrorCode DMPlexMetricIntersection(DM dm, PetscInt numMetrics, Vec metrics[], Vec metricInt) in DMPlexMetricIntersection() argument
1614 PetscCall(VecCopy(metrics[0], metricInt)); in DMPlexMetricIntersection()
1618 PetscCall(VecGetSize(metrics[i], &n)); in DMPlexMetricIntersection()
1629 PetscCall(VecGetArray(metrics[i], &meti)); in DMPlexMetricIntersection()
1631 PetscCall(VecRestoreArray(metrics[i], &meti)); in DMPlexMetricIntersection()
1645 PetscCall(VecGetArray(metrics[i], &meti)); in DMPlexMetricIntersection()
1651 PetscCall(VecRestoreArray(metrics[i], &meti)); in DMPlexMetricIntersection()
1677 Vec metrics[2] = {metric1, metric2}; in DMPlexMetricIntersection2() local
1680 PetscCall(DMPlexMetricIntersection(dm, 2, metrics, metricInt)); in DMPlexMetricIntersection2()
1702 Vec metrics[3] = {metric1, metric2, metric3}; in DMPlexMetricIntersection3() local
1705 PetscCall(DMPlexMetricIntersection(dm, 3, metrics, metricInt)); in DMPlexMetricIntersection3()