concepts::MapTriangle3d Class Reference
A 3D element map for a triangle. More...
#include <elementMaps.hh>
Public Member Functions | |
MapTriangle3d * | clone () const |
Returns a copy of the map. More... | |
std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
MapTriangle3d (const char *map, Real scX, Real scY) | |
Constructor. More... | |
MapTriangle3d (const MapTriangle3d &map) | |
Copy constructor. More... | |
MapTriangle3d (Real3d vtx0, Real3d vtx1, Real3d vtx2) | |
Constructor. More... | |
Real3d | operator() (Real x, Real y) const |
Returns a point in 3D mapped from the unit square onto the element in the original mesh. More... | |
virtual bool | straight () const |
~MapTriangle3d () | |
Private Member Functions | |
void | operator= (const MapTriangle3d &) |
Private assignement operator. More... | |
Private Attributes | |
Real3d | B1_ |
Computed map. More... | |
Real3d | B2_ |
Real3d | b_ |
uchar * | map_ |
Parsed formula for the map. More... | |
Real | scx_ |
Right border of the x parameter domain. More... | |
Real | scy_ |
Right border of the y parameter domain. More... | |
uint | sz_ |
Length of the parsed formula. More... | |
Detailed Description
A 3D element map for a triangle.
Definition at line 1023 of file elementMaps.hh.
Constructor & Destructor Documentation
◆ MapTriangle3d() [1/3]
Constructor.
The values of scX and scY are only for the map, they are not needed by the user for mapping a point from the reference element onto the Real element.
- Parameters
-
map The element map for this triangle as a string, x and y are the allowed variables, the first and the second component are separated by a comma. scX The range of x is [0, scX]. scY The range of y is [0, scY].
◆ MapTriangle3d() [2/3]
Constructor.
Takes the three physical corners of the triangle and computes the element map: with , where and .
◆ MapTriangle3d() [3/3]
concepts::MapTriangle3d::MapTriangle3d | ( | const MapTriangle3d & | map | ) |
Copy constructor.
◆ ~MapTriangle3d()
|
inline |
Definition at line 1047 of file elementMaps.hh.
Member Function Documentation
◆ clone()
|
inline |
Returns a copy of the map.
Definition at line 1068 of file elementMaps.hh.
◆ info()
|
inlinevirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::InverseVertexQuadSector2d, concepts::PartMappingQuad2d, concepts::BlendingQuad2d, concepts::VertexQuad2d, concepts::MapQuad2d, concepts::MappingQuad2d, concepts::MapTriangle2d, and concepts::VertexTriangle2d.
Definition at line 36 of file elementMaps.hh.
◆ operator()()
Returns a point in 3D mapped from the unit square onto the element in the original mesh.
- Returns
- Parameters
-
x y
Definition at line 1056 of file elementMaps.hh.
◆ operator=()
|
private |
Private assignement operator.
◆ straight()
|
inlinevirtualinherited |
Reimplemented in concepts::VertexQuad2d, and concepts::VertexTriangle2d.
Definition at line 37 of file elementMaps.hh.
Member Data Documentation
◆ B1_
|
private |
Computed map.
Definition at line 1083 of file elementMaps.hh.
◆ B2_
|
private |
Definition at line 1083 of file elementMaps.hh.
◆ b_
|
private |
Definition at line 1083 of file elementMaps.hh.
◆ map_
|
private |
Parsed formula for the map.
Definition at line 1071 of file elementMaps.hh.
◆ scx_
|
private |
Right border of the x parameter domain.
Definition at line 1077 of file elementMaps.hh.
◆ scy_
|
private |
Right border of the y parameter domain.
Definition at line 1080 of file elementMaps.hh.
◆ sz_
|
private |
Length of the parsed formula.
Definition at line 1074 of file elementMaps.hh.
The documentation for this class was generated from the following file:
- geometry/elementMaps.hh