Nektar++

Downloads

Compilation Instructions
   Linux
   Windows
   Mac OS X
   Unit Tests
   Regression Tests
   Documentation

Example Usage

Educational Material

Documentation

Team Members

Publications

License

Acknowledgments

Contact

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:

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:

  1. Change directory to the Demo of solver that you wish to run regression tests on for example Nektar++/regressionTest/builds/Demos/StdRegions
  2. Execute the regression test, for example ./StdRegionsDemosTest
  3. 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)
    

  4. The same can be done for the solver you wish to run regression tests on for example Nektar++/regressionTest/builds/Solvers/ADRSolver
  5. Execute the regression test, for example ./ADRSolverTest
  6. and you should see a series of test being run with output similar to:

    ..........
    ..........
    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)