Closed nhartney closed 8 months ago
Looks good! Please just update PR description now that we are not interpolating b to the CG space (and carefully check where this line has gone!)
I think it looks like the line isn't there because it is comparing to what is on main rather than comparing to previous commits on this branch. The lines do appear in the commit history of the branch.
This PR makes three changes to the
ThermalSWSolver
class inlinear_solvers.py
.ThermalSWSolver
. The solver should only be used in equations sets with a thermal field and this will raise aNotImplementedError
if the solver is being used and there is no buoyancy field.bbar
to be in the DG space and discretises the terms involving derivatives ofbbar
in the thermal linear solver using integration by parts.