#include <elementMaps.hh>
Public Member Functions | |
EllipseMappingEdge2d (const Real2d center, const Real a, const Real b, const Real2d vtx0, const Real2d vtx1) | |
EllipseMappingEdge2d (const EllipseMappingEdge2d &edgemap) | |
Copy Constructor. | |
virtual EllipseMappingEdge2d * | clone () const |
Virtual copy constructor. | |
virtual EllipseMappingEdge2d * | inverse () const |
Returns the mapping of the edge in inverse direction. | |
virtual Real2d | operator() (const Real t) const |
virtual Real2d | derivative (const Real t, const uint n=1) const |
Returns the n-th derivative. | |
EllipseMappingEdge2d * | part (const Real t0, const Real t1) const |
virtual Real2d | normal (const Real t) const |
Returns the right normal vector, length is that of the derivative. | |
Real2d | n0 (const Real t) const |
Returns the normalised right normal vector. | |
virtual Real | curvature (const Real t, uint n=0) const |
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. | |
2D element map for an ellipsoidal arc (not skewed)
The edge is given by two vertices, the center and the two half axes.
This class may be used in connection with BlendingQuad2d.
Definition at line 338 of file elementMaps.hh.
concepts::EllipseMappingEdge2d::EllipseMappingEdge2d | ( | const Real2d | center, |
const Real | a, | ||
const Real | b, | ||
const Real2d | vtx0, | ||
const Real2d | vtx1 | ||
) |
Constructor
center | center of the ellipse |
a,b | length of the half axes |
vtx0,vtx1 | coordinates of the vertices |
|
virtual |
Virtual copy constructor.
Implements concepts::MappingEdge2d.
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 in concepts::CircleMappingEdge2d, concepts::MappingParallelEdge2d, concepts::InverseMappingEdge2d, and concepts::MappingStraightEdge2d.
|
virtual |
Returns the n-th derivative.
Implements concepts::MappingEdge2d.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::MappingEdge2d.
|
virtual |
Returns the mapping of the edge in inverse direction.
Reimplemented from concepts::MappingEdge2d.
Returns the normalised right normal vector.
Definition at line 107 of file elementMaps.hh.
Application operator. Maps the point from the parameter domain onto the physical space.
Implements concepts::MappingEdge2d.
|
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.
Spit out one vertex of the edge.
Definition at line 124 of file elementMaps.hh.
|
protectedinherited |
Coordinates of the vertices at either end of the edge.
Definition at line 128 of file elementMaps.hh.