test_eos

Module

Description

Unit tests of the equation of state module

References:

None

Owner:

Terrence Tricco

Runtime parameters:

None

Dependencies:

dim, eos, eos_barotropic, eos_gasradrec, eos_helmholtz, eos_idealplusrad, io, ionization_mod, mpiutils, physcon, testeos_stratified, testutils, units

Quick access

Variables:

get_rhot_grid, test_barotropic, test_hormone, test_idealplusrad, test_init, use_rel_tol

Routines:

test_eos(), test_helmholtz()

Variables

  • testeos/get_rhot_grid [private]
  • testeos/test_barotropic [private]
  • testeos/test_hormone [private]
  • testeos/test_idealplusrad [private]
  • testeos/test_init [private]
  • testeos/use_rel_tol [logical,private/optional/default=.true.]

Subroutines and functions

subroutine  testeos/test_eos(ntests, npass)
Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

io (id(), master(), stdout()), physcon (solarm()), units (set_units()), eos_gasradrec (irecomb()), testeos_stratified (test_eos_stratified())

Call to:

set_units()

subroutine  testeos/test_helmholtz(ntests, npass)
Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

eos (maxeos(), equationofstate(), eosinfo(), init_eos()), eos_helmholtz (eos_helmholtz_get_minrho(), eos_helmholtz_get_maxrho(), eos_helmholtz_get_mintemp(), eos_helmholtz_get_maxtemp()), io (id(), master(), stdout()), testutils (checkval(), checkvalbuf(), checkvalbuf_start(), checkvalbuf_end()), units (unit_density())

Call to:

checkvalbuf_start(), eos_helmholtz_get_minrho(), eos_helmholtz_get_maxrho(), eos_helmholtz_get_mintemp(), eos_helmholtz_get_maxtemp()