# PCHYPRESetEdgeConstantVectors
Set the representation of the constant vector fields in the edge element basis for `PCHYPRE` of type ams 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCHYPRESetEdgeConstantVectors(PC pc, Vec ozz, Vec zoz, Vec zzo)
```
Collective


## Input Parameters

- ***pc -*** the preconditioning context
- ***ozz -*** vector representing (1,0,0) (or (1,0) in 2D)


- ***zoz -*** vector representing (0,1,0) (or (0,1) in 2D)


- ***zzo -*** vector representing (0,0,1) (use NULL in 2D)





## Developer Note
If this is only for  `PCHYPRE` type of ams it should be called `PCHYPREAMSSetEdgeConstantVectors()`


## See Also
 `PCHYPRE`, `PCHYPRESetDiscreteGradient()`, `PCHYPRESetDiscreteCurl()`, `PCHYPRESetAlphaPoissonMatrix()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/hypre/hypre.c.html#PCHYPRESetEdgeConstantVectors">src/ksp/pc/impls/hypre/hypre.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/hypre/hypre.c.html#PCHYPRESetEdgeConstantVectors_HYPRE">PCHYPRESetEdgeConstantVectors_HYPRE in src/ksp/pc/impls/hypre/hypre.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/hypre/hypre.c)


[Index of all PC routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
