Changes between Version 16 and Version 17 of TestSuite
- Timestamp:
- 06/30/11 13:53:01 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestSuite
v16 v17 3 3 4 4 5 == Current testing (new) 6 At the moment we do post-processing tests of astroBEAR2.0. Test related files and directories are located in modules/tests/. Each test has its own directory which contains: 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/. 8 Each test has its own directory which contains: 7 9 - the problem's data files (global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data), 8 10 - the problem's module (problem.f90), 9 11 - bear2fix.data, bear2fix.data.test and bear2fix.data.img which are BearToFix data files (see below), 10 - a "ref" directory which has the file chombo00001.hdf (see below). 12 - a "ref" directory which contains the reference chombo file. 13 14 ''The reference chombo file.'' This file, chombo00001.hdf, has been produced with the code and verified by someone in our research group using well documented, and quantitative, analytical or numerical studies. Reference chombos are included with the current distribution of the code. 15 16 '''Running tests''' 11 17 12 18 13 19 20 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 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. 26 27 '''Tests error calculations'''. These are done in BearToFix via L2norms and LInfinity norms 14 28 15 29 ----