@@ -139,7 +139,7 @@ program DAMASK_mesh
139139 if (boundary == 0 ) & ! label not defined in mesh file
140140 call IO_error(812_pI16 , ' label' , trim (bc_label_name), ' not defined' , emph = [2 ])
141141 if (read_BC_entries(boundary)) & ! duplicated label/tag
142- call IO_error(812_pI16 , ' duplicated entries: label' , trim (bc_label_name), " and tag" , &
142+ call IO_error(812_pI16 , ' duplicated entries: label' , trim (bc_label_name), ' and tag' , &
143143 mesh_boundariesIS(boundary), emph = [2 ,4 ])
144144 read_BC_entries(boundary) = .true.
145145 loadCases(l)% mechBC(boundary)% use_label = .true.
@@ -154,8 +154,7 @@ program DAMASK_mesh
154154 read_BC_entries(boundary) = .true.
155155 loadCases(l)% mechBC(boundary)% use_label = .false.
156156 else
157- call IO_error(837_pI16 , ' entry' // IO_intAsStr(m)// ' : at least one of &
158- & "tag/label" required' )
157+ call IO_error(812_pI16 , ' neither "label" nor "tag" given for boundary condition' , m, emph= [2 ])
159158 end if
160159 mech_u = > mech_BC% get_list(' dot_u' )
161160 do component = 1 , dimPlex
@@ -186,11 +185,9 @@ program DAMASK_mesh
186185 skip_T2 = skip_T1+1 + floor (log10 (real (maxval (mesh_boundariesIS))))+ 1+1+1 ! T1+"("+NumDigits(floor()+1)+")"+blank
187186 checkLoadcases: do l = 1 , size (load_steps)
188187 if (loadCases(l)% N < 1 ) &
189- call IO_error(813_pI16 , ' loadcase' , IO_intAsStr(l)// ' :' , ' N' , &
190- ' must be positive' , emph = [3 ])
188+ call IO_error(813_pI16 , ' loadcase' , l, ' has non-positive number of steps ("N")' , emph = [2 ])
191189 if (loadCases(l)% f_out < 1 ) &
192- call IO_error(813_pI16 , ' loadcase' , IO_intAsStr(l)// ' :' , ' f_out' , &
193- ' must be positive' , emph = [3 ])
190+ call IO_error(813_pI16 , ' loadcase' , l, ' has non-positive output frequency ("f_out")' , emph = [2 ])
194191
195192 print ' (/,1x,a,1x,i0)' , ' load case:' , l
196193 if (.not. loadCases(l)% estimate_rate) print ' (2x,a)' , ' drop guessing along trajectory'
@@ -208,7 +205,7 @@ program DAMASK_mesh
208205 if (loadCases(l)% mechBC(boundary)% active(component)) &
209206 print ' (4x,a,T' // IO_intAsStr(skip_T1)// ' ,a,i0,a,' // &
210207 ' T' // IO_intAsStr(skip_T2)// ' ,a,1x,i1,1x,a,1x,f12.7)' , &
211- trim (bc_label_name), " ( " , mesh_boundariesIS(boundary), " ) " , &
208+ trim (bc_label_name), ' ( ' , mesh_boundariesIS(boundary), ' ) ' , &
212209 ' Component' , component, &
213210 ' Value' , loadCases(l)% mechBC(boundary)% dot_u(component)
214211 end do
0 commit comments