core.Sweeper module

class sweeper(params)[source]

Bases: object

Base abstract sweeper class

logger

custom logger for sweeper-related logging

params

parameter object containing the custom parameters passed by the user

Type:

__Pars

coll

collocation object

Type:

pySDC.Collocation.CollBase

compute_end_point()[source]

Abstract interface to end-node computation

compute_residual(stage='')[source]

Computation of the residual using the collocation matrix Q

Parameters:

stage (str) – The current stage of the step the level belongs to

get_Qdelta_explicit(coll, qd_type)[source]
get_Qdelta_implicit(coll, qd_type)[source]
integrate()[source]

Abstract interface to right-hand side integration

property level

Returns the current level

Returns:

the current level

Return type:

pySDC.Level.level

predict()[source]

Predictor to fill values at nodes before first sweep

Default prediction for the sweepers, only copies the values to all collocation nodes and evaluates the RHS of the ODE there

property rank
update_nodes()[source]

Abstract interface to node update