Lines Matching refs:defaultConstraint
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()
4534 dm->defaultConstraint.section = section; in DMSetDefaultConstraints()
4536 PetscCall(MatDestroy(&dm->defaultConstraint.mat)); in DMSetDefaultConstraints()
4537 dm->defaultConstraint.mat = mat; in DMSetDefaultConstraints()
4539 PetscCall(VecDestroy(&dm->defaultConstraint.bias)); in DMSetDefaultConstraints()
4540 dm->defaultConstraint.bias = bias; in DMSetDefaultConstraints()