Lines Matching refs:cDim

3850 static PetscErrorCode PforestCheckLocalizeCell(DM plex, PetscInt cDim, Vec cVecOld, DM_Forest_pfore…  in PforestCheckLocalizeCell()  argument
3865 …PetscAssert(cSize == cDim * P4EST_CHILDREN, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Unexpected closure s… in PforestCheckLocalizeCell()
3873 …for (PetscInt d = 0; d < PetscMin(cDim, 3); d++) vert_coords[d] = PetscRealPart(values[c * cDim + … in PforestCheckLocalizeCell()
3886 for (PetscInt d = 0; d < PetscMin(cDim, 3); d++) { in PforestCheckLocalizeCell()
3905 static PetscErrorCode PforestLocalizeCell(DM plex, PetscInt cDim, DM_Forest_pforest *pforest, Petsc… in PforestLocalizeCell() argument
3931 for (PetscInt d = 0; d < PetscMin(cDim, 3); d++) coords[pos++] = corner_coords[d]; in PforestLocalizeCell()
3932 for (PetscInt d = PetscMin(cDim, 3); d < cDim; d++) coords[pos++] = 0.; in PforestLocalizeCell()
3947 PetscInt cDim, newStart, newEnd; in DMPforestLocalizeCoordinates() local
3956 PetscCall(DMGetCoordinateDim(dm, &cDim)); in DMPforestLocalizeCoordinates()
3965 PetscCall(PetscSectionSetFieldComponents(newSection, 0, cDim)); in DMPforestLocalizeCoordinates()
3992 …PetscCall(PforestCheckLocalizeCell(plex, cDim, cVecOld, pforest, oldSection, newSection, cell, coa… in DMPforestLocalizeCoordinates()
4008 …PetscCall(PforestCheckLocalizeCell(plex, cDim, cVecOld, pforest, oldSection, newSection, cell, coa… in DMPforestLocalizeCoordinates()
4021 …PetscCall(PforestCheckLocalizeCell(plex, cDim, cVecOld, pforest, oldSection, newSection, cell, coa… in DMPforestLocalizeCoordinates()
4031 PetscCall(DMSetCellCoordinateSection(plex, cDim, newSection)); in DMPforestLocalizeCoordinates()
4035 PetscCall(VecSetBlockSize(cVec, cDim)); in DMPforestLocalizeCoordinates()
4051 … PetscCall(PforestLocalizeCell(plex, cDim, pforest, newSection, cell, coarsePoint, quad, coords2)); in DMPforestLocalizeCoordinates()
4067 … PetscCall(PforestLocalizeCell(plex, cDim, pforest, newSection, cell, coarsePoint, quad, coords2)); in DMPforestLocalizeCoordinates()
4080 … PetscCall(PforestLocalizeCell(plex, cDim, pforest, newSection, cell, coarsePoint, quad, coords2)); in DMPforestLocalizeCoordinates()
4305 PetscInt cDim; in DMConvert_pforest_plex() local
4307 PetscCall(DMGetCoordinateDim(newPlex, &cDim)); in DMConvert_pforest_plex()
4309 PetscCall(DMSetCoordinateSection(dm, cDim, coordsSec)); in DMConvert_pforest_plex()
4329 if (coordsSec) PetscCall(DMSetCellCoordinateSection(dm, cDim, coordsSec)); in DMConvert_pforest_plex()