Feature/tidy adams bashforth coefficient calculation
David Dickinson
Branch: feature/tidy_adams_bashforth_coefficient_calculation
Branch: next
Merged
Merged pull request
Merged in feature/tidy_adams_bashforth_coefficient_calculation (pull request #367)
Add routine to calculate the Adams Bashforth coefficients
Make use of routine to calculate adams bashforth coefficients in source term calculation
This has three advantages:
It tidies up the code, reducing some duplication.
It moves the coefficient calculation out of the loop over
iglo
, slightly reducing costsIt provides coefficients for the 2nd order scheme generalised for variable timestep
Â