concepts::MappingEdge3d Class Referenceabstract
Base class for an edge element map . More...
#include <mappingEdge3D.hh>
Public Member Functions | |
virtual MappingEdge3d * | clone () const =0 |
Virtual constructor. More... | |
virtual Real3d | derivative (const Real t, const uint n=1) const =0 |
Evaluates the n-th derivative of the edge mapping at the coordinate t. More... | |
virtual MappingEdge3d * | inverse () const =0 |
Create a heap-allocated copy of this edge with reversed parametrization. More... | |
MappingEdge3d (const MappingEdge3d &other) | |
Copy constructor. More... | |
MappingEdge3d (const Real3d &vtx0, const Real3d &vtx1) | |
Constructor. More... | |
virtual Real3d | operator() (const Real t) const =0 |
Evaluates the edge mapping at the coordinate t. More... | |
const Real3d & | vtx (uint i) const |
Returns i-th physical vertex of the edge. More... | |
~MappingEdge3d () override | |
Virtual destructor. More... | |
Protected Member Functions | |
std::ostream & | info (std::ostream &os) const override |
Returns information in an output stream. More... | |
Protected Attributes | |
std::array< Real3d, 2 > | vtx_ |
Physical vertices . More... | |
Detailed Description
Base class for an edge element map .
- Todo:
- Currently this class stores vertices to be consistent across dimensions 2D and 3D, which may be changed in the future.
Definition at line 31 of file mappingEdge3D.hh.
Constructor & Destructor Documentation
◆ MappingEdge3d() [1/2]
Constructor.
- Parameters
-
vtx0 physical coordinate of first vertex of the edge vtx1 physical coordinate of second vertex of the edge
◆ MappingEdge3d() [2/2]
concepts::MappingEdge3d::MappingEdge3d | ( | const MappingEdge3d & | other | ) |
Copy constructor.
◆ ~MappingEdge3d()
|
override |
Virtual destructor.
Member Function Documentation
◆ clone()
|
pure virtual |
Virtual constructor.
Create a heap-allocated copy of this edge.
- Returns
- Pointer to heap-allocated edge copy. To be deleted by the user.
Implemented in concepts::MappingHexahedronEdge3d, concepts::CircleMappingEdge3d, and concepts::MappingStraightEdge3d.
◆ derivative()
|
pure virtual |
Evaluates the n-th derivative of the edge mapping at the coordinate t.
- Parameters
-
n order of the derivative (<= 1 for most concrete types)
- Returns
Implemented in concepts::MappingHexahedronEdge3d, concepts::CircleMappingEdge3d, and concepts::MappingStraightEdge3d.
◆ info()
|
overrideprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Map1d.
Reimplemented in concepts::MappingHexahedronEdge3d, concepts::CircleMappingEdge3d, and concepts::MappingStraightEdge3d.
◆ inverse()
|
pure virtual |
Create a heap-allocated copy of this edge with reversed parametrization.
- Returns
- Pointer to heap-allocated edge copy. Has to be deleted by the user.
Implemented in concepts::MappingHexahedronEdge3d, concepts::CircleMappingEdge3d, and concepts::MappingStraightEdge3d.
◆ operator()()
Evaluates the edge mapping at the coordinate t.
- Returns
Implemented in concepts::MappingHexahedronEdge3d, concepts::CircleMappingEdge3d, and concepts::MappingStraightEdge3d.
◆ vtx()
|
inline |
Member Data Documentation
◆ vtx_
|
protected |
Physical vertices .
Definition at line 68 of file mappingEdge3D.hh.
The documentation for this class was generated from the following file:
- geometry/mappingEdge3D.hh