wiki:ReadPhysics

Version 4 (modified by trac, 12 years ago) ( diff )

SUBROUTINE ReadPhysics()


Defined In:

contrib/astro/i_setprob.f90


Inputs:

None.


Description:

Initializes variables from the PhysicsData namelist in globaldeclarations.f90. Then it reads in the values for these variables from the physics.data file in the simulation's problem directory.

This routine brings in several physical constants such as Boltzmann and the mass of hydrogen. It also provides the dimensional scaling factors, as well as switches for viscosity and cylindrical symmetry.


Called In:

setprob :: setprob()


Modules Used:

None are brought in by the USE statement, but GlobalDeclarations must be USEd in problem.f90 or this subroutine is pretty pointless.


Files Included:

None.

Note: See TracWiki for help on using the wiki.