Skip to content

Commit

Permalink
Name the solution variable
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Feb 3, 2024
1 parent 1456778 commit 3f76054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/diffusion/mesh1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
to the right:
>>> phi = CellVariable(mesh=mesh)
>>> phi = CellVariable(mesh=mesh, name="solution variable")
>>> phi.faceGrad.constrain([gradRight], mesh.facesRight)
>>> phi.constrain(valueLeft, mesh.facesLeft)
Expand Down

0 comments on commit 3f76054

Please sign in to comment.