GVecGetComponentGVecs

Extracts the component vectors from a larger multicomponent vector.

Synopsis

int GVecGetComponentGVecs(GVec v,GVecComponents com,GVec *vcomp)
Not Collective (but GVec * is parallel if GVec is parallel)

Input Parameter

v - the grid vector
comp - COMPONENT_1, COMPONENT_2, etc or COMPONENT_ALL

Output Parameters

vcomp -array of component vectors

See Also

GVecCreateComponentGVecs(), GVecAssembleComponents()

Location: src/gvec/interface/gvec.c
Discrete Function Index
Table of Contents