default_hook#

class DefaultHooks[source]#

Bases: Hooks

Hook added to every controller, recording the residuals and the number of iterations of each step.

post_iteration(step, level_number)[source]#

Default routine called after each iteration

Parameters:
  • step (pySDC.Step.step) – the current step

  • level_number (int) – the current level number

post_step(step, level_number)[source]#

Default routine called after each step or block

Parameters:
  • step (pySDC.Step.step) – the current step

  • level_number (int) – the current level number

post_sweep(step, level_number)[source]#

Default routine called after each sweep

Parameters:
  • step (pySDC.Step.step) – the current step

  • level_number (int) – the current level number