Searched refs:cg1 (Results 1 – 2 of 2) sorted by relevance
2119 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]);
3234 PetscFVCellGeom *cg1; in BuildGradientReconstruction_Internal() local3246 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() local3360 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()