#include "petscvec.h" #include "petscvec.h" PetscErrorCode PetscSectionVecNorm(PetscSection s, PetscSection gs, Vec x, NormType type, PetscReal val[])
s | - the local Section | |
gs | - the global section | |
x | - the vector | |
type | - one of NORM_1, NORM_2, NORM_INFINITY. |