MeshFunction Class Reference

Represents a function defined on a mesh. More...

#include <solution.h>

Inherits Function< scalar >.

Inherited by Filter, and Solution.

List of all members.

Public Member Functions

 MeshFunction ()
virtual ~MeshFunction ()
virtual void set_quad_2d (Quad2D *quad_2d)
 Selects the quadrature points in which the function will be evaluated.
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.
Meshget_mesh () const
RefMapget_refmap ()
virtual scalar get_pt_value (double x, double y, int item=H2D_FN_VAL_0)=0
void force_transform (MeshFunction *mf)
 For internal use only.
void update_refmap ()
void force_transform (uint64_t sub_idx, Trf *ctm)
 For internal use only.

Protected Attributes

int mode
Meshmesh
RefMaprefmap

Detailed Description

Represents a function defined on a mesh.

MeshFunction is a base class for all classes representing an arbitrary function superimposed on a mesh (ie., domain). These include the Solution, ExactSolution and Filter classes, which define the concrete behavior and the way the function is (pre)calculated. Any such function can later be visualized.

(This is an abstract class and cannot be instantiated.)


Constructor & Destructor Documentation

MeshFunction::MeshFunction (  ) 
MeshFunction::~MeshFunction (  )  [virtual]

Member Function Documentation

void MeshFunction::force_transform ( uint64_t  sub_idx,
Trf ctm 
) [inline]

For internal use only.

Reimplemented from Function< TYPE >.

void MeshFunction::force_transform ( MeshFunction mf  )  [inline]

For internal use only.

Mesh* MeshFunction::get_mesh (  )  const [inline]
virtual scalar MeshFunction::get_pt_value ( double  x,
double  y,
int  item = H2D_FN_VAL_0 
) [pure virtual]
RefMap* MeshFunction::get_refmap (  )  [inline]
void MeshFunction::set_active_element ( Element e  )  [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 Transformable.

Reimplemented in Filter, LinearFilter, and Solution.

void MeshFunction::set_quad_2d ( Quad2D quad_2d  )  [virtual]

Selects the quadrature points in which the function will be evaluated.

It is possible to switch back and forth between different quadrature points: no precalculated values are freed. The standard quadrature is always selected by default already.

Parameters:
quad_2d [in] The quadrature points.

Reimplemented from Function< TYPE >.

Reimplemented in Filter.

void MeshFunction::update_refmap (  )  [inline]

Member Data Documentation

Mesh* MeshFunction::mesh [protected]
int MeshFunction::mode [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