Lines Matching refs:dmCell

2971   DM           dmFace, dmCell;  in DMPlexComputeGeometryFVM()  local
2985 PetscCall(DMClone(dm, &dmCell)); in DMPlexComputeGeometryFVM()
2986 PetscCall(DMSetCoordinateSection(dmCell, PETSC_DETERMINE, coordSection)); in DMPlexComputeGeometryFVM()
2987 PetscCall(DMSetCoordinatesLocal(dmCell, coordinates)); in DMPlexComputeGeometryFVM()
2994 PetscCall(DMSetLocalSection(dmCell, sectionCell)); in DMPlexComputeGeometryFVM()
2996 PetscCall(DMCreateLocalVector(dmCell, cellgeom)); in DMPlexComputeGeometryFVM()
3002 PetscCall(DMPlexPointLocalRef(dmCell, c, cgeom, &cg)); in DMPlexComputeGeometryFVM()
3004 PetscCall(DMPlexComputeCellGeometryFVM(dmCell, c, &cg->volume, cg->centroid, NULL)); in DMPlexComputeGeometryFVM()
3040 PetscCall(DMPlexPointLocalRead(dmCell, cells[0], cgeom, &cL)); in DMPlexComputeGeometryFVM()
3043 PetscCall(DMPlexPointLocalRead(dmCell, cells[1], cgeom, &cR)); in DMPlexComputeGeometryFVM()
3077 PetscCall(DMPlexGetConeSize(dmCell, c, &coneSize)); in DMPlexComputeGeometryFVM()
3079 PetscCall(DMPlexGetCone(dmCell, c, &cone)); in DMPlexComputeGeometryFVM()
3080 PetscCall(DMPlexGetSupportSize(dmCell, cone[0], &supportSize)); in DMPlexComputeGeometryFVM()
3082 PetscCall(DMPlexGetSupport(dmCell, cone[0], &support)); in DMPlexComputeGeometryFVM()
3091 PetscCall(DMPlexPointLocalRead(dmCell, support[(s + 1) % 2], cgeom, &ci)); in DMPlexComputeGeometryFVM()
3094 PetscCall(DMPlexPointLocalRef(dmCell, support[s], cgeom, &cg)); in DMPlexComputeGeometryFVM()
3102 PetscCall(DMDestroy(&dmCell)); in DMPlexComputeGeometryFVM()
3203 …struction_Internal(DM dm, PetscFV fvm, DM dmFace, PetscScalar *fgeom, DM dmCell, PetscScalar *cgeo… in BuildGradientReconstruction_Internal() argument
3229 PetscCall(DMPlexPointLocalRead(dmCell, c, cgeom, &cg)); in BuildGradientReconstruction_Internal()
3246 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cgeom, &cg1)); in BuildGradientReconstruction_Internal()
3264 …tion_Internal_Tree(DM dm, PetscFV fvm, DM dmFace, PetscScalar *fgeom, DM dmCell, PetscScalar *cgeo… in BuildGradientReconstruction_Internal_Tree() argument
3340 PetscCall(DMPlexPointLocalRead(dmCell, c, cgeom, &cg)); in BuildGradientReconstruction_Internal_Tree()
3360 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cgeom, &cg1)); in BuildGradientReconstruction_Internal_Tree()
3398 DM dmFace, dmCell; in DMPlexComputeGradientFVM() local
3410 PetscCall(VecGetDM(cellGeometry, &dmCell)); in DMPlexComputeGradientFVM()
3415 PetscCall(BuildGradientReconstruction_Internal(dm, fvm, dmFace, fgeom, dmCell, cgeom)); in DMPlexComputeGradientFVM()
3417 PetscCall(BuildGradientReconstruction_Internal_Tree(dm, fvm, dmFace, fgeom, dmCell, cgeom)); in DMPlexComputeGradientFVM()