Home
last modified time | relevance | path

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

/petsc/src/dm/impls/swarm/tests/ !
H A Dex6.c336 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Primal() local
343 PetscCall(DMGetWorkArray(dm, Ncp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
346 PetscCall(DMPlexCoordinatesToReference(dm, c, Ncp, pcoord, refcoord)); in ComputeFieldAtParticles_Primal()
347 PetscCall(PetscFECreateTabulation(fe, 1, Ncp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Primal()
360 PetscCall(DMRestoreWorkArray(dm, Ncp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
453 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Mixed() local
460 PetscCall(DMGetWorkArray(dm, Ncp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Mixed()
463 PetscCall(DMPlexCoordinatesToReference(dm, c, Ncp, pcoord, refcoord)); in ComputeFieldAtParticles_Mixed()
464 PetscCall(PetscFECreateTabulation(fe, 1, Ncp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Mixed()
478 PetscCall(DMRestoreWorkArray(dm, Ncp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Mixed()
/petsc/src/ts/tutorials/hamiltonian/ !
H A Dex2.c1649 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Primal() local
1659 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
1661 PetscCall(PetscFECreateTabulation(fe, 1, maxNcp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Primal()
1674 …inatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim * i]); in ComputeFieldAtParticles_Primal()
1677 PetscCall(PetscFEComputeTabulation(fe, Ncp, refcoord, 1, tab)); in ComputeFieldAtParticles_Primal()
1691 PetscCall(DMRestoreWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
1775 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Mixed() local
1785 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Mixed()
1787 PetscCall(PetscFECreateTabulation(fe, 1, maxNcp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Mixed()
1800 …inatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim * i]); in ComputeFieldAtParticles_Mixed()
[all …]
H A Dex3.c1064 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Primal() local
1074 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
1075 PetscCall(PetscArrayzero(refcoord, maxNcp * dim)); in ComputeFieldAtParticles_Primal()
1077 PetscCall(PetscFECreateTabulation(fe, 1, maxNcp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Primal()
1090 …inatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim * i]); in ComputeFieldAtParticles_Primal()
1093 PetscCall(PetscFEComputeTabulation(fe, Ncp, refcoord, 1, tab)); in ComputeFieldAtParticles_Primal()
1107 PetscCall(DMRestoreWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
H A Dex4.c2250 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Primal() local
2260 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
2264 PetscCall(PetscFECreateTabulation(fe, 1, maxNcp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Primal()
2278 …inatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim * i]); in ComputeFieldAtParticles_Primal()
2281 PetscCall(PetscFEComputeTabulation(fe, Ncp, refcoord, 1, tab)); in ComputeFieldAtParticles_Primal()
2295 PetscCall(DMRestoreWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
2380 PetscReal *pcoord, *refcoord; in ComputeFieldAtParticles_Mixed() local
2390 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Mixed()
2392 PetscCall(PetscFECreateTabulation(fe, 1, maxNcp, refcoord, 1, &tab)); in ComputeFieldAtParticles_Mixed()
2405 …inatesRealToRef(dim, dim, x0, chunkgeom->v, chunkgeom->invJ, &pcoord[dim * i], &refcoord[dim * i]); in ComputeFieldAtParticles_Mixed()
[all …]