Home
last modified time | relevance | path

Searched refs:fe_coords (Results 1 – 2 of 2) sorted by relevance

/libCEED/examples/solids/src/
H A Dsetup-dm.c85 PetscFE fe_coords; in SetupDMByDegree() local
88 PetscCall(PetscFECreateLagrange(comm, dim, num_comp_coord, PETSC_FALSE, 1, 1, &fe_coords)); in SetupDMByDegree()
89 PetscCall(DMSetCoordinateDisc(dm, fe_coords, PETSC_TRUE)); in SetupDMByDegree()
90 PetscCall(PetscFEDestroy(&fe_coords)); in SetupDMByDegree()
/libCEED/examples/petsc/src/
H A Dpetscutils.c152 PetscFE fe_coords; in SetupDMByDegree() local
155 … PetscCall(PetscFECreateLagrange(comm, dim, num_comp_coord, is_simplex, 1, q_degree, &fe_coords)); in SetupDMByDegree()
156 PetscCall(DMSetCoordinateDisc(dm, fe_coords, PETSC_TRUE)); in SetupDMByDegree()
157 PetscCall(PetscFEDestroy(&fe_coords)); in SetupDMByDegree()