test_ptmass
Module
Description
Unit tests of the ptmass/sink particles module
- References:
None
- Owner:
Daniel Price
- Runtime parameters:
None
- Dependencies:
HIIRegion, boundary, centreofmass, checksetup, cons2prim, deriv, dim, energies, eos, eos_HIIR, extern_binary, extern_gr, externalforces, gravwaveutils, io, kdtree, kernel, metric, metric_tools, mpiutils, options, part, physcon, ptmass, random, setbinary, setdisc, setup_params, spherical, step_lf_global, stretchmap, subgroup, testutils, timestep, timing, units
Quick access
- Variables:
set_units_for_tests
,test_accretion
,test_binary
,test_chinese_coin
,test_createsink
,test_hiiregion
,test_merger
,test_sdar
,test_sink_binary_gr
,test_sink_potential
,test_softening
- Routines:
Needed modules
testutils
(checkval()
,update_test_scores()
): This routine contains utility functions for use in the testsuite modules
Variables
- testptmass/set_units_for_tests [private]
- testptmass/test_accretion [private]
- testptmass/test_binary [private]
- testptmass/test_chinese_coin [private]
- testptmass/test_createsink [private]
- testptmass/test_hiiregion [private]
- testptmass/test_merger [private]
- testptmass/test_sdar [private]
- testptmass/test_sink_binary_gr [private]
- testptmass/test_sink_potential [private]
- testptmass/test_softening [private]
Subroutines and functions
- subroutine testptmass/test_ptmass(ntests, npass, string_bn)
- Parameters:
ntests [integer,inout]
npass [integer,inout]
string_bn [character,in]
- Use :
io
(id()
,master()
,iskfile()
),eos
(polyk()
,gamma()
),part
(nptmass()
,gr()
),options
(iexternalforce()
,alpha()
),ptmass
(use_fourthorder()
,set_integration_precision()
)