Skip to content

Commit

Permalink
#73: Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ddundo committed Dec 20, 2024
1 parent c08e5f2 commit 003629a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions goalie/adjoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ def _solve_adjoint(
:type get_adj_values: :class:`bool`
:kwarg test_checkpoint_qoi: solve over the final subinterval when checkpointing
so that the QoI value can be checked across runs
:kwarg: track_coefficients: if ``True``, the adjoint solver will track the
coefficients in the variational form to detect changes between export times.
Only relevant for goal-oriented error estimation on unsteady problems.
:kwarg: track_coefficients: if ``True``, coefficients in the variational form
will be stored whenever they change between export times. Only relevant for
goal-oriented error estimation on unsteady problems.
:type track_coefficients: :class:`bool`
:yields: the solution data of the forward and adjoint solves
:ytype: :class:`~.AdjointSolutionData`
Expand Down
2 changes: 1 addition & 1 deletion test/adjoint/test_adjoint_mesh_seq.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def test_constant_coefficients(self):
self.assertEqual(mesh_seq._changed_form_coeffs, {self.field: {}})

def test_changed_coefficients(self):
# Change coefficient f by f_diff every timestep
# Change coefficient f by coeff_diff every timestep
coeff_diff = 1.1
mesh_seq = self.go_mesh_seq(coeff_diff=coeff_diff)
adj_gen = mesh_seq._solve_adjoint(track_coefficients=True)
Expand Down

0 comments on commit 003629a

Please sign in to comment.