| /petsc/src/dm/dt/fe/tests/ |
| H A D | ex1.c | 129 … PetscQuadrature *affineQuad, PetscFEGeom **affineGeom, PetscQuadrature **quads, PetscFEGeom ***ge… in CreateFEGeometry() argument 137 *quads = NULL; in CreateFEGeometry() 146 PetscCall(PetscCalloc2(Nf, quads, Nf, geoms)); in CreateFEGeometry() 151 PetscCall(PetscFEGetQuadrature(fe, &(*quads)[f])); in CreateFEGeometry() 152 PetscCall(PetscObjectReference((PetscObject)(*quads)[f])); in CreateFEGeometry() 153 … PetscCall(CellRangeGetFEGeom(cellIS, coordField, (*quads)[f], PETSC_FEGEOM_BASIC, &(*geoms)[f])); in CreateFEGeometry() 159 … PetscQuadrature *affineQuad, PetscFEGeom **affineGeom, PetscQuadrature **quads, PetscFEGeom ***ge… in DestroyFEGeometry() argument 172 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, (*quads)[f], PETSC_FALSE, &(*geoms)[f])); in DestroyFEGeometry() 173 PetscCall(PetscQuadratureDestroy(&(*quads)[f])); in DestroyFEGeometry() 175 PetscCall(PetscFree2(*quads, *geoms)); in DestroyFEGeometry() [all …]
|
| H A D | ex2.c | 120 … PetscQuadrature *affineQuad, PetscFEGeom **affineGeom, PetscQuadrature **quads, PetscFEGeom ***ge… in CreateFEGeometry() argument 128 *quads = NULL; in CreateFEGeometry() 137 PetscCall(PetscCalloc2(Nf, quads, Nf, geoms)); in CreateFEGeometry() 142 PetscCall(PetscFEGetQuadrature(fe, &(*quads)[f])); in CreateFEGeometry() 143 PetscCall(PetscObjectReference((PetscObject)(*quads)[f])); in CreateFEGeometry() 144 … PetscCall(CellRangeGetFEGeom(cellIS, coordField, (*quads)[f], PETSC_FEGEOM_BASIC, &(*geoms)[f])); in CreateFEGeometry() 150 … PetscQuadrature *affineQuad, PetscFEGeom **affineGeom, PetscQuadrature **quads, PetscFEGeom ***ge… in DestroyFEGeometry() argument 163 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, (*quads)[f], PETSC_FALSE, &(*geoms)[f])); in DestroyFEGeometry() 164 PetscCall(PetscQuadratureDestroy(&(*quads)[f])); in DestroyFEGeometry() 166 PetscCall(PetscFree2(*quads, *geoms)); in DestroyFEGeometry() [all …]
|
| /petsc/src/binding/petsc4py/docs/ipynb/ |
| H A D | dmplex.ipynb | 30 …dinates of vertices and cell connectivities. Here we encode a simple 2 by 2 element mesh of quads." 91 …and that we have 9 0-cells (vertices), 12 1-cells (edges), and 4 2-cells (quads). All mesh entitie… 201 …"* Points 0 through 3 (quads) have no support, there is nothing of higher dimension in this mesh\n…
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 928 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMSetUp_pforest() local 931 p4est_quadrant_t *q = &quads[i]; in DMSetUp_pforest() 951 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMSetUp_pforest() local 958 p4est_quadrant_t *q = &quads[i]; in DMSetUp_pforest() 3065 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestLabelsInitialize() local 3070 p4est_quadrant_t *quad = &quads[q]; in DMPforestLabelsInitialize() 3807 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestMapCoordinates() local 3812 …PetscCall(DMPforestMapCoordinates_Cell(plex, geom, count, &quads[i], t, pforest->topo->conn, coord… in DMPforestMapCoordinates() 3999 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestLocalizeCoordinates() local 4006 p4est_quadrant_t *quad = &quads[i]; in DMPforestLocalizeCoordinates() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 4408 PetscQuadrature affineQuad = NULL, *quads = NULL; in DMPlexComputeResidual_Patch_Internal() local 4445 PetscCall(PetscCalloc2(Nf, &quads, Nf, &geoms)); in DMPlexComputeResidual_Patch_Internal() 4458 PetscCall(PetscFEGetQuadrature(fe, &quads[f])); in DMPlexComputeResidual_Patch_Internal() 4459 PetscCall(PetscObjectReference((PetscObject)quads[f])); in DMPlexComputeResidual_Patch_Internal() 4460 PetscCall(DMSNESGetFEGeom(coordField, cellIS, quads[f], PETSC_FEGEOM_BASIC, &geoms[f])); in DMPlexComputeResidual_Patch_Internal() 4507 PetscQuadrature quad = affineQuad ? affineQuad : quads[f]; in DMPlexComputeResidual_Patch_Internal() 4602 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, quads[f], PETSC_FALSE, &geoms[f])); in DMPlexComputeResidual_Patch_Internal() 4603 PetscCall(PetscQuadratureDestroy(&quads[f])); in DMPlexComputeResidual_Patch_Internal() 4605 PetscCall(PetscFree2(quads, geoms)); in DMPlexComputeResidual_Patch_Internal() 5197 PetscQuadrature affineQuad = NULL, *quads = NULL; in DMPlexComputeResidualByKey() local [all …]
|