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_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
- 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¶