Searched refs:defaultConstraint (Results 1 – 3 of 3) sorted by relevance
78 v->defaultConstraint.section = NULL; in DMCreate()79 v->defaultConstraint.mat = NULL; in DMCreate()80 v->defaultConstraint.bias = NULL; in DMCreate()742 PetscCall(PetscSectionDestroy(&(*dm)->defaultConstraint.section)); in DMDestroy()743 PetscCall(MatDestroy(&(*dm)->defaultConstraint.mat)); in DMDestroy()4482 …if (!dm->defaultConstraint.section && !dm->defaultConstraint.mat && dm->ops->createdefaultconstrai… in DMGetDefaultConstraints()4483 if (section) *section = dm->defaultConstraint.section; in DMGetDefaultConstraints()4484 if (mat) *mat = dm->defaultConstraint.mat; in DMGetDefaultConstraints()4485 if (bias) *bias = dm->defaultConstraint.bias; in DMGetDefaultConstraints()4533 PetscCall(PetscSectionDestroy(&dm->defaultConstraint.section)); in DMSetDefaultConstraints()[all …]
293 } defaultConstraint; member
2146 PetscCall(PetscObjectReference((PetscObject)dmA->defaultConstraint.section)); in DMShareDiscretization()2147 PetscCall(PetscSectionDestroy(&dmB->defaultConstraint.section)); in DMShareDiscretization()2148 dmB->defaultConstraint.section = dmA->defaultConstraint.section; in DMShareDiscretization()2149 PetscCall(PetscObjectReference((PetscObject)dmA->defaultConstraint.mat)); in DMShareDiscretization()2150 PetscCall(MatDestroy(&dmB->defaultConstraint.mat)); in DMShareDiscretization()2151 dmB->defaultConstraint.mat = dmA->defaultConstraint.mat; in DMShareDiscretization()