Add the ability for regression tests to check against simple integer values at the end of a run.
This adds a --regression-check options that takes a CSV file as an input. If this option is defined, fclaw2d_finalize will read the values and check them against the values of the run. If they don't match, It writes the actual values to a file and exits with a non-zero value.
Some bugs were found and fixed:
fc2d_geoclaw_flag2refine did not have a return value, but the C declaration expected one. This subroutine was changed to a function
elliptic/poisson had undefined values for the RHS after a domain was partitioned during the initialize phase. I added a setup routine to to set the RHS for the patch.
Add the ability for regression tests to check against simple integer values at the end of a run.
This adds a
--regression-check
options that takes a CSV file as an input. If this option is defined,fclaw2d_finalize
will read the values and check them against the values of the run. If they don't match, It writes the actual values to a file and exits with a non-zero value.Some bugs were found and fixed:
fc2d_geoclaw_flag2refine
did not have a return value, but the C declaration expected one. This subroutine was changed to a function