Lines Matching refs:locPhi
269 Vec phi, locPhi, rho, f; in ComputeFieldAtParticles_Primal() local
323 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
324 PetscCall(DMGlobalToLocalBegin(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
325 PetscCall(DMGlobalToLocalEnd(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
349 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
358 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
366 PetscCall(DMRestoreLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
378 Vec phi, locPhi, rho, f, temp_rho; in ComputeFieldAtParticles_Mixed() local
440 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Mixed()
441 PetscCall(DMGlobalToLocalBegin(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Mixed()
442 PetscCall(DMGlobalToLocalEnd(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Mixed()
466 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
476 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
484 PetscCall(DMRestoreLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Mixed()