Transformable Class Reference
Transformable is a base class for all classes that perform some kind of precalculation of function values on elements. These classes (ShapeFunction, Solution, RefMap) inherit from Transformable the ability to transform integration points to the sub-elements of an element.
More...
#include <transform.h>
Inherited by Function< TYPE >, and RefMap.
List of all members.
Detailed Description
Transformable is a base class for all classes that perform some kind of precalculation of function values on elements. These classes (ShapeFunction, Solution, RefMap) inherit from Transformable the ability to transform integration points to the sub-elements of an element.
The purpose of this class to transform elements to sub-elements (multi-mesh)
Constructor & Destructor Documentation
| Transformable::Transformable |
( |
|
) |
|
| virtual Transformable::~Transformable |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| Element* Transformable::get_active_element |
( |
|
) |
const [inline] |
- Returns:
- The element associated with the function being represented by the class.
| Trf* Transformable::get_ctm |
( |
|
) |
const [inline] |
- Returns:
- The current transformation matrix.
| uint64 Transformable::get_transform |
( |
|
) |
const [inline] |
- Returns:
- The current transform index.
| double Transformable::get_transform_jacobian |
( |
|
) |
const [inline] |
- Returns:
- The jacobian of the current transformation matrix.
| void Transformable::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 in Filter, and RefMap.
| void Transformable::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 in Filter, and RefMap.
| void Transformable::reset_transform |
( |
|
) |
|
Empties the stack, loads identity transform.
| virtual void Transformable::set_active_element |
( |
Element * |
e |
) |
[inline, virtual] |
| void Transformable::set_transform |
( |
uint64 |
idx |
) |
|
Sets the current transform at once as if it was created by multiple calls to push_transform().
- Parameters:
-
Friends And Related Function Documentation
Member Data Documentation
sub-element transformation index
current sub-element transformation matrix
Initial value: {
{ { 1, 1, 1 }, { 0, 0, 0 } }
}
transformation matrix stack
The documentation for this class was generated from the following files: