test_rwdump

Module

Description

Unit test of read/write of particle data to/from dump files

References:

None

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

boundary, dim, dump_utils, eos, io, memory, mpiutils, options, part, physcon, readwrite_dumps, testutils, timing, units

Quick access

Routines:

test_rwdump()

Variables

Subroutines and functions

subroutine  testrwdump/test_rwdump(ntests, npass)
Parameters:
  • ntests [integer,inout]

  • npass [integer,inout]

Use :

part (npart(), npartoftype(), massoftype(), xyzh(), hfact(), vxyzu(), bevol(), bxyz(), bextx(), bexty(), bextz(), alphaind(), maxalpha(), periodic(), maxphase(), mhd(), maxvxyzu(), igas(), idust(), maxp(), poten(), gravity(), use_dust(), dustfrac(), xyzmh_ptmass(), nptmass(), nsinkproperties(), xyzh_label(), xyzmh_ptmass_label(), dustfrac_label(), vxyz_ptmass(), vxyz_ptmass_label(), vxyzu_label(), set_particle_type(), iphase(), ndustsmall(), ndustlarge(), ndusttypes(), iorig(), copy_particle_all(), norig()), dim (maxp(), maxdustsmall(), mpi()), memory (allocate_memory(), deallocate_memory()), testutils (checkval(), update_test_scores()), io (idisk1(), id(), master(), iprint(), nprocs()), readwrite_dumps (read_dump(), write_fulldump(), write_smalldump(), read_smalldump(), is_small_dump()), eos (gamma(), polyk()), boundary (set_boundary(), xmin(), xmax(), ymin(), ymax(), zmin(), zmax()), units (set_units(), umass(), udist()), physcon (au(), solarm()), mpiutils (barrier_mpi()), dump_utils (read_array_from_file()), timing (getused(), printused()), options (use_dustfrac())

Called from:

testsuite()

Call to:

set_boundary(), set_units(), getused(), printused(), update_test_scores()