Actual source code: petscdmplexceed.h
1: #pragma once
3: #if !defined(PETSC_HAVE_LIBCEED)
4: #error "PETSc not configured for libCEED; reconfigrue --with-libceed or --download-libceed"
5: #endif
7: #include <petscdmplex.h>
8: #include <ceed.h>
10: PETSC_EXTERN PetscErrorCode DMPlexGetCeedRestriction(DM, DMLabel, PetscInt, PetscInt, PetscInt, CeedElemRestriction *);
11: PETSC_EXTERN PetscErrorCode DMPlexCreateCeedRestrictionFVM(DM, CeedElemRestriction *, CeedElemRestriction *);
12: PETSC_EXTERN PetscErrorCode DMPlexCeedComputeGeometryFVM(DM, CeedVector);
13: PETSC_EXTERN PetscErrorCode DMPlexTSComputeRHSFunctionFVMCEED(DM, PetscReal, Vec, Vec, void *);