options

Module

Description

Sets default values of input parameters

these are overwritten by reading from the input file or by setting them in the setup routine

References:

None

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

damping, dim, eos, kernel, part, timestep, units, viscosity

Quick access

Variables:

alpha, alphab, alphamax, alphau, avdecayconst, beta, calc_erot, damp, exchange_radiation_energy, icooling, idamp, ieos, iexternalforce, implicit_radiation, implicit_radiation_store_drad, iopacity_type, ipdv_heating, ireconav, iresistive_heating, ishock_heating, ism, limit_radiation_flux, mcfost_computes_lacc, mcfost_dust_subl, mcfost_keep_part, mcfost_uses_pdv, nfulldump, nmaxdumps, overcleanfac, psidecayfac, rhofinal1, rhofinal_cgs, rkill, sp, tolh, twallmax, use_dustfrac, use_hybrid, use_mcfost, use_mcfost_stellar_parameters, use_porosity, use_var_comp, use_voronoi_limits_file, voronoi_limits_file

Routines:

set_default_options()

Needed modules

  • eos (ieos(), iopacity_type(), use_var_comp())

  • damping (idamp()): Various implementations for artificial damping of velocities either to relax particles into equilibrium or enforce boundary conditions

Variables

  • options/alpha [real,public]
  • options/alphab [real,public]
  • options/alphamax [real,public]
  • options/alphau [real,public]
  • options/avdecayconst [real,public]
  • options/beta [real,public]
  • options/calc_erot [logical,public]
  • options/damp [real,public]
  • options/exchange_radiation_energy [logical,public]
  • options/icooling [integer,public]
  • options/idamp [public]

    so this is available via options module

  • options/ieos [public]
  • options/iexternalforce [integer,public]
  • options/implicit_radiation [logical,public]
  • options/implicit_radiation_store_drad [logical,public]
  • options/iopacity_type [public]
  • options/ipdv_heating [integer,public]
  • options/ireconav [integer,public]
  • options/iresistive_heating [integer,public]
  • options/ishock_heating [integer,public]
  • options/ism [integer,public]
  • options/limit_radiation_flux [logical,public]
  • options/mcfost_computes_lacc [logical,public]
  • options/mcfost_dust_subl [logical,public]
  • options/mcfost_keep_part [real,public]
  • options/mcfost_uses_pdv [logical,public]
  • options/nfulldump [integer,public]
  • options/nmaxdumps [integer,public]
  • options/overcleanfac [real,public]
  • options/psidecayfac [real,public]
  • options/rhofinal1 [real,public]
  • options/rhofinal_cgs [real,public]
  • options/rkill [real,public]
  • options/sp [integer,private/parameter/optional/default=4]

    single precision

  • options/tolh [real,public]
  • options/twallmax [real,public]
  • options/use_dustfrac [logical,public]
  • options/use_hybrid [logical,public]
  • options/use_mcfost [logical,public]
  • options/use_mcfost_stellar_parameters [logical,public]
  • options/use_porosity [logical,public]
  • options/use_var_comp [public]

    use variable composition

  • options/use_voronoi_limits_file [logical,public]
  • options/voronoi_limits_file [character,public]

Subroutines and functions

subroutine  options/set_default_options()
Use :

timestep (set_defaults_timestep()), part (hfact(), bextx(), bexty(), bextz(), mhd(), maxalpha(), ien_type(), ien_entropy()), viscosity (set_defaults_viscosity()), dim (maxp(), maxvxyzu(), nalpha(), gr(), do_radiation()), kernel (hfact_default()), eos (polyk2()), units (set_units())

Call to:

set_units(), set_defaults_viscosity()