Filter Class Reference
[Filters]

Abstract class for creating filters. More...

#include <filter.h>

Inherits MeshFunction.

Inherited by SimpleFilter, and VonMisesFilter.

List of all members.

Public Member Functions

 Filter (MeshFunction *sln1)
 Filter (MeshFunction *sln1, MeshFunction *sln2)
 Filter (MeshFunction *sln1, MeshFunction *sln2, MeshFunction *sln3)
 Filter (MeshFunction *sln1, MeshFunction *sln2, MeshFunction *sln3, MeshFunction *sln4)
virtual ~Filter ()
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.
virtual void free ()
 Frees all precalculated tables.
virtual void push_transform (int son)
 Multiplies the current transformation matrix on the right by a transformation to the specified son element and pushes it on top of the matrix stack. All integration points will then be transformed to this sub-element. This process can be repeated.
virtual void pop_transform ()
 Removes the current transformation matrix from the top of the stack. The new top becomes the current transformation matrix. This returns the transform to the state before the last push_transform() was performed.
virtual order3_t get_order ()

Protected Member Functions

void init ()
void copy_base (Filter *flt)

Protected Attributes

int num
MeshFunctionsln [4]
uint64 sln_sub [4]
void * tables [4]
bool unimesh
UniData ** unidata

Detailed Description

Abstract class for creating filters.

Filter is a general postprocessing class, intended for visualization. The output of Filter is an arbitrary combination of up to three input functions, which usually are Solutions to PDEs, but also ExactSolutions and even other Filters.

(This class cannot be instantiated.)


Constructor & Destructor Documentation

Filter::Filter ( MeshFunction sln1  ) 
Filter::Filter ( MeshFunction sln1,
MeshFunction sln2 
)
Filter::Filter ( MeshFunction sln1,
MeshFunction sln2,
MeshFunction sln3 
)
Filter::Filter ( MeshFunction sln1,
MeshFunction sln2,
MeshFunction sln3,
MeshFunction sln4 
)
Filter::~Filter (  )  [virtual]

Member Function Documentation

void Filter::copy_base ( Filter flt  )  [protected]
void Filter::free (  )  [virtual]

Frees all precalculated tables.

Implements Function< TYPE >.

order3_t Filter::get_order (  )  [virtual]
Returns:
Order of the function on the active element

Implements MeshFunction.

void Filter::init (  )  [protected]
void Filter::pop_transform (  )  [virtual]

Removes the current transformation matrix from the top of the stack. The new top becomes the current transformation matrix. This returns the transform to the state before the last push_transform() was performed.

Reimplemented from Transformable.

void Filter::push_transform ( int  son  )  [virtual]

Multiplies the current transformation matrix on the right by a transformation to the specified son element and pushes it on top of the matrix stack. All integration points will then be transformed to this sub-element. This process can be repeated.

Parameters:
[in] son - Son element number in the range [0-25] for hexes.

Reimplemented from Transformable.

void Filter::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 MeshFunction.


Member Data Documentation

int Filter::num [protected]
MeshFunction* Filter::sln[4] [protected]
uint64 Filter::sln_sub[4] [protected]
void* Filter::tables[4] [protected]
UniData** Filter::unidata [protected]
bool Filter::unimesh [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