testsuite

Module

Description

Instead of running a simulation this routine, when called,

initiates a series of internal tests on the code

References:

None

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

dim, io, io_summary, memory, mpiutils, options, testapr, testcoala, testcooling, testcorotate, testdamping, testderivs, testdust, testeos, testexternf, testgeometry, testgnewton, testgr, testgravity, testgrowth, testindtstep, testiorig, testkdtree, testkernel, testlinalg, testlum, testmpi, testneigh, testnimhd, testorbits, testpart, testpoly, testptmass, testradiation, testrwdump, testsedov, testsetdisc, testsethier, testsetstar, teststep, testunits, testwind, timing

Quick access

Variables:

set_default_options_testsuite

Routines:

testsuite()

Variables

  • test/set_default_options_testsuite [private]

Subroutines and functions

subroutine  test/testsuite(string_bn, first, last, ntests, npass, nfail)
Parameters:
  • string_bn [character,in]

  • first [logical,in]

  • last [logical,in]

  • ntests [integer,inout]

  • npass [integer,inout]

  • nfail [integer,inout]

Use :

io (iprint(), id(), master(), iverbose(), error()), io_summary (summary_initialise()), testderivs (test_derivs()), teststep (test_step()), testneigh (test_neigh()), testkdtree (test_kdtree()), testsedov (test_sedov()), testgravity (test_gravity()), testdust (test_dust()), testgrowth (test_growth()), testcoala (test_coala()), testpart (test_part()), testnimhd (test_nonidealmhd()), testapr (test_apr()), testkernel (test_kernel()), testptmass (test_ptmass()), testgr (test_gr()), testgnewton (test_gnewton()), testcorotate (test_corotate()), testexternf (test_externf()), testindtstep (test_indtstep()), testrwdump (test_rwdump()), testsetdisc (test_setdisc()), testsetstar (test_setstar()), testsethier (test_sethier()), testeos (test_eos()), testcooling (test_cooling()), testgeometry (test_geometry()), testwind (test_wind()), testiorig (test_iorig()), testpoly (test_poly()), testdamping (test_damping()), testradiation (test_radiation()), testunits (test_units()), testorbits (test_orbits()), testlum (test_lum()), testmpi (test_mpi()), testlinalg (test_linalg()), timing (get_timings(), print_time()), mpiutils (barrier_mpi()), dim (do_radiation(), use_apr(), gr(), mpi(), use_sinktree(), maxp()), memory (deallocate_memory(), allocate_memory())

Called from:

phantomtest

Call to:

get_timings(), test_kernel(), test_neigh(), test_derivs(), test_eos(), test_cooling(), test_gravity(), test_dust(), test_growth(), test_nonidealmhd(), test_rwdump(), test_indtstep(), test_externf(), test_ptmass(), test_gr(), test_gnewton(), test_corotate(), test_setdisc(), test_geometry(), test_radiation(), test_lum(), test_sedov(), print_time()