Home
last modified time | relevance | path

Searched refs:isPot (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c140 IS isPot; // The IS for potential, or NULL in primal member
207 options->isPot = NULL; in ProcessOptions()
1075 PetscCall(DMCreateSubDM(dm, 1, &potential, &ctx->isPot, &ctx->dmPot)); in CreatePoisson()
1742 PetscCall(VecISCopy(rhoRhsFull, ctx->isPot, SCATTER_FORWARD, rhoRhs)); in ComputeFieldAtParticles_Mixed()
1758 PetscCall(VecISCopy(phiFull, ctx->isPot, SCATTER_REVERSE, phi)); in ComputeFieldAtParticles_Mixed()
2445 PetscCall(ISDestroy(&ctx.isPot)); in main()
H A Dex4.c188 IS isPot; // The IS for potential, or NULL in primal member
281 options->isPot = NULL; in ProcessOptions()
1585 PetscCall(DMCreateSubDM(dm, 1, &potential, &ctx->isPot, &ctx->dmPot)); in CreatePoisson()
2347 PetscCall(VecISCopy(rhoRhsFull, ctx->isPot, SCATTER_FORWARD, rhoRhs)); in ComputeFieldAtParticles_Mixed()
2363 PetscCall(VecISCopy(phiFull, ctx->isPot, SCATTER_REVERSE, phi)); in ComputeFieldAtParticles_Mixed()
3069 PetscCall(ISDestroy(&ctx.isPot)); in main()