Version 3 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE setprob()
Defined In:
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 scale
Module
()
, while anything that can be done post-scaling uses the form Initialize
Module
()
Called In:
Modules Used:
COOL
TF
Files Included:
None.