| /petsc/src/dm/dt/space/interface/ |
| H A D | space.c | 295 s->maxDegree = PETSC_DETERMINE; in PetscSpaceCreate() 343 …tscErrorCode PetscSpaceGetDegree(PetscSpace sp, PeOp PetscInt *minDegree, PeOp PetscInt *maxDegree) in PetscSpaceGetDegree() argument 348 if (maxDegree) PetscAssertPointer(maxDegree, 3); in PetscSpaceGetDegree() 350 if (maxDegree) *maxDegree = sp->maxDegree; in PetscSpaceGetDegree() 366 PetscErrorCode PetscSpaceSetDegree(PetscSpace sp, PetscInt degree, PetscInt maxDegree) in PetscSpaceSetDegree() argument 371 sp->maxDegree = maxDegree; in PetscSpaceSetDegree()
|
| /petsc/src/dm/field/interface/ |
| H A D | dmfield.c | 346 …Code DMFieldGetDegree(DMField field, IS cellIS, PeOp PetscInt *minDegree, PeOp PetscInt *maxDegree) in DMFieldGetDegree() argument 352 if (maxDegree) PetscAssertPointer(maxDegree, 4); in DMFieldGetDegree() 355 if (maxDegree) *maxDegree = PETSC_INT_MAX; in DMFieldGetDegree() 357 PetscTryTypeMethod(field, getDegree, cellIS, minDegree, maxDegree); in DMFieldGetDegree() 444 PetscInt maxDegree; in DMFieldCreateFEGeom() local 523 PetscCall(DMFieldGetDegree(field, pointIS, NULL, &maxDegree)); in DMFieldCreateFEGeom() 524 g->isAffine = (maxDegree <= 1) ? PETSC_TRUE : PETSC_FALSE; in DMFieldCreateFEGeom()
|
| /petsc/src/dm/dt/fe/tests/ |
| H A D | ex2.c | 123 PetscInt Nf, f, maxDegree; in CreateFEGeometry() local 132 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in CreateFEGeometry() 133 if (maxDegree <= 1) { in CreateFEGeometry()
|
| H A D | ex1.c | 132 PetscInt Nf, f, maxDegree; in CreateFEGeometry() local 141 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in CreateFEGeometry() 142 if (maxDegree <= 1) { in CreateFEGeometry()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Space.pyx | 126 maxDegree : int 138 def setDegree(self, degree: int | None, maxDegree: int | None) -> None: 143 One of ``degree`` and ``maxDegree`` can be `None`. 149 maxDegree 160 if maxDegree is not None: cmaxdegree = asInt(maxDegree)
|
| H A D | DM.pyx | 683 def copyFields(self, DM dm, minDegree = None, maxDegree = None) -> None: argument 695 maxDegree 710 if maxDegree is None: 713 maxdeg = asInt(maxDegree) 755 def copyDS(self, DM dm, minDegree = None, maxDegree = None) -> None: argument 767 maxDegree 782 if maxDegree is None: 785 maxdeg = asInt(maxDegree)
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 2421 PetscInt maxDegree; in DMPlexComputeIntegral_Internal() local 2461 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeIntegral_Internal() 2462 if (maxDegree <= 1) { in DMPlexComputeIntegral_Internal() 2764 PetscInt maxDegree; in DMPlexComputeBdIntegral_Internal() local 2773 PetscCall(DMFieldGetDegree(coordField, pointIS, NULL, &maxDegree)); in DMPlexComputeBdIntegral_Internal() 2794 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, pointIS, &qGeom)); in DMPlexComputeBdIntegral_Internal() 3611 PetscInt maxDegree; in DMPlexComputeInjectorFEM() local 3617 PetscCall(PetscSpaceGetDegree(sp, NULL, &maxDegree)); in DMPlexComputeInjectorFEM() 3618 if (!maxDegree) needAvg[f] = PETSC_TRUE; in DMPlexComputeInjectorFEM() 4406 PetscInt maxDegree = PETSC_INT_MAX; in DMPlexComputeResidual_Patch_Internal() local [all …]
|
| H A D | plexproject.c | 946 PetscInt maxDegree; in DMProjectLocal_Generic_Plex() local 1028 PetscCall(DMFieldGetDegree(coordField, isectIS, NULL, &maxDegree)); in DMProjectLocal_Generic_Plex() 1029 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, isectIS, &quad)); in DMProjectLocal_Generic_Plex() 1070 PetscCall(DMFieldGetDegree(coordField, pointIS, NULL, &maxDegree)); in DMProjectLocal_Generic_Plex() 1071 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, pointIS, &quad)); in DMProjectLocal_Generic_Plex()
|
| /petsc/src/dm/field/impls/ds/ |
| H A D | dmfieldds.c | 456 PetscInt maxDegree; in DMFieldEvaluateFV_DS() local 483 PetscCall(DMFieldGetDegree(coordField, pointIS, NULL, &maxDegree)); in DMFieldEvaluateFV_DS() 484 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, pointIS, &quad)); in DMFieldEvaluateFV_DS() 656 …cErrorCode DMFieldGetDegree_DS(DMField field, IS pointIS, PetscInt *minDegree, PetscInt *maxDegree) in DMFieldGetDegree_DS() argument 683 PetscCall(PetscSpaceGetDegree(sp, minDegree, maxDegree)); in DMFieldGetDegree_DS() 790 PetscInt maxDegree; in DMFieldComputeFaceData_DS() local 800 PetscCall(DMFieldGetDegree(field, cellIS, NULL, &maxDegree)); in DMFieldComputeFaceData_DS() 835 if (maxDegree <= 1) { in DMFieldComputeFaceData_DS()
|
| /petsc/src/dm/dt/space/impls/poly/ |
| H A D | spacepoly.c | 93 sp->maxDegree = PETSC_DETERMINE; in PetscSpaceSetUp_Polynomial() 99 sp->maxDegree = sp->degree; in PetscSpaceSetUp_Polynomial()
|
| /petsc/src/dm/dt/space/impls/point/ |
| H A D | spacepoint.c | 123 sp->maxDegree = PETSC_INT_MAX; in PetscSpaceCreate_Point()
|
| /petsc/src/dm/field/impls/da/ |
| H A D | dmfieldda.c | 355 …cErrorCode DMFieldGetDegree_DA(DMField field, IS pointIS, PetscInt *minDegree, PetscInt *maxDegree) in DMFieldGetDegree_DA() argument 372 if (maxDegree) *maxDegree = dim; in DMFieldGetDegree_DA()
|
| /petsc/src/dm/dt/space/impls/ptrimmed/ |
| H A D | spaceptrimmed.c | 102 …sp->maxDegree = (pt->formDegree == 0 || PetscAbsInt(pt->formDegree) == sp->Nv) ? sp->degree : sp->… in PetscSpaceSetUp_Ptrimmed()
|
| /petsc/include/petsc/private/ |
| H A D | petscfeimpl.h | 40 PetscInt maxDegree; /* The containing approximation order of the space */ member
|
| /petsc/src/dm/dt/space/impls/wxy/ |
| H A D | spacewxy.c | 46 sp->maxDegree = sp->degree; in PetscSpaceSetUp_WXY()
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtds.c | 3689 …tscInt numFields, const PetscInt fields[], PetscInt minDegree, PetscInt maxDegree, PetscDS newprob) in PetscDSSelectDiscretizations() argument 3711 PetscCall(PetscFELimitDegree((PetscFE)disc, minDegree, maxDegree, &fe)); in PetscDSSelectDiscretizations() 3911 PetscErrorCode PetscDSCopy(PetscDS ds, PetscInt minDegree, PetscInt maxDegree, DM dmNew, PetscDS ds… in PetscDSCopy() argument 3922 PetscCall(PetscDSSelectDiscretizations(ds, PETSC_DETERMINE, NULL, minDegree, maxDegree, dsNew)); in PetscDSCopy()
|
| /petsc/src/dm/dt/space/impls/sum/ |
| H A D | spacesum.c | 332 sp->maxDegree = maxDeg; in PetscSpaceSetUp_Sum()
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 5204 PetscErrorCode DMCopyFields(DM dm, PetscInt minDegree, PetscInt maxDegree, DM newdm) in DMCopyFields() argument 5223 PetscCall(PetscFELimitDegree((PetscFE)field, minDegree, maxDegree, &newfe)); in DMCopyFields() 6323 …_Internal(DM dm, DMLabel label, IS fields, PetscInt minDegree, PetscInt maxDegree, PetscDS ds, Pet… in DMTransferDS_Internal() argument 6329 PetscCall(PetscDSCopy(ds, minDegree, maxDegree, dm, dsNew)); in DMTransferDS_Internal() 6332 PetscCall(PetscDSCopy(dsIn, minDegree, maxDegree, dm, dsInNew)); in DMTransferDS_Internal() 6357 PetscErrorCode DMCopyDS(DM dm, PetscInt minDegree, PetscInt maxDegree, DM newdm) in DMCopyDS() argument 6373 PetscCall(DMTransferDS_Internal(newdm, label, fields, minDegree, maxDegree, ds, dsIn)); in DMCopyDS()
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fe.c | 2240 PetscErrorCode PetscFELimitDegree(PetscFE fe, PetscInt minDegree, PetscInt maxDegree, PetscFE *newf… in PetscFELimitDegree() argument 2264 if (maxDegree >= 0) k = PetscMin(k, maxDegree); in PetscFELimitDegree()
|
| /petsc/src/dm/dt/space/impls/tensor/ |
| H A D | spacetensor.c | 248 sp->maxDegree = maxDeg; in PetscSpaceSetUp_Tensor()
|