Lines Matching refs:coordDim

201   PetscInt          coordDim;  member
211 PetscInt i, d = PetscMin(3, geom_pforest->coordDim); in GeometryMapping_pforest()
218 …ierr = (geom_pforest->map)(geom_pforest->base, (PetscInt)which_tree, geom_pforest->coordDim, Petsc… in GeometryMapping_pforest()
788 PetscCall(DMGetCoordinateDim(dm, &geom_pforest->coordDim)); in DMSetUp_pforest()
1764 PetscInt coordDim; in DMPlexCreateConnectivity_pforest() local
1766 PetscCall(DMGetCoordinateDim(dm, &coordDim)); in DMPlexCreateConnectivity_pforest()
1775coordDim, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Need coordinates at the corners: (dof) %" PetscIn… in DMPlexCreateConnectivity_pforest()
1777 PetscInt i, lim = PetscMin(3, coordDim); in DMPlexCreateConnectivity_pforest()
1783 …3 * (P4EST_CHILDREN * (c - cStart) + p4estVert) + i] = PetscRealPart(cellCoords[v * coordDim + i]); in DMPlexCreateConnectivity_pforest()
3592 PetscInt closureSize, c, coordStart, coordEnd, coordDim; in DMPforestMapCoordinates_Cell() local
3599 PetscCall(DMGetCoordinateDim(plex, &coordDim)); in DMPforestMapCoordinates_Cell()
3608 …PetscCheck(dof % coordDim == 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Did not understand coordinate la… in DMPforestMapCoordinates_Cell()
3609 nCoords = dof / coordDim; in DMPforestMapCoordinates_Cell()
3612 PetscScalar *coord = &coords[off + i * coordDim]; in DMPforestMapCoordinates_Cell()
3689 for (j = 0; j < coordDim; j++) coord[j] = (PetscScalar)coordP4estMapped[j]; in DMPforestMapCoordinates_Cell()
3725 PetscInt coordStart, coordEnd, p, coordDim, p4estCoordDim, cStart, cEnd, cEndInterior; in DMPforestMapCoordinates() local
3734 PetscCall(DMGetCoordinateDim(plex, &coordDim)); in DMPforestMapCoordinates()
3735 p4estCoordDim = PetscMin(coordDim, 3); in DMPforestMapCoordinates()
3741 …PetscCheck(dof % coordDim == 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Did not understand coordinate la… in DMPforestMapCoordinates()
3742 nCoords = dof / coordDim; in DMPforestMapCoordinates()
3776 PetscScalar *coord = &coords[off + i * coordDim]; in DMPforestMapCoordinates()
4111 PetscInt adjDim, adjCodim, coordDim; in DMConvert_pforest_plex() local
4151 PetscCall(DMGetCoordinateDim(dm, &coordDim)); in DMConvert_pforest_plex()
4186 PetscCall(coords_double_to_PetscScalar(coords, coordDim)); in DMConvert_pforest_plex()
4194 PetscCall(DMSetCoordinateDim(newPlex, coordDim)); in DMConvert_pforest_plex()