petsc-3.13.0 2020-03-29
PetscSectionVecNorm
Computes the vector norm, separated into field components.
Synopsis
#include "petscsection.h"
#include "petscvec.h"
PetscErrorCode PetscSectionVecNorm(PetscSection s, PetscSection gs, Vec x, NormType type, PetscReal val[])
Input Parameters
Output Parameter
val -the array of norms
See Also
VecNorm(), PetscSectionCreate()
Level
intermediate
Location
src/vec/vec/utils/vsection.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages