5 | | == Current testing (new, 6/30/11) |
6 | | At the moment we do post-processing tests of astroBEAR2.0. Basically, tests consist on comparing the flow variables in a chombo file produced by the tests modules, against a ''reference chombo file'' (see below). |
7 | | All test related files and directories are located in modules/tests/. |
| 5 | == Current testing (6/30/11, under edition) |
| 6 | At the moment we do post-processing tests of astroBEAR2.0. Basically, tests consist on comparing the flow variables in a chombo file produced by the test modules, against a ''reference chombo file'' (see below). |
| 7 | All test related files are located in modules/tests/. |
9 | | - the problem's data files (global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data), |
10 | | - the problem's module (problem.f90), |
11 | | - bear2fix.data, bear2fix.data.test and bear2fix.data.img which are BearToFix data files (see below), |
| 9 | - the problem's data files: global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data, |
| 10 | - the problem's module problem.f90, |
| 11 | - two data files used by BearToFix to produce test reports: bear2fix.data.test and bear2fix.data.img, |
21 | | '''Tests report'''. Once test runs are finished, BearToFix will be executed. |
22 | | It will do the error computations and produce two png images showing the reference and the current result of the run. This images will be linked to corresponding wiki pages of the tests. |
23 | | BearToFix is executed twice; the 1st time it read bear2fix.data.img to set the colour tables for the test report images, whereas the 2nd time it read bear2fix.data.test to perfom the erroc computation and produce the test report images. |
24 | | |
25 | | '''Tests error calculations'''. These are done in BearToFix via L2norms and LInfinity norms |
26 | | |
27 | | To use BearToFix by yourself (e.g. in order to do further adjustment of the test report parameters), select operation 11, test 4 (Generic Test) and input the maximum mean error tolerance (see below) allowed for each fluid variable. BearToFix will then produce the test report images and links to their wiki pages. |
28 | | |
29 | | '''If the test fails''', BearToFix outputs the current errors as well as suggested new tolerances (5% higher then the current errors). The user can then copy and paste these figures into the bear2fix.data.test file. |
| 26 | '''If the test fails''', BearToFix outputs the current errors as well as suggested new tolerances (5% higher then the current errors). The user can then copy and paste these figures into the bear2fix.data.test file and run BearToFix again. |