test_cooling

Module

Description

Unit tests of the cooling module

References:

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

chem, cooling_ism, cooling_solver, eos, io, options, part, physcon, testutils, units

Quick access

Routines:

test_cooling(), test_cooling_rate()

Needed modules

Variables

Subroutines and functions

subroutine  testcooling/test_cooling(ntests, npass)
Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

physcon (solarm(), kpc()), units (set_units())

Call to:

set_units()

subroutine  testcooling/test_cooling_rate(ntests, npass)

use cooling, only:energ_cooling

Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

cooling_ism (nrates(), dphot0(), init_cooling_ism(), energ_cooling_ism(), dphotflag(), abundsi(), abundo(), abunde(), abundc(), nabn()), cooling_solver (excitation_hi(), icool_method()), chem (update_abundances(), init_chem(), get_dphot()), part (nabundances(), ihi()), physcon (rg(), mass_proton_cgs()), units (unit_ergg(), unit_density(), udist(), utime()), options (icooling()), eos (gamma(), gmw())

Call to:

init_chem(), get_dphot(), update_abundances()