concepts::CircleMappingEdge3d Class Reference
A 3D circular edge element map. More...
#include <mappingEdge3D.hh>
Public Member Functions | |
CircleMappingEdge3d (const CircleMappingEdge3d &other) | |
Copy Constructor. More... | |
CircleMappingEdge3d (const Real3d &vtx0, const Real3d &vtx1, const Real radius, const Real3d ¢er, const Real tol=1e6 *std::numeric_limits< double >::epsilon()) | |
Constructor. More... | |
CircleMappingEdge3d * | clone () const override |
Virtual constructor. More... | |
Real3d | derivative (const Real t, const uint n=1) const override |
Evaluates the n-th derivative of the edge mapping at the coordinate t. More... | |
Real3d | getCenter () const |
Real | getRadius () const |
CircleMappingEdge3d * | inverse () const override |
Create a heap-allocated copy of this edge with reversed parametrization. More... | |
Real3d | operator() (const Real t) const override |
Evaluates the edge mapping at the coordinate t. More... | |
const Real3d & | vtx (uint i) const |
Returns i-th physical vertex of the edge. More... | |
~CircleMappingEdge3d () override | |
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... | |
Private Attributes | |
Real3d | center_ |
Center of the circle. More... | |
Real | radius_ |
Radius of the circle. More... | |
Detailed Description
A 3D circular edge element map.
Element parametrization:
where is the linear edge element interpolating between and , is the center of this edge and the radius. This corresponds to the shortest edge connecting to on the sphere .
- Todo:
- Use SphereData type instead of bare radius and center
Definition at line 115 of file mappingEdge3D.hh.
Constructor & Destructor Documentation
◆ CircleMappingEdge3d() [1/2]
concepts::CircleMappingEdge3d::CircleMappingEdge3d | ( | const Real3d & | vtx0, |
const Real3d & | vtx1, | ||
const Real | radius, | ||
const Real3d & | center, | ||
const Real | tol = 1e6 *std::numeric_limits< double >::epsilon() |
||
) |
Constructor.
- Parameters
-
vtx0 physical coordinate of first vertex of the edge vtx1 physical coordinate of second vertex of the edge r radius of the sphere on which the edge lies center center of the sphere on which the edge lies
◆ CircleMappingEdge3d() [2/2]
concepts::CircleMappingEdge3d::CircleMappingEdge3d | ( | const CircleMappingEdge3d & | other | ) |
Copy Constructor.
◆ ~CircleMappingEdge3d()
|
override |
Destructor.
Member Function Documentation
◆ clone()
|
overridevirtual |
Virtual constructor.
Create a heap-allocated copy of this edge.
- Returns
- Pointer to heap-allocated edge copy. To be deleted by the user.
Implements concepts::MappingEdge3d.
◆ derivative()
|
overridevirtual |
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
Implements concepts::MappingEdge3d.
◆ getCenter()
|
inline |
Definition at line 136 of file mappingEdge3D.hh.
◆ getRadius()
|
inline |
Definition at line 135 of file mappingEdge3D.hh.
◆ info()
|
overrideprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::MappingEdge3d.
◆ inverse()
|
overridevirtual |
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.
Implements concepts::MappingEdge3d.
◆ operator()()
◆ vtx()
|
inlineinherited |
Member Data Documentation
◆ center_
|
private |
Center of the circle.
Definition at line 143 of file mappingEdge3D.hh.
◆ radius_
|
private |
Radius of the circle.
Definition at line 141 of file mappingEdge3D.hh.
◆ vtx_
|
protectedinherited |
Physical vertices .
Definition at line 68 of file mappingEdge3D.hh.
The documentation for this class was generated from the following file:
- geometry/mappingEdge3D.hh