|
|
@ -569,7 +569,6 @@ contains
|
|
|
|
row(k) = aa%val(j)*weight
|
|
|
|
row(k) = aa%val(j)*weight
|
|
|
|
call psb_insert_heap(k,heap,info)
|
|
|
|
call psb_insert_heap(k,heap,info)
|
|
|
|
if (info /= psb_success_) exit
|
|
|
|
if (info /= psb_success_) exit
|
|
|
|
end if
|
|
|
|
|
|
|
|
if (k<jd) nlw = nlw + 1
|
|
|
|
if (k<jd) nlw = nlw + 1
|
|
|
|
if (k>jd) then
|
|
|
|
if (k>jd) then
|
|
|
|
nup = nup + 1
|
|
|
|
nup = nup + 1
|
|
|
@ -578,6 +577,7 @@ contains
|
|
|
|
dmaxup = abs(row(k))
|
|
|
|
dmaxup = abs(row(k))
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
|
|
|
|
end if
|
|
|
|
end do
|
|
|
|
end do
|
|
|
|
if (info /= psb_success_) then
|
|
|
|
if (info /= psb_success_) then
|
|
|
|
info=psb_err_from_subroutine_
|
|
|
|
info=psb_err_from_subroutine_
|
|
|
@ -620,8 +620,6 @@ contains
|
|
|
|
row(k) = trw%val(ktrw)*weight
|
|
|
|
row(k) = trw%val(ktrw)*weight
|
|
|
|
call psb_insert_heap(k,heap,info)
|
|
|
|
call psb_insert_heap(k,heap,info)
|
|
|
|
if (info /= psb_success_) exit
|
|
|
|
if (info /= psb_success_) exit
|
|
|
|
|
|
|
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
if (k<jd) nlw = nlw + 1
|
|
|
|
if (k<jd) nlw = nlw + 1
|
|
|
|
if (k>jd) then
|
|
|
|
if (k>jd) then
|
|
|
|
nup = nup + 1
|
|
|
|
nup = nup + 1
|
|
|
@ -630,6 +628,7 @@ contains
|
|
|
|
dmaxup = abs(row(k))
|
|
|
|
dmaxup = abs(row(k))
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
|
|
|
|
end if
|
|
|
|
ktrw = ktrw + 1
|
|
|
|
ktrw = ktrw + 1
|
|
|
|
enddo
|
|
|
|
enddo
|
|
|
|
nz = ktrw - kin
|
|
|
|
nz = ktrw - kin
|
|
|
|