Skip to content

Commit

Permalink
Fixed energylist/timelist sync bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlhicks committed Jul 19, 2024
1 parent 6052f4e commit 6c50bcb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions q3d/firedrakeplus/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ def _non_graddesc_solve(times_list, q_soln, bcs, solver_parameters, newton_param
except ConvergenceError:
pr.fail('Convergence error')
return False

# add the energy of q_soln to the energies
energies.append(compute_energy(q_soln))

# print energy
pr.iter_info_verbose(f'NON GD SOLVE COMPLETED', f'energy = {energies[-1]}', i=len(energies))
Expand Down

0 comments on commit 6c50bcb

Please sign in to comment.