Lines Matching refs:pos

130 static PetscErrorCode private_DMDALocatePointsIS_2D_Regular(DM dmregular, Vec pos, IS *iscell)  in private_DMDALocatePointsIS_2D_Regular()  argument
155 PetscCall(VecGetLocalSize(pos, &n)); in private_DMDALocatePointsIS_2D_Regular()
156 PetscCall(VecGetBlockSize(pos, &bs)); in private_DMDALocatePointsIS_2D_Regular()
160 PetscCall(VecGetArrayRead(pos, &coor)); in private_DMDALocatePointsIS_2D_Regular()
187 PetscCall(VecRestoreArrayRead(pos, &coor)); in private_DMDALocatePointsIS_2D_Regular()
192 static PetscErrorCode private_DMDALocatePointsIS_3D_Regular(DM dmregular, Vec pos, IS *iscell) in private_DMDALocatePointsIS_3D_Regular() argument
222 PetscCall(VecGetLocalSize(pos, &n)); in private_DMDALocatePointsIS_3D_Regular()
223 PetscCall(VecGetBlockSize(pos, &bs)); in private_DMDALocatePointsIS_3D_Regular()
227 PetscCall(VecGetArrayRead(pos, &coor)); in private_DMDALocatePointsIS_3D_Regular()
261 PetscCall(VecRestoreArrayRead(pos, &coor)); in private_DMDALocatePointsIS_3D_Regular()
266 PetscErrorCode DMLocatePoints_DA_Regular(DM dm, Vec pos, DMPointLocationType ltype, PetscSF cellSF) in DMLocatePoints_DA_Regular() argument
274 PetscCall(VecGetBlockSize(pos, &dim)); in DMLocatePoints_DA_Regular()
279 PetscCall(private_DMDALocatePointsIS_2D_Regular(dm, pos, &iscell)); in DMLocatePoints_DA_Regular()
282 PetscCall(private_DMDALocatePointsIS_3D_Regular(dm, pos, &iscell)); in DMLocatePoints_DA_Regular()
288 PetscCall(VecGetLocalSize(pos, &npoints)); in DMLocatePoints_DA_Regular()
289 PetscCall(VecGetBlockSize(pos, &bs)); in DMLocatePoints_DA_Regular()