LinearFilter Class Reference

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.

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

LinearFilter::LinearFilter ( MeshFunction old  ) 
LinearFilter::LinearFilter ( MeshFunction older,
MeshFunction old,
double  tau_frac = 1 
)

Member Function Documentation

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.

Parameters:
e [in] Element associated with the function being represented by the class.

Reimplemented from Filter.


Member Data Documentation

double LinearFilter::tau_frac [protected]

The documentation for this class was generated from the following files:
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3