59 logical (c_bool),
intent(in) :: is_cell_active(:,:)
60 integer (c_int),
intent(in) :: landuse_index(:)
63 integer (c_int) :: istat
65 integer (c_int) :: iindex
66 integer (c_int),
allocatable :: ilandusecodes(:)
67 integer (c_int) :: inumberoflanduses
68 logical (c_bool) :: larelengthsequal
72 call parameter_list%append(
"LU_Code" )
73 call parameter_list%append(
"Landuse_Code" )
75 call params%get_parameters( slkeys=parameter_list, ivalues=ilandusecodes )
76 inumberoflanduses = count( ilandusecodes > 0 )
78 call parameter_list%clear()
79 call parameter_list%append(
"Septic_system_discharge" )
80 call parameter_list%append(
"SEPTIC_DISCHARGE" )
81 call parameter_list%append(
"Daily_septic_discharge" )
92 call assert( istat==0,
"Problem allocating memory", __file__, __line__ )
100 if ( .not. larelengthsequal ) &
101 call warn( smessage=
"The number of landuses does not match the number of annual direct" &
102 //
" recharge rate values.", smodule=__file__, iline=__line__, lfatal=.
true._c_bool )
105 call assert( istat==0,
"Problem allocating memory", __file__, __line__ )
108 do iindex=lbound( landuse_index, 1 ), ubound( landuse_index, 1 )
114 call parameter_list%clear()
115 call parameter_list%append(
"ANNUAL_septic_system_discharge" )
116 call parameter_list%append(
"ANNUAL_SEPTIC_DISCHARGE" )
117 call parameter_list%append(
"ANNUAL_septic_discharge" )
128 call assert( istat==0,
"Problem allocating memory", __file__, __line__ )
136 if ( .not. larelengthsequal ) &
137 call warn( smessage=
"The number of landuses does not match the number of annual direct" &
138 //
" recharge rate values.", smodule=__file__, iline=__line__, lfatal=.
true._c_bool )
141 call assert( istat==0,
"Problem allocating memory", __file__, __line__ )
144 do iindex=lbound( landuse_index, 1 ), ubound( landuse_index, 1 )
subroutine, public warn(smessage, smodule, iline, shints, lfatal, iloglevel, lecho)