This page contains the steppers Package documentation.
Parameters : |
|
---|---|
Returns : | where is the -norm of . |
Parameters : |
|
---|---|
Returns : | where is the -norm of . |
Parameters : |
|
---|---|
Returns : | where is the -norm of . |
Parameters : |
|
---|---|
Returns : | where is the normalization of provided by norm(). |
Determines the residual for the current solution matrix and variable.
Parameters : |
|
---|---|
Returns : | where is the -norm of . |
Repeatedly calls fn(*args, **kwargs)() until the residual returned by fn() is no longer decreasing.
Parameters : |
|
---|---|
Returns : | the final residual |
Bases: fipy.steppers.stepper.Stepper
Adaptive stepper using a PID controller, based on:
@article{PIDpaper,
author = {A. M. P. Valli and G. F. Carey and A. L. G. A. Coutinho},
title = {Control strategies for timestep selection in finite element
simulation of incompressible flows and coupled
reaction-convection-diffusion processes},
journal = {Int. J. Numer. Meth. Fluids},
volume = 47,
year = 2005,
pages = {201-231},
}
Bases: fipy.steppers.stepper.Stepper
Adaptive stepper based on the rkqs (Runge-Kutta “quality-controlled” stepper) algorithm of numerixal Recipes in C: 2nd Edition, Section 16.2.
Not really appropriate, since we’re not doing Runge-Kutta steps in the first place, but works OK.