47 INTEGER :: I, J, K, IJK
52 IF(stiff_chemistry)
THEN 55 IF(.NOT.energy_eq)
THEN 56 WRITE(
err_msg,1004)
'ENERGY_EQ = .FALSE.' 62 WRITE(
err_msg,1004)
'RO_G0 /= UNDEFINED' 67 WRITE(
err_msg,1004)
'SPECIES_EQ(0) = .FALSE.' 90 IF(
allocated(sum_r_g)) sum_r_g = zero
99 1004
FORMAT(
'Error 1004: ', &
100 'Invalid parameters for stiff chemistry solver!',// &
101 ' The following criteria must be satisfied:',/ &
102 ' > Solving the energy equations.',/ &
103 ' > Compressible gas phase.',/ &
104 ' > Solving gas phase species equations.',// &
105 ' >>> Invalid Parameter: ',a,// &
106 'Check the user documentation and correct the mfix.dat file.')
159 LOGICAL :: LIMIT_MAX_STEPS
166 ode_dimn_g = 2 +
nmax(0)
168 ode_dimn_g = ode_dimn_g + mmax
171 ode_dimn_all = ode_dimn_g
184 IF(.NOT.(
allocated(ode_atol)))
allocate(ode_atol(ode_dimn_all))
188 lrn = 20 + 16*ode_dimn_all
189 lrs = 22 + 9*ode_dimn_all + (ode_dimn_all**2)
190 ode_lrw = max(lrn, lrs)
193 ode_liw = 20 + ode_dimn_all
201 limit_max_steps = .false.
203 limit_max_steps = .true.
integer stiff_chem_max_steps
logical, dimension(0:dim_m) species_eq
double precision, dimension(:), allocatable sum_r_g
double precision, dimension(:,:), allocatable sum_r_s
double precision, parameter undefined
double precision, dimension(1) ode_rtol
subroutine init_err_msg(CALLER)
double precision, dimension(:), allocatable ode_atol
integer, dimension(0:dim_m) nmax
subroutine check_odepack_stiff_chem
integer, parameter undefined_i
character(len=line_length), dimension(line_count) err_msg
subroutine, public allocate_stiff_chem_stats
logical, dimension(:), allocatable notowner
double precision, parameter zero
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)
subroutine, public allocate_stiff_chem_dbg(lODE_DIMN)