Home
last modified time | relevance | path

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

/petsc/src/dm/impls/swarm/tests/
H A Dex6.c335 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Primal() local
349 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
355 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, invJ, NULL, cp, &E[p * d… in ComputeFieldAtParticles_Primal()
358 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
452 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Mixed() local
466 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
473 PetscCall(PetscFEInterpolateAtPoints_Static(fe, tab, clPhi, &feGeometry, cp, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
476 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c1663 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Primal() local
1678 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1684 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, chunkgeom->invJ, NULL, c… in ComputeFieldAtParticles_Primal()
1687 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1789 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Mixed() local
1804 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
1809 PetscCall(PetscFEInterpolateAtPoints_Static(fe, tab, clPhi, chunkgeom, cp, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
1813 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
H A Dex4.c2267 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Primal() local
2282 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
2288 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, chunkgeom->invJ, NULL, c… in ComputeFieldAtParticles_Primal()
2291 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
2394 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Mixed() local
2409 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
2414 PetscCall(PetscFEInterpolateAtPoints_Static(fe, tab, clPhi, chunkgeom, cp, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
2418 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Mixed()
H A Dex3.c1079 PetscScalar *clPhi = NULL; in ComputeFieldAtParticles_Primal() local
1094 PetscCall(DMPlexVecGetClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()
1100 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, chunkgeom->invJ, NULL, c… in ComputeFieldAtParticles_Primal()
1103 PetscCall(DMPlexVecRestoreClosure(dm, NULL, locPhi, c, NULL, &clPhi)); in ComputeFieldAtParticles_Primal()