MeshFunction Class Reference
[Solutions]

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 (Mesh *mesh)
virtual ~MeshFunction ()
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.
ESpaceType get_sptype ()
Meshget_mesh () const
RefMapget_refmap ()
virtual order3_t get_order ()=0
void update_refmap ()
 For internal use only.

Protected Attributes

Meshmesh
RefMaprefmap
int mode
int seq
bool noinc
ESpaceType sptype

Friends

class DiscreteProblem
class LinearProblem

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 ( Mesh mesh  ) 
MeshFunction::~MeshFunction (  )  [virtual]

Member Function Documentation

Mesh* MeshFunction::get_mesh (  )  const [inline]
virtual order3_t MeshFunction::get_order (  )  [pure virtual]
Returns:
Order of the function on the active element

Implemented in Filter, and Solution.

RefMap* MeshFunction::get_refmap (  )  [inline]
ESpaceType MeshFunction::get_sptype (  )  [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:
[in] e - Element associated with the function being represented by the class.

Reimplemented from Transformable.

Reimplemented in Filter, and Solution.

void MeshFunction::update_refmap (  )  [inline]

For internal use only.


Friends And Related Function Documentation

friend class DiscreteProblem [friend]
friend class LinearProblem [friend]

Member Data Documentation

Mesh* MeshFunction::mesh [protected]
int MeshFunction::mode [protected]
bool MeshFunction::noinc [protected]
int MeshFunction::seq [protected]

The documentation for this class was generated from the following files:
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3