pyroteus / opt_adapt

PDE-constrained optimisation using mesh adaptive methods
0 stars 1 forks source link

Plot convergence against CPU time #15

Closed jwallwork23 closed 2 years ago

jwallwork23 commented 2 years ago

Currently plot_convergence.py simply plots the objective function value against iteration number. This PR also allows plotting against the cumulative CPU time. Note that simulations must be re-run first because the CPU times and element counts must be logged.

The PR also does some formatting, fixes a couple of errors introduced whilst rebasing and increases the divergence tolerance.