Lines Matching refs:locPhi
2193 Vec phi, locPhi; // Potential in ComputeFieldAtParticles_Primal() local
2236 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
2237 PetscCall(DMGlobalToLocalBegin(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
2238 PetscCall(DMGlobalToLocalEnd(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
2282 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
2291 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
2299 PetscCall(DMRestoreLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
2314 Vec phi, locPhi, phiFull; // Potential and embedding in mixed problem in ComputeFieldAtParticles_Mixed() local
2366 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Mixed()
2367 PetscCall(DMGlobalToLocalBegin(dm, phiFull, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Mixed()
2368 PetscCall(DMGlobalToLocalEnd(dm, phiFull, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Mixed()
2409 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
2418 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
2426 PetscCall(DMRestoreLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Mixed()