Modify error message in smth_bld

development
sfilippone 1 month ago
parent cab98295e2
commit dfc261cf34

@ -300,7 +300,7 @@ subroutine amg_caggrmat_minnrg_bld(a,desc_a,ilaggr,nlaggr,parms,&
!!$ endif !!$ endif
!!$ enddo !!$ enddo
!!$ if (jd == -1) then !!$ if (jd == -1) then
!!$ write(0,*) 'Wrong input: we need the diagonal!!!!', i !!$ write(0,*) name,': Warning: there is no diagonal element', i
!!$ else !!$ else
!!$ acsrf%val(jd)=acsrf%val(jd)-tmp !!$ acsrf%val(jd)=acsrf%val(jd)-tmp
!!$ end if !!$ end if

@ -230,7 +230,7 @@ subroutine amg_caggrmat_smth_bld(a,desc_a,ilaggr,nlaggr,parms,&
enddo enddo
if (jd == -1) then if (jd == -1) then
write(0,*) 'Wrong input: we need the diagonal!!!!', i write(0,*) name,': Warning: there is no diagonal element', i
else else
acsrf%val(jd)=acsrf%val(jd)-tmp acsrf%val(jd)=acsrf%val(jd)-tmp
end if end if

@ -246,7 +246,7 @@ subroutine amg_d_parmatch_smth_bld(ag,a,desc_a,ilaggr,nlaggr,parms,&
enddo enddo
if (jd == -1) then if (jd == -1) then
write(0,*) 'Wrong input: we need the diagonal!!!!', i write(0,*) name,': Warning: there is no diagonal element', i
else else
acsrf%val(jd)=acsrf%val(jd)-tmp acsrf%val(jd)=acsrf%val(jd)-tmp
end if end if

@ -300,7 +300,7 @@ subroutine amg_daggrmat_minnrg_bld(a,desc_a,ilaggr,nlaggr,parms,&
!!$ endif !!$ endif
!!$ enddo !!$ enddo
!!$ if (jd == -1) then !!$ if (jd == -1) then
!!$ write(0,*) 'Wrong input: we need the diagonal!!!!', i !!$ write(0,*) name,': Warning: there is no diagonal element', i
!!$ else !!$ else
!!$ acsrf%val(jd)=acsrf%val(jd)-tmp !!$ acsrf%val(jd)=acsrf%val(jd)-tmp
!!$ end if !!$ end if

@ -230,7 +230,7 @@ subroutine amg_daggrmat_smth_bld(a,desc_a,ilaggr,nlaggr,parms,&
enddo enddo
if (jd == -1) then if (jd == -1) then
write(0,*) 'Wrong input: we need the diagonal!!!!', i write(0,*) name,': Warning: there is no diagonal element', i
else else
acsrf%val(jd)=acsrf%val(jd)-tmp acsrf%val(jd)=acsrf%val(jd)-tmp
end if end if

@ -246,7 +246,7 @@ subroutine amg_s_parmatch_smth_bld(ag,a,desc_a,ilaggr,nlaggr,parms,&
enddo enddo
if (jd == -1) then if (jd == -1) then
write(0,*) 'Wrong input: we need the diagonal!!!!', i write(0,*) name,': Warning: there is no diagonal element', i
else else
acsrf%val(jd)=acsrf%val(jd)-tmp acsrf%val(jd)=acsrf%val(jd)-tmp
end if end if

@ -300,7 +300,7 @@ subroutine amg_saggrmat_minnrg_bld(a,desc_a,ilaggr,nlaggr,parms,&
!!$ endif !!$ endif
!!$ enddo !!$ enddo
!!$ if (jd == -1) then !!$ if (jd == -1) then
!!$ write(0,*) 'Wrong input: we need the diagonal!!!!', i !!$ write(0,*) name,': Warning: there is no diagonal element', i
!!$ else !!$ else
!!$ acsrf%val(jd)=acsrf%val(jd)-tmp !!$ acsrf%val(jd)=acsrf%val(jd)-tmp
!!$ end if !!$ end if

@ -230,7 +230,7 @@ subroutine amg_saggrmat_smth_bld(a,desc_a,ilaggr,nlaggr,parms,&
enddo enddo
if (jd == -1) then if (jd == -1) then
write(0,*) 'Wrong input: we need the diagonal!!!!', i write(0,*) name,': Warning: there is no diagonal element', i
else else
acsrf%val(jd)=acsrf%val(jd)-tmp acsrf%val(jd)=acsrf%val(jd)-tmp
end if end if

@ -300,7 +300,7 @@ subroutine amg_zaggrmat_minnrg_bld(a,desc_a,ilaggr,nlaggr,parms,&
!!$ endif !!$ endif
!!$ enddo !!$ enddo
!!$ if (jd == -1) then !!$ if (jd == -1) then
!!$ write(0,*) 'Wrong input: we need the diagonal!!!!', i !!$ write(0,*) name,': Warning: there is no diagonal element', i
!!$ else !!$ else
!!$ acsrf%val(jd)=acsrf%val(jd)-tmp !!$ acsrf%val(jd)=acsrf%val(jd)-tmp
!!$ end if !!$ end if

@ -230,7 +230,7 @@ subroutine amg_zaggrmat_smth_bld(a,desc_a,ilaggr,nlaggr,parms,&
enddo enddo
if (jd == -1) then if (jd == -1) then
write(0,*) 'Wrong input: we need the diagonal!!!!', i write(0,*) name,': Warning: there is no diagonal element', i
else else
acsrf%val(jd)=acsrf%val(jd)-tmp acsrf%val(jd)=acsrf%val(jd)-tmp
end if end if

Loading…
Cancel
Save