1 #ifndef libceed_petsc_examples_setup_h 2 #define libceed_petsc_examples_setup_h 3 4 #include <ceed.h> 5 #include <petsc.h> 6 7 #include "structs.h" 8 9 PetscErrorCode CeedDataDestroy(CeedInt i, CeedData data); 10 PetscErrorCode SetupLibceedByDegree(DM dm, Ceed ceed, CeedInt degree, 11 CeedInt topo_dim, CeedInt q_extra, 12 PetscInt num_comp_x, PetscInt num_comp_u, 13 PetscInt g_size, PetscInt xl_size, 14 BPData bp_data, CeedData data, 15 PetscBool setup_rhs, CeedVector rhs_ceed, 16 CeedVector *target); 17 PetscErrorCode CeedLevelTransferSetup(DM dm, Ceed ceed, CeedInt level, 18 CeedInt num_comp_u, CeedData *data, 19 Vec fine_mult); 20 21 #endif // libceed_petsc_examples_setup_h 22