PETSc version 3.17.5
Fix/Edit manual page

DMPlexMetricAverage3

Compute the unweighted average of three metrics

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexMetricAverage3(DM dm, Vec metric1, Vec metric2, Vec metric3, Vec *metricAvg)

Input Parameters

dm - The DM
metric1 - The first metric to be averaged
metric2 - The second metric to be averaged
metric3 - The third metric to be averaged

Output Parameter

metricAvg - The averaged metric

See Also

DMPlexMetricAverage(), DMPlexMetricAverage2()

Level

beginner

Location

src/dm/impls/plex/plexmetric.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages