:orphan: # DMPlexMetricIntersection2 Compute the intersection of two metrics ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexMetricIntersection2(DM dm, Vec metric1, Vec metric2, Vec metricInt) ``` ## Input Parameters - ***dm -*** The `DM` - ***metric1 -*** The first metric to be intersected - ***metric2 -*** The second metric to be intersected ## Output Parameter - ***metricInt -*** The intersected metric ## See Also `DMPLEX`, `DMPlexMetricIntersection()`, `DMPlexMetricIntersection3()` ## Level beginner ## Location src/dm/impls/plex/plexmetric.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexmetric.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)