#include "petscfe.h" PetscErrorCode PetscDualSpaceGetHeightSubspace(PetscDualSpace sp, PetscInt height, PetscDualSpace *subsp)If the dual space is not defined on mesh points of the given height (e.g. if the space is discontinuous and pointwise values are not defined on the element boundaries), or if the implementation of PetscDualSpace does not support extracting subspaces, then NULL is returned.
This does not increment the reference count on the returned dual space, and the user should not destroy it.
Not collective
sp | - the PetscDualSpace object | |
height | - the height of the mesh point for which the subspace is desired |
Level:advanced
Location:src/dm/dt/interface/dtfe.c
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages