Reset trigger, status bit and current time for steady state
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_simControl_type), | intent(inout) | :: | me |
subroutine tem_simControl_steadyState_reset(me)
! -------------------------------------------------------------------- !
type(tem_simControl_type), intent(inout) :: me
! -------------------------------------------------------------------- !
! clear status bit
call tem_status_clear(me%status)
! reset current time
call tem_time_reset(me%now)
! Run steady state solver untill the solution convergences
me%timeControl%max%sim = huge(me%timeControl%max%sim)
me%timeControl%max%iter = huge(me%timeControl%max%iter)
! reset simcontrol trigger
call tem_timeControl_reset_trigger(me%timeControl)
! reset convergence to check for new steady state
call tem_convergence_reset(me%abortCriteria%convergence )
end subroutine tem_simControl_steadyState_reset