Version 6 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE b4step(NodeInfo Info)
Defined In:
Inputs:
NodeInfo
Info. The grid to be prepped for advancement.
Description:
Implements any problem conditions that need to be initialized before each timestep. A common example is the inflow of material into the problem domain, such as you might get from a wind or a jet.
This function has five main tasks:
- If MHD is turned on, then the b4stepMHD() subroutine is called.
- If source term protection is turned on (
iProtect > 0
), then the Protect() subroutine is called.
- If the module flag
l
module
is set, thenb4step()
triggers theb4step_
module
()
subroutine.
- If the
FloorTemp
variable is greater than 0, then the subroutine ensures that each cell's energy density value does not drop belowFloorTemp * rho + 1/2 (rho * |v|^2 + |B|^2)
.
- If
MaintainAuxArrays
is set, then theaux
array masks are set to-INFINITY
.
Called In:
Modules Used:
None.
Files Included:
None.
Note:
See TracWiki
for help on using the wiki.