We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b29d797 commit cbdfa4eCopy full SHA for cbdfa4e
pySDC/core/Sweeper.py
@@ -86,6 +86,12 @@ def rho(x):
86
QT = coll.Qmat[1:, 1:].T
87
[_, _, U] = scipy.linalg.lu(QT, overwrite_a=True)
88
QDmat[1:, 1:] = 2 * U.T
89
+ elif qd_type == 'TRAP':
90
+ for m in range(coll.num_nodes + 1):
91
+ QDmat[m, 1:m + 1] = coll.delta_m[0:m]
92
93
+ QDmat[m, 0:m] += coll.delta_m[0:m]
94
+ QDmat /= 2.0
95
elif qd_type == 'IE':
96
for m in range(coll.num_nodes + 1):
97
QDmat[m, 1:m + 1] = coll.delta_m[0:m]
0 commit comments