wiki:setprob

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

SUBROUTINE setprob()


Defined In:

contrib/astro/i_setprob.f90


Inputs:

None.


Description:

This routine is responsible for reading in data from any problem files (usually via a separate subroutine such as ReadDomain() or ReadPhysics() and setting up the initial physical environment of the problem (although the actual grid data is typically handled by qinit()). setprob() is also responsible for calculating scaling constants and initializing any cooling systems.

Module-specific initialization code is executed here as well. Anything that needs to be done before scaling factors are calculated is handled through a subroutine of the form scaleModule(), while anything that can be done post-scaling uses the form InitializeModule()

Called In:

MpiExec :: MPI_Worker()

BearEZ :: BEAR()


Modules Used:

COOL

TF


Files Included:

None.

Note: See TracWiki for help on using the wiki.