File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8484
8585
8686Pmat , Bmat = para .get_parareal_matrix ()
87+ print ("|| E ||_2 = %5.2f" % np .linalg .norm (Pmat .todense (),2 ))
8788
8889defect_inf = np .zeros ((1 ,maxiter ))
8990defect_l2 = np .zeros ((1 ,maxiter ))
Original file line number Diff line number Diff line change 8282
8383
8484Pmat , Bmat = para .get_parareal_matrix ()
85-
85+ print ( "|| E ||_2 = %5.2f" % np . linalg . norm ( Pmat . todense (), 2 ))
8686nreal = 20
8787nimag = 20
8888lambda_real = np .linspace (- 3.0 , 3.0 , nreal )
9696Also, the eps-isolines are very much circles.
9797QUESTION: can we work out the D matrix above and say something about how it looks like for diffusive/non-diffusive problems?
9898'''
99- print ("2-Norm of E: %5.3f" % np .linalg .norm (Pmat .todense (),2 ))
10099for i in range (0 ,nreal ):
101100 for j in range (0 ,nimag ):
102101 z = lambda_real [i ] + 1j * lambda_imag [j ]
You can’t perform that action at this time.
0 commit comments