Regression Tests
The current distribution of the code has been set up with a series of regression tests based around the demos and solvers in the library. The source wrapper source code for these tests can be found under:
- Nektar++/regressionTests/
- Nektar++/library/Demos/
The compilation instructions for the regression tests can be found at the end of the compile instructions for your machine. Once Nektar++ and the regression tests have been compiled you can execute the regression tests in the following way:
- Change directory to the Demo of solver that you wish to run regression tests on for example Nektar++/regressionTest/builds/Demos/StdRegions
- Execute the regression test, for example ./StdRegionsDemosTest and you should see a series of test being run with output similar to:
- The same can be done for the solver you wish to run regression tests on for example Nektar++/regressionTest/builds/Solvers/ADRSolver
- Execute the regression test, for example ./ADRSolverTest and you should see a series of test being run with output similar to:
.......... .......... PASSED: StdProject3D (Hex Ortho Basis, P=4, Q=7) PASSED: StdProject3D (Hex Modified Basis P=6, Q=7) PASSED: StdProject3D (Hex Lagrange Basis P=6, Q=7) PASSED: StdProject3D (Hex Legendre Basis P=6, Q=7) PASSED: StdProject3D (Hex Chebyshev Basis P=6, Q=7) PASSED: StdProject_Diff3D (Tet Ortho Basis, P=4, Q=7) PASSED: StdProject_Diff3D (Tet Modified Basis P=6, Q=7) PASSED: StdProject_Diff3D (Hex Ortho Basis, P=4, Q=7) PASSED: StdProject_Diff3D (Hex Modified Basis P=6, Q=7) PASSED: StdProject_Diff3D (Hex Lagrange Basis P=6, Q=7) PASSED: StdProject_Diff3D (Hex Legendre Basis P=6, Q=7) PASSED: StdProject_Diff3D (Hex Cheby. Basis P=6, Q=7)
.......... .......... PASSED: ADRSolver (2D unsteady DG advection, order 1, P=12) PASSED: ADRSolver (2D unsteady DG advection, order 2, P=12) PASSED: ADRSolver (2D unsteady DG advection, order 4, P=14) PASSED: ADRSolver (2D unsteady DG implicit diffusion, order 3, P=6) PASSED: ADRSolver (2D unsteady DG implicit diffusion, order 3, P=12) PASSED: ADRSolver (2D unsteady DG explicit diffusion, order 4, P=3) PASSED: ADRSolver (2D unsteady DG explicit diffusion, order 4, P=8) PASSED: ADRSolver (2D unsteady advection-diffusion, IMEXOrder1, P=9, dt=0.001) PASSED: ADRSolver (2D unsteady advection-diffusion, IMEXOrder1, P=9, dt=0.0001) PASSED: ADRSolver (2D unsteady advection-diffusion, IMEXOrder2, P=9, dt=0.001) PASSED: ADRSolver (2D unsteady advection-diffusion, IMEXOrder2, P=9, dt=0.0001)