concepts::MappingEdge2d Class Referenceabstract
A 2D element map for an edge. More...
#include <elementMaps.hh>
Public Member Functions | |
virtual MappingEdge2d * | clone () const =0 |
Virtual copy constructor. More... | |
virtual Real | curvature (const Real t, uint n=0) const |
Returns the n-th derivative of the curvature. More... | |
virtual Real2d | derivative (const Real t, const uint n=1) const =0 |
Returns the n-th derivative. More... | |
virtual MappingEdge2d * | inverse () const |
Returns the mapping of the edge in inverse direction. More... | |
MappingEdge2d (const MappingEdge2d &edgemap) | |
Copy Constructor. More... | |
MappingEdge2d (const Real2d vtx0, const Real2d vtx1) | |
Constructor. More... | |
Real2d | n0 (const Real t) const |
Returns the normalised right normal vector. More... | |
virtual Real2d | normal (const Real t) const |
Returns the right normal vector, length is that of the derivative. More... | |
virtual Real2d | operator() (const Real t) const =0 |
Application operator. More... | |
virtual MappingEdge2d * | 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. More... | |
const Real2d & | vtx (uint i) const |
Spit out one vertex of the edge. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
Real2d | vtx_ [2] |
Coordinates of the vertices at either end of the edge. More... | |
Detailed Description
A 2D element map for an edge.
The parameter domain is the unit intervall [0,1].
Abstract class. In derived classes for curved edges operator() and jacobian() has to be implemented.
Definition at line 84 of file elementMaps.hh.
Constructor & Destructor Documentation
◆ MappingEdge2d() [1/2]
Constructor.
- Parameters
-
vtx0,vtx1 coordinates of the vertices
◆ MappingEdge2d() [2/2]
concepts::MappingEdge2d::MappingEdge2d | ( | const MappingEdge2d & | edgemap | ) |
Copy Constructor.
Member Function Documentation
◆ clone()
|
pure virtual |
Virtual copy constructor.
Implements concepts::Cloneable.
Implemented in concepts::MappingQuadEdge2d, concepts::MappingParallelEdge2d, concepts::ParabelMappingEdge2d, concepts::EllipseMappingEdge2d, concepts::CircleMappingEdge2d, concepts::MappingStraightEdge2d, concepts::InverseMappingEdge2d, and concepts::PartMappingEdge2d.
◆ curvature()
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::MappingStraightEdge2d, concepts::InverseMappingEdge2d, concepts::MappingParallelEdge2d, and concepts::CircleMappingEdge2d.
◆ derivative()
|
pure virtual |
Returns the n-th derivative.
Implemented in concepts::MappingQuadEdge2d, concepts::MappingParallelEdge2d, concepts::ParabelMappingEdge2d, concepts::EllipseMappingEdge2d, concepts::CircleMappingEdge2d, concepts::MappingStraightEdge2d, concepts::InverseMappingEdge2d, and concepts::PartMappingEdge2d.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Map1d.
Reimplemented in concepts::MappingQuadEdge2d, concepts::MappingParallelEdge2d, concepts::ParabelMappingEdge2d, concepts::EllipseMappingEdge2d, concepts::CircleMappingEdge2d, concepts::MappingStraightEdge2d, concepts::InverseMappingEdge2d, and concepts::PartMappingEdge2d.
◆ inverse()
|
virtual |
Returns the mapping of the edge in inverse direction.
Reimplemented in concepts::MappingQuadEdge2d, concepts::EllipseMappingEdge2d, concepts::CircleMappingEdge2d, concepts::MappingStraightEdge2d, concepts::InverseMappingEdge2d, and concepts::PartMappingEdge2d.
◆ n0()
Returns the normalised right normal vector.
Definition at line 107 of file elementMaps.hh.
◆ normal()
Returns the right normal vector, length is that of the derivative.
◆ operator()()
Application operator.
Maps the point from the parameter domain onto the physical space.
Implemented in concepts::MappingQuadEdge2d, concepts::MappingParallelEdge2d, concepts::ParabelMappingEdge2d, concepts::EllipseMappingEdge2d, concepts::CircleMappingEdge2d, concepts::MappingStraightEdge2d, concepts::InverseMappingEdge2d, and concepts::PartMappingEdge2d.
◆ part()
|
virtual |
Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.
Reimplemented in concepts::MappingParallelEdge2d, concepts::ParabelMappingEdge2d, concepts::EllipseMappingEdge2d, concepts::CircleMappingEdge2d, concepts::MappingStraightEdge2d, and concepts::InverseMappingEdge2d.
◆ vtx()
|
inline |
Spit out one vertex of the edge.
Definition at line 124 of file elementMaps.hh.
Member Data Documentation
◆ vtx_
|
protected |
Coordinates of the vertices at either end of the edge.
Definition at line 128 of file elementMaps.hh.
The documentation for this class was generated from the following file:
- geometry/elementMaps.hh