Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexproject.c1018 PetscFEGeom *fegeom = NULL, *chunkgeom = NULL; in DMProjectLocal_Generic_Plex() local
1052 PetscCall(PetscFEGeomGetChunk(fegeom, p, p + 1, &chunkgeom)); in DMProjectLocal_Generic_Plex()
1054 …t_Private(dm, dsEff, plexIn, encIn, dsEffIn, plexAux, encAux, dsEffAux, chunkgeom, htInc, time, lo… in DMProjectLocal_Generic_Plex()
1058 PetscCall(PetscFEGeomRestoreChunk(fegeom, p, p + 1, &chunkgeom)); in DMProjectLocal_Generic_Plex()
1065 PetscFEGeom *fegeom = NULL, *chunkgeom = NULL; in DMProjectLocal_Generic_Plex() local
1083 PetscCall(PetscFEGeomGetChunk(fegeom, p - pStart, p - pStart + 1, &chunkgeom)); in DMProjectLocal_Generic_Plex()
1085 …t_Private(dm, dsEff, plexIn, encIn, dsEffIn, plexAux, encAux, dsEffAux, chunkgeom, htInc, time, lo… in DMProjectLocal_Generic_Plex()
1089 PetscCall(PetscFEGeomRestoreChunk(fegeom, p - pStart, pStart - p + 1, &chunkgeom)); in DMProjectLocal_Generic_Plex()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c1650 PetscFEGeom *chunkgeom = NULL; in ComputeFieldAtParticles_Primal() local
1671 PetscCall(PetscFEGeomGetChunk(ctx->fegeom, c - cStart, c - cStart + 1, &chunkgeom)); in ComputeFieldAtParticles_Primal()
1674 …CoordinatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim … in ComputeFieldAtParticles_Primal()
1684 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, chunkgeom->invJ, NULL, c… in ComputeFieldAtParticles_Primal()
1696 PetscCall(PetscFEGeomRestoreChunk(ctx->fegeom, 0, 1, &chunkgeom)); in ComputeFieldAtParticles_Primal()
1776 PetscFEGeom *chunkgeom = NULL; in ComputeFieldAtParticles_Mixed() local
1797 PetscCall(PetscFEGeomGetChunk(ctx->fegeom, c - cStart, c - cStart + 1, &chunkgeom)); in ComputeFieldAtParticles_Mixed()
1800 …CoordinatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim … in ComputeFieldAtParticles_Mixed()
1809 PetscCall(PetscFEInterpolateAtPoints_Static(fe, tab, clPhi, chunkgeom, cp, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
1810 PetscCall(PetscFEPushforward(fe, chunkgeom, 1, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
[all …]
H A Dex4.c2251 PetscFEGeom *chunkgeom = NULL; in ComputeFieldAtParticles_Primal() local
2275 PetscCall(PetscFEGeomGetChunk(ctx->fegeom, c - cStart, c - cStart + 1, &chunkgeom)); in ComputeFieldAtParticles_Primal()
2278 …CoordinatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim … in ComputeFieldAtParticles_Primal()
2288 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, chunkgeom->invJ, NULL, c… in ComputeFieldAtParticles_Primal()
2300 PetscCall(PetscFEGeomRestoreChunk(ctx->fegeom, 0, 1, &chunkgeom)); in ComputeFieldAtParticles_Primal()
2381 PetscFEGeom *chunkgeom = NULL; in ComputeFieldAtParticles_Mixed() local
2402 PetscCall(PetscFEGeomGetChunk(ctx->fegeom, c - cStart, c - cStart + 1, &chunkgeom)); in ComputeFieldAtParticles_Mixed()
2405 …CoordinatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim … in ComputeFieldAtParticles_Mixed()
2414 PetscCall(PetscFEInterpolateAtPoints_Static(fe, tab, clPhi, chunkgeom, cp, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
2415 PetscCall(PetscFEPushforward(fe, chunkgeom, 1, &E[p * dim])); in ComputeFieldAtParticles_Mixed()
[all …]
H A Dex3.c1065 PetscFEGeom *chunkgeom = NULL; in ComputeFieldAtParticles_Primal() local
1087 PetscCall(PetscFEGeomGetChunk(user->fegeom, c - cStart, c - cStart + 1, &chunkgeom)); in ComputeFieldAtParticles_Primal()
1090 …CoordinatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim … in ComputeFieldAtParticles_Primal()
1100 …PetscCall(PetscFEFreeInterpolateGradient_Static(fe, basisDer, clPhi, dim, chunkgeom->invJ, NULL, c… in ComputeFieldAtParticles_Primal()
1112 PetscCall(PetscFEGeomRestoreChunk(user->fegeom, 0, 1, &chunkgeom)); in ComputeFieldAtParticles_Primal()