:orphan: # DMMoabSetGlobalFieldVector Sets the vector reference that represents the global solution associated with all fields (components) managed by DM. A useful utility when updating the DM solution after a solve, to be serialized with the mesh for checkpointing purposes. ## Synopsis ``` #include "petscdmmoab.h" PetscErrorCode DMMoabSetGlobalFieldVector(DM dm, Vec fvec) ``` Not Collective ## Input Parameters - ***dm -*** the discretization manager object - ***fvec -*** the global Vector solution corresponding to all the fields managed by DM ## See Also `DMMoabGetFieldName()`, `DMMoabSetFieldVector()` ## Level intermediate ## Location src/dm/impls/moab/dmmbfield.cxx ## Examples src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx
src/ts/tutorials/ex35.cxx
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmbfield.cxx) [Index of all DMMOAB routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)