Home
last modified time | relevance | path

Searched refs:hasBound (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/utils/
H A Ddmplexsnes.c1065 PetscBool hasBound, hasLower = PETSC_FALSE, hasUpper = PETSC_FALSE; in DMPlexSetSNESVariableBounds() local
1069 PetscCall(DMHasBound(dm, &hasBound)); in DMPlexSetSNESVariableBounds()
1070 if (!hasBound) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexSetSNESVariableBounds()
/petsc/src/dm/interface/
H A Ddm.c8191 PetscErrorCode DMHasBound(DM dm, PetscBool *hasBound) in DMHasBound() argument
8197 *hasBound = PETSC_FALSE; in DMHasBound()
8205 if (lfunc || ufunc) *hasBound = PETSC_TRUE; in DMHasBound()
8223 if (type == DM_BC_LOWER_BOUND || type == DM_BC_UPPER_BOUND) *hasBound = PETSC_TRUE; in DMHasBound()