Home
last modified time | relevance | path

Searched refs:locPhi (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/swarm/tests/
H A Dex6.c269 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()
[all …]
/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c1569 Vec phi, locPhi; // Potential in ComputeFieldAtParticles_Primal() local
1635 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
1636 PetscCall(DMGlobalToLocalBegin(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
1637 PetscCall(DMGlobalToLocalEnd(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
1678 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1687 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1695 PetscCall(DMRestoreLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
1710 Vec phi, locPhi, phiFull; // Potential and embedding in mixed problem in ComputeFieldAtParticles_Mixed() local
1761 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Mixed()
1762 PetscCall(DMGlobalToLocalBegin(dm, phiFull, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Mixed()
[all …]
H A Dex4.c2193 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()
[all …]
H A Dex3.c985 Vec phi, locPhi; // Potential in ComputeFieldAtParticles_Primal() local
1050 PetscCall(DMGetLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()
1051 PetscCall(DMGlobalToLocalBegin(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
1052 PetscCall(DMGlobalToLocalEnd(dm, phi, INSERT_VALUES, locPhi)); in ComputeFieldAtParticles_Primal()
1094 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1103 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1111 PetscCall(DMRestoreLocalVector(dm, &locPhi)); in ComputeFieldAtParticles_Primal()