|
|
@ -282,7 +282,8 @@ program cf_sample
|
|
|
|
write(20,*) 'iterations to convergence: ',iter
|
|
|
|
write(20,*) 'iterations to convergence: ',iter
|
|
|
|
write(20,*) 'error estimate (infinity norm) on exit:', &
|
|
|
|
write(20,*) 'error estimate (infinity norm) on exit:', &
|
|
|
|
& ' ||r||/(||a||||x||+||b||) = ',err
|
|
|
|
& ' ||r||/(||a||||x||+||b||) = ',err
|
|
|
|
write(20,*) 'max residual = ',resmx, resmxp
|
|
|
|
write(20,'("Residual norm 2 : ",es12.5)')resmx
|
|
|
|
|
|
|
|
write(20,'("Residual norm inf : ",es12.5)')resmxp
|
|
|
|
write(20,'(a8,4(2x,a20))') 'I','X(I)','R(I)','B(I)'
|
|
|
|
write(20,'(a8,4(2x,a20))') 'I','X(I)','R(I)','B(I)'
|
|
|
|
do i=1,m_problem
|
|
|
|
do i=1,m_problem
|
|
|
|
write(20,998) i,x_col_glob(i),r_col_glob(i),b_col_glob(i)
|
|
|
|
write(20,998) i,x_col_glob(i),r_col_glob(i),b_col_glob(i)
|
|
|
|