petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscSectionVecNorm

Computes the vector norm, separated into field components.

Synopsis

#include "petscvec.h"   
#include "petscvec.h"   
PetscErrorCode PetscSectionVecNorm(PetscSection s, PetscSection gs, Vec x, NormType type, PetscReal val[])

Input Parameters

s - the local Section Many br
gs - the global section Many br
x - the vector Many br
type - one of NORM_1, NORM_2, NORM_INFINITY. Many br

Output Parameter

val -the array of norms Many br

Many br

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