| /petsc/src/dm/dt/fe/impls/basic/ |
| H A D | febasic.c | 255 …S ds, PetscInt field, PetscBdPointFn *obj_func, PetscInt Ne, PetscFEGeom *fgeom, const PetscScalar… in PetscFEIntegrateBd_Basic() argument 300 Np = fgeom->numPoints; in PetscFEIntegrateBd_Basic() 301 dE = fgeom->dimEmbed; in PetscFEIntegrateBd_Basic() 302 isAffine = fgeom->isAffine; in PetscFEIntegrateBd_Basic() 305 const PetscInt face = fgeom->face[e][0]; /* Local face number in cell */ in PetscFEIntegrateBd_Basic() 312 fegeom.dim = fgeom->dim; in PetscFEIntegrateBd_Basic() 313 fegeom.dimEmbed = fgeom->dimEmbed; in PetscFEIntegrateBd_Basic() 314 cgeom.dim = fgeom->dim; in PetscFEIntegrateBd_Basic() 315 cgeom.dimEmbed = fgeom->dimEmbed; in PetscFEIntegrateBd_Basic() 318 fegeom.xi = fgeom->xi; in PetscFEIntegrateBd_Basic() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexproject.c | 357 …cAux, PetscDS dsAux, PetscReal time, Vec localU, Vec localA, PetscFEGeom *fgeom, PetscDualSpace sp… in DMProjectPoint_BdField_Private() argument 367 const PetscInt dE = fgeom->dimEmbed, *cone, *ornt; in DMProjectPoint_BdField_Private() 423 isAffine = fgeom->isAffine; in DMProjectPoint_BdField_Private() 424 fegeom.dim = fgeom->dim; in DMProjectPoint_BdField_Private() 425 fegeom.dimEmbed = fgeom->dimEmbed; in DMProjectPoint_BdField_Private() 430 cgeom.dim = fgeom->dim; in DMProjectPoint_BdField_Private() 431 cgeom.dimEmbed = fgeom->dimEmbed; in DMProjectPoint_BdField_Private() 433 fgeomN[0].dim = fgeom->dim; in DMProjectPoint_BdField_Private() 434 fgeomN[0].dimEmbed = fgeom->dimEmbed; in DMProjectPoint_BdField_Private() 435 fgeomN[1].dim = fgeom->dim; in DMProjectPoint_BdField_Private() [all …]
|
| H A D | plexegads.c | 2853 ego bRef, bPrev, bNext, fgeom, *lobjs; in DMPlex_Surface_Grad() local 2871 PetscCall(EGlite_getTopology(face, &fgeom, &foclass, &fmtype, fdata, &Nl, &lobjs, &lsenses)); in DMPlex_Surface_Grad() 2872 PetscCall(EGlite_getGeometry(fgeom, &boclass, &bmtype, &bRef, &bpinfo, &bprv)); in DMPlex_Surface_Grad() 2873 PetscCall(EGlite_getInfo(fgeom, &boclass, &bmtype, &bRef, &bPrev, &bNext)); in DMPlex_Surface_Grad() 2876 PetscCall(EG_getTopology(face, &fgeom, &foclass, &fmtype, fdata, &Nl, &lobjs, &lsenses)); in DMPlex_Surface_Grad() 2877 PetscCall(EG_getGeometry(fgeom, &boclass, &bmtype, &bRef, &bpinfo, &bprv)); in DMPlex_Surface_Grad() 2878 PetscCall(EG_getInfo(fgeom, &boclass, &bmtype, &bRef, &bPrev, &bNext)); in DMPlex_Surface_Grad() 2903 PetscCall(EGlite_getTopology(face, &fgeom, &foclass, &fmtype, fdata, &Nl, &lobjs, &lsenses)); in DMPlex_Surface_Grad() 2904 PetscCall(EGlite_getGeometry(fgeom, &boclass, &bmtype, &bRef, &bpinfo, &bprv)); in DMPlex_Surface_Grad() 2905 PetscCall(EGlite_getInfo(fgeom, &boclass, &bmtype, &bRef, &bPrev, &bNext)); in DMPlex_Surface_Grad() [all …]
|
| H A D | plexfem.c | 2763 PetscFEGeom *fgeom, *chunkGeom = NULL; in DMPlexComputeBdIntegral_Internal() local 2800 PetscCall(DMPlexGetFEGeom(coordField, pointIS, qGeom, PETSC_FEGEOM_BOUNDARY, &fgeom)); in DMPlexComputeBdIntegral_Internal() 2821 … PetscCall(PetscFEGeomGetChunk(fgeom, chunk * chunkSize, (chunk + 1) * chunkSize, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() 2823 PetscCall(PetscFEGeomRestoreChunk(fgeom, 0, offset, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() 2825 PetscCall(PetscFEGeomGetChunk(fgeom, offset, numFaces, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() 2827 PetscCall(PetscFEGeomRestoreChunk(fgeom, offset, numFaces, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() 2829 PetscCall(DMPlexRestoreFEGeom(coordField, pointIS, qGeom, PETSC_FEGEOM_BOUNDARY, &fgeom)); in DMPlexComputeBdIntegral_Internal() 4281 …nd, Vec faceGeometry, Vec cellGeometry, PetscInt *Nface, PetscFVFaceGeom *fgeom[], PetscReal *vol[… in DMPlexGetFaceGeometry() argument 4292 PetscAssertPointer(fgeom, 7); in DMPlexGetFaceGeometry() 4300 PetscCall(PetscMalloc1(numFaces, fgeom)); in DMPlexGetFaceGeometry() [all …]
|
| H A D | plexgeometry.c | 2976 PetscScalar *fgeom, *cgeom; in DMPlexComputeGeometryFVM() local 3016 PetscCall(VecGetArray(*facegeom, &fgeom)); in DMPlexComputeGeometryFVM() 3031 PetscCall(DMPlexPointLocalRef(dmFace, f, fgeom, &fg)); in DMPlexComputeGeometryFVM() 3083 PetscCall(DMPlexPointLocalRef(dmFace, cone[0], fgeom, &fg)); in DMPlexComputeGeometryFVM() 3100 PetscCall(VecRestoreArray(*facegeom, &fgeom)); in DMPlexComputeGeometryFVM() 3203 …adientReconstruction_Internal(DM dm, PetscFV fvm, DM dmFace, PetscScalar *fgeom, DM dmCell, PetscS… in BuildGradientReconstruction_Internal() argument 3245 PetscCall(DMPlexPointLocalRef(dmFace, faces[f], fgeom, &fg)); in BuildGradientReconstruction_Internal() 3264 …tReconstruction_Internal_Tree(DM dm, PetscFV fvm, DM dmFace, PetscScalar *fgeom, DM dmCell, PetscS… in BuildGradientReconstruction_Internal_Tree() argument 3359 PetscCall(DMPlexPointLocalRef(dmFace, nface, fgeom, &fg)); in BuildGradientReconstruction_Internal_Tree() 3399 PetscScalar *fgeom, *cgeom; in DMPlexComputeGradientFVM() local [all …]
|
| /petsc/src/ts/tutorials/ |
| H A D | ex52.c | 153 const PetscScalar *fgeom; /* values stored in the vector facegeom */ in FormFunction() local 187 PetscCall(VecGetArrayRead(faceGeom, &fgeom)); in FormFunction() 203 PetscCall(DMPlexPointLocalRead(dmFace, cellcone[0], fgeom, &fgA)); in FormFunction() 206 PetscCall(DMPlexPointLocalRead(dmFace, cellcone[2], fgeom, &fgA)); in FormFunction() 209 PetscCall(DMPlexPointLocalRead(dmFace, cellcone[3], fgeom, &fgA)); in FormFunction() 212 PetscCall(DMPlexPointLocalRead(dmFace, cellcone[1], fgeom, &fgA)); in FormFunction()
|
| H A D | ex11.c | 763 const PetscScalar *fgeom, *cgeom, *coords; in CreateMassMatrix() local 789 PetscCall(VecGetArrayRead(facegeom, &fgeom)); in CreateMassMatrix() 805 PetscCall(DMPlexPointLocalRead(dmFace, faces[f], fgeom, &fgA)); in CreateMassMatrix() 812 PetscCall(DMPlexPointLocalRead(dmFace, faces[g], fgeom, &fgB)); in CreateMassMatrix() 823 PetscCall(VecRestoreArrayRead(facegeom, &fgeom)); in CreateMassMatrix()
|
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 1731 …(PetscFV fvm, PetscDS prob, PetscInt field, PetscInt Nf, PetscFVFaceGeom *fgeom, PetscReal *neighb… in PetscFVIntegrateRHSFunction() argument 1735 …PetscTryTypeMethod(fvm, integraterhsfunction, prob, field, Nf, fgeom, neighborVol, uL, uR, fluxL, … in PetscFVIntegrateRHSFunction() 1907 …(PetscFV fvm, PetscDS prob, PetscInt field, PetscInt Nf, PetscFVFaceGeom *fgeom, PetscReal *neighb… in PetscFVIntegrateRHSFunction_Upwind() argument 1925 …(*riemann)(dim, pdim, fgeom[f].centroid, fgeom[f].normal, &uL[f * Nc], &uR[f * Nc], numConstants, … in PetscFVIntegrateRHSFunction_Upwind() 2108 …bugCell_Static(PetscFV fvm, PetscInt cell, DM dm, DM dmFace, PetscScalar *fgeom, DM dmCell, PetscS… 2123 PetscCall(DMPlexPointLocalRead(dmFace, faces[f], fgeom, &fg)); 2189 …(PetscFV fvm, PetscDS prob, PetscInt field, PetscInt Nf, PetscFVFaceGeom *fgeom, PetscReal *neighb… in PetscFVIntegrateRHSFunction_LeastSquares() argument 2207 …(*riemann)(dim, pdim, fgeom[f].centroid, fgeom[f].normal, &uL[f * Nc], &uR[f * Nc], numConstants, … in PetscFVIntegrateRHSFunction_LeastSquares()
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fe.c | 1514 …PetscDS ds, PetscWeakForm wf, PetscFormKey key, PetscInt Ne, PetscFEGeom *fgeom, const PetscScalar… in PetscFEIntegrateBdResidual() argument 1521 …atebdresidual) PetscCall((*fe->ops->integratebdresidual)(ds, wf, key, Ne, fgeom, coefficients, coe… in PetscFEIntegrateBdResidual() 1551 …ds, PetscDS dsIn, PetscFormKey key, PetscInt s, PetscInt Ne, PetscFEGeom *fgeom, PetscFEGeom *cgeo… in PetscFEIntegrateHybridResidual() argument 1559 …dual) PetscCall((*fe->ops->integratehybridresidual)(ds, dsIn, key, s, Ne, fgeom, cgeom, coefficien… in PetscFEIntegrateHybridResidual() 1653 …f, PetscFEJacobianType jtype, PetscFormKey key, PetscInt Ne, PetscFEGeom *fgeom, const PetscScalar… in PetscFEIntegrateBdJacobian() argument 1662 …cobian) PetscCall((*fe->ops->integratebdjacobian)(ds, wf, jtype, key, Ne, fgeom, coefficients, coe… in PetscFEIntegrateBdJacobian() 1706 …cobianType jtype, PetscFormKey key, PetscInt s, PetscInt Ne, PetscFEGeom *fgeom, PetscFEGeom *cgeo… in PetscFEIntegrateHybridJacobian() argument 1715 …etscCall((*fe->ops->integratehybridjacobian)(ds, dsIn, jtype, key, s, Ne, fgeom, cgeom, coefficien… in PetscFEIntegrateHybridJacobian()
|