2D element map for an edge parallel to another one. More...
#include <elementMaps.hh>


Public Member Functions | |
| virtual MappingParallelEdge2d * | clone () const |
| Virtual copy constructor. | |
| virtual Real | curvature (const Real t, const uint n=0) const |
| Returns the n-th derivative of the curvature. | |
| const Real | d () const |
| Returns the distance. | |
| virtual Real2d | derivative (const Real t, const uint n=1) const |
| Returns the n-th derivative. | |
| virtual MappingEdge2d * | inverse () const |
| Returns the mapping of the edge in inverse direction. | |
| const MappingEdge2d & | map () const |
| Returns the edge to which this edge is parallel. | |
| MappingParallelEdge2d (const MappingParallelEdge2d &edgemap) | |
| Copy Constructor. | |
| MappingParallelEdge2d (const MappingEdge2d &edgemap, const Real d) | |
| Constructor. | |
| virtual 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. | |
| MappingParallelEdge2d * | 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 | vtx_ [2] |
| Coordinates of the vertices at either end of the edge. | |
Private Attributes | |
| Real | d_ |
| Distance. | |
| std::auto_ptr< const MappingEdge2d > | edgemap_ |
| Edge to which this edge is parallel. | |
2D element map for an edge parallel to another one.
The edge is given by the parallel edge and the distance.
Definition at line 416 of file elementMaps.hh.
| concepts::MappingParallelEdge2d::MappingParallelEdge2d | ( | const MappingEdge2d & | edgemap, |
| const Real | d | ||
| ) |
Constructor.
The sign of the distance decides the direction. d > 0 To the right side of line from 1st to 2nd vertex d < 0 To the left side of line from 1st to 2nd vertex
| edgemap | the other edge |
| d | distance |
| concepts::MappingParallelEdge2d::MappingParallelEdge2d | ( | const MappingParallelEdge2d & | edgemap | ) |
Copy Constructor.
| virtual MappingParallelEdge2d* concepts::MappingParallelEdge2d::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Implements concepts::MappingEdge2d.
| virtual Real concepts::MappingParallelEdge2d::curvature | ( | const Real | t, |
| const 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.
| const Real concepts::MappingParallelEdge2d::d | ( | ) | const [inline] |
Returns the distance.
Definition at line 441 of file elementMaps.hh.
| virtual Real2d concepts::MappingParallelEdge2d::derivative | ( | const Real | t, |
| const uint | n = 1 |
||
| ) | const [virtual] |
Returns the n-th derivative.
Implements concepts::MappingEdge2d.
| virtual std::ostream& concepts::MappingParallelEdge2d::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::MappingEdge2d.
| virtual MappingEdge2d* concepts::MappingEdge2d::inverse | ( | ) | const [virtual, inherited] |
Returns the mapping of the edge in inverse direction.
Reimplemented in concepts::PartMappingEdge2d, concepts::InverseMappingEdge2d, concepts::MappingStraightEdge2d, concepts::CircleMappingEdge2d, concepts::EllipseMappingEdge2d, and concepts::MappingQuadEdge2d.
| const MappingEdge2d& concepts::MappingParallelEdge2d::map | ( | ) | const [inline] |
Returns the edge to which this edge is parallel.
Definition at line 439 of file elementMaps.hh.
Returns the normalised right normal vector.
Reimplemented from concepts::MappingEdge2d.
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.
| MappingParallelEdge2d* concepts::MappingParallelEdge2d::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.
Real concepts::MappingParallelEdge2d::d_ [private] |
Distance.
Definition at line 449 of file elementMaps.hh.
std::auto_ptr<const MappingEdge2d> concepts::MappingParallelEdge2d::edgemap_ [private] |
Edge to which this edge is parallel.
Definition at line 447 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.