Skip to content

Commit ac046c6

Browse files
committed
removing soft fault stuff from pySDC's guts
1 parent 817624c commit ac046c6

12 files changed

+7
-237
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

examples/fault_tolerance/postproc_grayscott.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138

139139
# generate iteratin counts plot (not used)
140-
140+
141141
fig, ax = plt.subplots(figsize=(20,7))
142142

143143
# nblocks = int((maxstep-minstep)/nprocs)

pySDC/PFASST_blockwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def pfasst(MS):
277277
S.status.iter += 1
278278

279279
# standard sweep workflow: update nodes, compute residual, log progress
280-
S.levels[0].sweep.update_nodes(False)
280+
S.levels[0].sweep.update_nodes()
281281
S.levels[0].sweep.compute_residual()
282282
S.levels[0].hooks.dump_sweep(S.status)
283283

pySDC/PFASST_stepwise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def pfasst(S):
228228
S.prev.levels[-1].tag = False
229229

230230
# do the sweep with (possibly) new values
231-
S.levels[-1].sweep.update_nodes(stopit=True)
231+
S.levels[-1].sweep.update_nodes()
232232

233233
# update stage and return
234234
S.status.stage = 'PREDICT_SEND'
@@ -383,7 +383,7 @@ def pfasst(S):
383383
# coarsest sweep
384384

385385
# standard sweep workflow: update nodes, compute residual, log progress
386-
S.levels[-1].sweep.update_nodes(level=len(S.levels)-1,stopit=False)
386+
S.levels[-1].sweep.update_nodes()
387387
S.levels[-1].sweep.compute_residual()
388388

389389
S.levels[-1].hooks.dump_sweep(S.status)

pySDC/sweeper_classes/generic_LU.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def integrate(self):
7171
return me
7272

7373

74-
def update_nodes(self,level=None,stopit=None):
74+
def update_nodes(self):
7575
"""
7676
Update the u- and f-values at the collocation nodes -> corresponds to a single sweep over all nodes
7777

pySDC/sweeper_classes/imex_1st_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def integrate(self):
7979
return me
8080

8181

82-
def update_nodes(self,level=None,stopit=None):
82+
def update_nodes(self):
8383
"""
8484
Update the u- and f-values at the collocation nodes -> corresponds to a single sweep over all nodes
8585

0 commit comments

Comments
 (0)