Closed will-saunders-ukaea closed 1 year ago
* All of the integration tests pass, except for Electrostatic2D3V.TwoStream, which mostly fails with errors like `The difference between c1 and 7.255197456936871 is 1.6648960104856494, which exceeds 0.73, where c1 evaluates to 5.590301446451222` ... although it does seem to pass intermittently with intel
I think this is caused by (not great) detection of where to fit the straight line for the energy. With the previous implementation the instability started reliably at the same place each time.
@oparry-ukaea I think I've addressed your comments.
* All of the integration tests pass, except for Electrostatic2D3V.TwoStream, which mostly fails with errors like `The difference between c1 and 7.255197456936871 is 1.6648960104856494, which exceeds 0.73, where c1 evaluates to 5.590301446451222` ... although it does seem to pass intermittently with intel
I think this is caused by (not great) detection of where to fit the straight line for the energy. With the previous implementation the instability started reliably at the same place each time.
For lack of a better idea - can we just increase the test tolerance? It would be a pain to have this keep failing
@oparry-ukaea Can you try this commit - added some straight line detection and shifted the time interval the fit is over to slightly later.
Trying it now
I'm using --gtest_filter=Electrostatic2D3V.TwoStream --gtest_repeat=10
so it might take a while...!
Bary Interpolation and polynomial basis evaluation.
Adds:
Passes new unit tests and existing integration tests using (tested with intel toolchain)