test_dust

Module

Description

Unit tests of the dust module

References:

Laibe & Price (2011), MNRAS 418, 1491 Laibe & Price (2012a), MNRAS 420, 2345 Laibe & Price (2012b), MNRAS 420, 2365 Price & Laibe (2015), MNRAS 451, 5332

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

boundary, deriv, dim, dust, energies, eos, growth, io, kernel, mpidomain, mpiutils, options, part, physcon, random, set_dust, step_lf_global, table_utils, testutils, timestep, unifdis, units, vectorutils

Quick access

Variables:

test_drag, test_dustydiffuse, test_epsteinstokes, write_file

Routines:

test_dust(), test_dustybox()

Needed modules

Variables

  • testdust/test_drag [private]
  • testdust/test_dustydiffuse [private]
  • testdust/test_epsteinstokes [private]
  • testdust/write_file [private]

Subroutines and functions

subroutine  testdust/test_dust(ntests, npass)
Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

dust (idrag(), init_drag(), get_ts(), drag_implicit()), set_dust (set_dustbinfrac()), physcon (solarm(), au()), units (set_units(), unit_density(), udist()), eos (gamma()), dim (use_dust(), use_dustgrowth()), mpiutils (barrier_mpi()), options (use_dustfrac()), table_utils (logspace()), growth (init_growth())

Call to:

set_units(), update_test_scores(), test_dustybox()

subroutine  testdust/test_dustybox(ntests, npass)
Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

boundary (set_boundary(), xmin(), xmax(), ymin(), ymax(), zmin(), zmax(), dxbound(), dybound(), dzbound()), kernel (kernelname()), part (dustgasprop()), step_lf_global (step(), init_step()), deriv (get_derivs_global()), energies (compute_energies(), ekin()), testutils (checkvalbuf(), checkvalbuf_end()), eos (ieos(), polyk(), gamma()), dust (k_code(), idrag(), drag_implicit()), options (alpha(), alphamax()), unifdis (set_unifdis()), dim (periodic(), mhd(), use_dust(), use_dustgrowth()), timestep (dtmax()), io (iverbose()), mpiutils (reduceall_mpi()), mpidomain (i_belong()), growth (ifrag())

Called from:

test_dust(), test_growth()

Call to:

set_boundary(), update_test_scores()