Lines Matching refs:cVec
3942 Vec cVec, cVecOld; in DMPforestLocalizeCoordinates() local
4033 PetscCall(VecCreate(PETSC_COMM_SELF, &cVec)); in DMPforestLocalizeCoordinates()
4034 PetscCall(PetscObjectSetName((PetscObject)cVec, "coordinates")); in DMPforestLocalizeCoordinates()
4035 PetscCall(VecSetBlockSize(cVec, cDim)); in DMPforestLocalizeCoordinates()
4036 PetscCall(VecSetSizes(cVec, v, PETSC_DETERMINE)); in DMPforestLocalizeCoordinates()
4037 PetscCall(VecSetType(cVec, VECSTANDARD)); in DMPforestLocalizeCoordinates()
4038 PetscCall(VecSet(cVec, PETSC_MIN_REAL)); in DMPforestLocalizeCoordinates()
4041 PetscCall(VecGetArray(cVec, &coords2)); in DMPforestLocalizeCoordinates()
4083 PetscCall(VecRestoreArray(cVec, &coords2)); in DMPforestLocalizeCoordinates()
4084 PetscCall(DMSetCellCoordinatesLocal(plex, cVec)); in DMPforestLocalizeCoordinates()
4085 PetscCall(VecDestroy(&cVec)); in DMPforestLocalizeCoordinates()