Testing MHD by solving with Two kernels at the same time
A proposal by Vasco
2016-11-21 10:16 GMT+01:00 Vasco Varduhn varduhn@tum.de:
Hi,
I had an idea in for testing the C kernels i.e. comparing them with the FORTRAN kernels. In the MySomethingSolver_generated.cpp are the calls to the kernels.
In there you could copy the input data to additional arrays, call both the C and the FORTRAN kernels on the different copies, and then compare the output data entry by entry and throw an error, if the values differ (too much).
This would allow for an element-wise comparison of all kernels.
Best,
Vasco
As a followup from gi26det/ExaHyPE#72