Home
last modified time | relevance | path

Searched refs:minDegree (Results 1 – 9 of 9) sorted by relevance

/petsc/src/dm/dt/space/interface/
H A Dspace.c343 PetscErrorCode PetscSpaceGetDegree(PetscSpace sp, PeOp PetscInt *minDegree, PeOp PetscInt *maxDegre… in PetscSpaceGetDegree() argument
347 if (minDegree) PetscAssertPointer(minDegree, 2); in PetscSpaceGetDegree()
349 if (minDegree) *minDegree = sp->degree; in PetscSpaceGetDegree()
/petsc/src/dm/field/interface/
H A Ddmfield.c346 PetscErrorCode DMFieldGetDegree(DMField field, IS cellIS, PeOp PetscInt *minDegree, PeOp PetscInt *… in DMFieldGetDegree() argument
351 if (minDegree) PetscAssertPointer(minDegree, 3); in DMFieldGetDegree()
354 if (minDegree) *minDegree = -1; in DMFieldGetDegree()
357 PetscTryTypeMethod(field, getDegree, cellIS, minDegree, maxDegree); in DMFieldGetDegree()
/petsc/src/dm/field/impls/da/
H A Ddmfieldda.c355 static PetscErrorCode DMFieldGetDegree_DA(DMField field, IS pointIS, PetscInt *minDegree, PetscInt … in DMFieldGetDegree_DA() argument
371 if (minDegree) *minDegree = 1; in DMFieldGetDegree_DA()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDM.pyx683 def copyFields(self, DM dm, minDegree = None, maxDegree = None) -> None: argument
692 minDegree
705 if minDegree is None:
708 mindeg = asInt(minDegree)
755 def copyDS(self, DM dm, minDegree = None, maxDegree = None) -> None: argument
764 minDegree
777 if minDegree is None:
780 mindeg = asInt(minDegree)
H A DSpace.pyx124 minDegree : int
/petsc/src/dm/dt/interface/
H A Ddtds.c3689 …ons(PetscDS prob, PetscInt numFields, const PetscInt fields[], PetscInt minDegree, PetscInt maxDeg… 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/interface/
H A Ddm.c5204 PetscErrorCode DMCopyFields(DM dm, PetscInt minDegree, PetscInt maxDegree, DM newdm) in DMCopyFields() argument
5223 PetscCall(PetscFELimitDegree((PetscFE)field, minDegree, maxDegree, &newfe)); in DMCopyFields()
6323 static PetscErrorCode DMTransferDS_Internal(DM dm, DMLabel label, IS fields, PetscInt minDegree, Pe… 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 Dfe.c2240 PetscErrorCode PetscFELimitDegree(PetscFE fe, PetscInt minDegree, PetscInt maxDegree, PetscFE *newf… in PetscFELimitDegree() argument
2263 if (minDegree >= 0) k = PetscMax(k, minDegree); in PetscFELimitDegree()
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c656 static PetscErrorCode DMFieldGetDegree_DS(DMField field, IS pointIS, PetscInt *minDegree, PetscInt … in DMFieldGetDegree_DS() argument
683 PetscCall(PetscSpaceGetDegree(sp, minDegree, maxDegree)); in DMFieldGetDegree_DS()