GVecCreateComponentGVecs

Creates vectors to hold the components from a larger multicomponent vector.

Synopsis

int GVecCreateComponentGVecs(GVec v,GVecComponents com,int *ncomp,GVec **vcomp)
Collective on GVec

Input Parameter

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

Output Parameters

ncomp - number of component vectors
vcomp - array of component vectors

See Also

GVecGetComponentGVecs(), GVecAssembleComponents()

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