:orphan: # PetscDualSpaceLagrangeSetTensor Set the tensor nature of the dual space ## Synopsis ``` #include "petscfe.h" PetscErrorCode PetscDualSpaceLagrangeSetTensor(PetscDualSpace sp, PetscBool tensor) ``` Not Collective ## Input Parameters - ***sp -*** The `PetscDualSpace` - ***tensor -*** Whether the dual space has tensor layout (vs. simplicial) ## See Also `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeGetTensor()`, `PetscDualSpaceCreate()` ## Level intermediate ## Location src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c ## Implementations PetscDualSpaceLagrangeSetTensor_Lagrange in src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c) [Index of all DUALSPACE routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)