:orphan: # DMPlexGlobalToLocalBasis Transform the values in the given local vector from the global basis to the local basis ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexGlobalToLocalBasis(DM dm, Vec lv) ``` ## Input Parameters - ***dm -*** The `DM` - ***lv -*** A local vector with values in the global basis ## Output Parameter - ***lv -*** A local vector with values in the local basis ## Note This method is only intended to be called inside `DMGlobalToLocal()`. It is unlikely that a user will have a local vector full of coefficients for the global basis unless they are reimplementing GlobalToLocal. ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexLocalToGlobalBasis()`, `DMGetLocalSection()`, `DMPlexCreateBasisRotation()` ## Level developer ## Location src/dm/impls/plex/plexfem.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexfem.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)