Skip to content

Commit f361ead

Browse files
committed
misc: Add to docstring in EssentialBC
1 parent 52250e1 commit f361ead

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

devito/petsc/types/equation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ class EssentialBC(Eq):
1010
1111
The compiler will automatically zero the corresponding rows/columns in the Jacobian
1212
and lift the boundary terms into the residual RHS, unless the BC is constrained
13-
via a `PetscSection`. Constraining can be enabled in two ways:
13+
via a `PetscSection`. In which case, they are set once and removed from the global solver.
14+
Constraining can be enabled in two ways:
1415
1516
- Globally: pass `constrain_bcs=True` to `petscsolve` to constrain all
1617
`EssentialBC`s in the solve.

0 commit comments

Comments
 (0)