Home
last modified time | relevance | path

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

/petsc/src/dm/dt/fv/interface/
H A Dfv.c2119 const CellGeom *cg1;
2128 PetscCall(DMPlexPointLocalRead(dmCell, fcells[i], cgeom, &cg1));
2129 du = cg1->centroid[0] + 3*cg1->centroid[1] - (cg->centroid[0] + 3*cg->centroid[1]);
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c3234 PetscFVCellGeom *cg1; in BuildGradientReconstruction_Internal() local
3246 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cgeom, &cg1)); in BuildGradientReconstruction_Internal()
3247 for (d = 0; d < dim; ++d) dx[usedFaces * dim + d] = cg1->centroid[d] - cg->centroid[d]; in BuildGradientReconstruction_Internal()
3350 PetscFVCellGeom *cg1; in BuildGradientReconstruction_Internal_Tree() local
3360 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cgeom, &cg1)); in BuildGradientReconstruction_Internal_Tree()
3361 for (d = 0; d < dim; ++d) dx[f * dim + d] = cg1->centroid[d] - cg->centroid[d]; in BuildGradientReconstruction_Internal_Tree()