A 2D element map for an edge of a straight line. More...
#include <elementMaps.hh>


Public Member Functions | |
| virtual MappingStraightEdge2d * | clone () const |
| Virtual copy constructor. | |
| virtual Real | curvature (const Real t, uint n=0) const |
| Returns the n-th derivative of the curvature. | |
| virtual Real2d | derivative (const Real t, const uint n=1) const |
| Returns the n-th derivative. | |
| virtual MappingStraightEdge2d * | inverse () const |
| Returns the mapping of the edge in inverse direction. | |
| MappingStraightEdge2d (const MappingStraightEdge2d &edgemap) | |
| Copy Constructor. | |
| MappingStraightEdge2d (const Real2d vtx0, const Real2d vtx1) | |
| Constructor. | |
| Real2d | n0 (const Real t) const |
| Returns the normalised right normal vector. | |
| virtual Real2d | normal (const Real t) const |
| Returns the right normal vector, length is that of the derivative. | |
| virtual Real2d | operator() (const Real t) const |
| Application operator. | |
| MappingStraightEdge2d * | part (const Real t0, const Real t1) const |
| Returns a new object of an element map for a rectangular part of the reference cell defined by the two points. | |
| const Real2d & | vtx (uint i) const |
| Spit out one vertex of the edge. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| Real2d | delta_ |
| Vector from first to second vertex. | |
| Real2d | vtx_ [2] |
| Coordinates of the vertices at either end of the edge. | |
A 2D element map for an edge of a straight line.
The parameter domain is the unit intervall [0,1].
Definition at line 216 of file elementMaps.hh.
Constructor.
| vtx0,vtx1 | coordinates of the vertices |
| concepts::MappingStraightEdge2d::MappingStraightEdge2d | ( | const MappingStraightEdge2d & | edgemap | ) |
Copy Constructor.
| virtual MappingStraightEdge2d* concepts::MappingStraightEdge2d::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Implements concepts::MappingEdge2d.
| virtual Real concepts::MappingStraightEdge2d::curvature | ( | const Real | t, |
| uint | n = 0 |
||
| ) | const [virtual] |
Returns the n-th derivative of the curvature.
It's implemented in general for n = 0,1 and works with curved edges. Can be overwritten in derived classes for performance reasons.
Reimplemented from concepts::MappingEdge2d.
| virtual Real2d concepts::MappingStraightEdge2d::derivative | ( | const Real | t, |
| const uint | n = 1 |
||
| ) | const [virtual] |
Returns the n-th derivative.
Implements concepts::MappingEdge2d.
| virtual std::ostream& concepts::MappingStraightEdge2d::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::MappingEdge2d.
| virtual MappingStraightEdge2d* concepts::MappingStraightEdge2d::inverse | ( | ) | const [inline, virtual] |
Returns the mapping of the edge in inverse direction.
Reimplemented from concepts::MappingEdge2d.
Definition at line 227 of file elementMaps.hh.

Returns the normalised right normal vector.
Reimplemented in concepts::MappingParallelEdge2d.
Definition at line 105 of file elementMaps.hh.

Returns the right normal vector, length is that of the derivative.
Application operator.
Maps the point from the parameter domain onto the physical space.
Implements concepts::MappingEdge2d.
| MappingStraightEdge2d* concepts::MappingStraightEdge2d::part | ( | const Real | t0, |
| const Real | t1 | ||
| ) | const [virtual] |
Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.
Reimplemented from concepts::MappingEdge2d.
| const Real2d& concepts::MappingEdge2d::vtx | ( | uint | i | ) | const [inline, inherited] |
Spit out one vertex of the edge.
Definition at line 122 of file elementMaps.hh.
Real2d concepts::MappingStraightEdge2d::delta_ [protected] |
Vector from first to second vertex.
Definition at line 241 of file elementMaps.hh.
Real2d concepts::MappingEdge2d::vtx_[2] [protected, inherited] |
Coordinates of the vertices at either end of the edge.
Definition at line 126 of file elementMaps.hh.