Searched refs:chunkGeom (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fegeom.c | 85 …de PetscFEGeomGetChunk(PetscFEGeom *geom, PetscInt cStart, PetscInt cEnd, PetscFEGeom *chunkGeom[]) in PetscFEGeomGetChunk() argument 92 PetscAssertPointer(chunkGeom, 4); in PetscFEGeomGetChunk() 93 if (!*chunkGeom) PetscCall(PetscNew(chunkGeom)); in PetscFEGeomGetChunk() 96 (*chunkGeom)->mode = geom->mode; in PetscFEGeomGetChunk() 97 (*chunkGeom)->dim = geom->dim; in PetscFEGeomGetChunk() 98 (*chunkGeom)->dimEmbed = geom->dimEmbed; in PetscFEGeomGetChunk() 99 (*chunkGeom)->numPoints = geom->numPoints; in PetscFEGeomGetChunk() 100 (*chunkGeom)->numCells = cEnd - cStart; in PetscFEGeomGetChunk() 101 (*chunkGeom)->xi = geom->xi; in PetscFEGeomGetChunk() 102 (*chunkGeom)->v = PetscSafePointerPlusOffset(geom->v, Nq * dE * cStart); in PetscFEGeomGetChunk() [all …]
|
| /petsc/src/dm/dt/fe/tests/ |
| H A D | ex1.c | 183 PetscFEGeom *chunkGeom = NULL; in TestIntegration() local 226 PetscCall(PetscFEGeomGetChunk(geom, cS, cE, &chunkGeom)); in TestIntegration() 228 … PetscCall(PetscFEIntegrateResidual(ds, key, Ne, chunkGeom, u, NULL, NULL, NULL, 0.0, elemVec)); in TestIntegration() 233 PetscCall(PetscFEGeomRestoreChunk(affineGeom, cStart, cEnd, &chunkGeom)); in TestIntegration()
|
| H A D | ex2.c | 236 PetscFEGeom *chunkGeom = NULL; in TestIntegration() local 274 PetscCall(PetscFEGeomGetChunk(geom, cS, cE, &chunkGeom)); in TestIntegration() 275 … PetscCall(PetscFEIntegrateResidual(ds, key, Ne, chunkGeom, u, NULL, NULL, NULL, 0.0, elemVec)); in TestIntegration() 279 PetscCall(PetscFEGeomRestoreChunk(affineGeom, cStart, cEnd, &chunkGeom)); in TestIntegration()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 2527 PetscFEGeom *chunkGeom = NULL; in DMPlexComputeIntegral_Internal() local 2542 PetscCall(PetscFEGeomGetChunk(cgeomFEM, 0, offset, &chunkGeom)); in DMPlexComputeIntegral_Internal() 2543 PetscCall(PetscFEIntegrate(prob, f, Ne, chunkGeom, u, probAux, a, cintegral)); in DMPlexComputeIntegral_Internal() 2544 PetscCall(PetscFEGeomGetChunk(cgeomFEM, offset, numCells, &chunkGeom)); in DMPlexComputeIntegral_Internal() 2545 …PetscCall(PetscFEIntegrate(prob, f, Nr, chunkGeom, &u[offset * totDim], probAux, PetscSafePointerP… in DMPlexComputeIntegral_Internal() 2546 PetscCall(PetscFEGeomRestoreChunk(cgeomFEM, offset, numCells, &chunkGeom)); in DMPlexComputeIntegral_Internal() 2763 PetscFEGeom *fgeom, *chunkGeom = NULL; in DMPlexComputeBdIntegral_Internal() local 2821 … PetscCall(PetscFEGeomGetChunk(fgeom, chunk * chunkSize, (chunk + 1) * chunkSize, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() 2822 …PetscCall(PetscFEIntegrateBd(prob, field, funcs[field], chunkSize, chunkGeom, &u[chunk * chunkSize… in DMPlexComputeBdIntegral_Internal() 2823 PetscCall(PetscFEGeomRestoreChunk(fgeom, 0, offset, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() [all …]
|