Linearization filter for use in nonlinear problems. From one or two previous solution values it extrapolates an estimate of the new one. With adaptive time step: tau_frac = tau_new / tau_old. More...
#include <filter.h>
Inherits Filter.
Public Member Functions | |
| LinearFilter (MeshFunction *old) | |
| LinearFilter (MeshFunction *older, MeshFunction *old, double tau_frac=1) | |
| virtual scalar | get_pt_value (double x, double y, int item=H2D_FN_VAL_0) |
Protected Member Functions | |
| virtual void | precalculate (int order, int mask) |
| precalculates the current function at the current integration points. | |
| void | init_components () |
| virtual void | set_active_element (Element *e) |
| Called by the assembling procedure and by other functions. In PrecalcShapeset it sets an internal variable that can be later retrieved by get_active_element(). In Solution it selects the element to retrieve solution values for, etc. | |
Protected Attributes | |
| double | tau_frac |
Linearization filter for use in nonlinear problems. From one or two previous solution values it extrapolates an estimate of the new one. With adaptive time step: tau_frac = tau_new / tau_old.
| LinearFilter::LinearFilter | ( | MeshFunction * | old | ) |
| LinearFilter::LinearFilter | ( | MeshFunction * | older, | |
| MeshFunction * | old, | |||
| double | tau_frac = 1 | |||
| ) |
| virtual scalar LinearFilter::get_pt_value | ( | double | x, | |
| double | y, | |||
| int | item = H2D_FN_VAL_0 | |||
| ) | [inline, virtual] |
Implements MeshFunction.
| void LinearFilter::init_components | ( | ) | [protected] |
| void LinearFilter::precalculate | ( | int | order, | |
| int | mask | |||
| ) | [protected, virtual] |
precalculates the current function at the current integration points.
Implements Function< TYPE >.
| void LinearFilter::set_active_element | ( | Element * | e | ) | [protected, virtual] |
Called by the assembling procedure and by other functions. In PrecalcShapeset it sets an internal variable that can be later retrieved by get_active_element(). In Solution it selects the element to retrieve solution values for, etc.
| e | [in] Element associated with the function being represented by the class. |
Reimplemented from Filter.
double LinearFilter::tau_frac [protected] |
1.6.3