Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::MapTriangle3d Class Reference

#include <elementMaps.hh>

Inheritance diagram for concepts::MapTriangle3d:
concepts::Map2d concepts::OutputOperator

Public Member Functions

 MapTriangle3d (const char *map, Real scX, Real scY)
 
 MapTriangle3d (Real3d vtx0, Real3d vtx1, Real3d vtx2)
 
 MapTriangle3d (const MapTriangle3d &map)
 Copy constructor.
 
Real3d operator() (Real x, Real y) const
 
MapTriangle3dclone () const
 Returns a copy of the map.
 
std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
virtual bool straight () const
 

Detailed Description

A 3D element map for a triangle.

Definition at line 1023 of file elementMaps.hh.

Constructor & Destructor Documentation

◆ MapTriangle3d() [1/2]

concepts::MapTriangle3d::MapTriangle3d ( const char map,
Real  scX,
Real  scY 
)

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
mapThe 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.
scXThe range of x is [0, scX].
scYThe range of y is [0, scY].

◆ MapTriangle3d() [2/2]

concepts::MapTriangle3d::MapTriangle3d ( Real3d  vtx0,
Real3d  vtx1,
Real3d  vtx2 
)

Constructor. Takes the three physical corners of the triangle and computes the element map: $F_K : S \rightarrow K$ with $\vec x = F_K(\xi) = B \cdot \vec \xi + \vec b$, where $\vec b = \mbox{vtx0}$ and $B = [ (\mbox{vtx1} - \vec b) 
(\mbox{vtx2} - \mbox{vtx1}) ]$.

◆ ~MapTriangle3d()

concepts::MapTriangle3d::~MapTriangle3d ( )
inline

Definition at line 1047 of file elementMaps.hh.

Member Function Documentation

◆ clone()

MapTriangle3d * concepts::MapTriangle3d::clone ( ) const
inline

Returns a copy of the map.

Definition at line 1068 of file elementMaps.hh.

◆ info()

std::ostream & concepts::Map2d::info ( std::ostream &  os) const
inlinevirtualinherited

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in concepts::VertexTriangle2d, concepts::MapTriangle2d, concepts::MappingQuad2d, concepts::MapQuad2d, concepts::VertexQuad2d, and concepts::PartMappingQuad2d.

Definition at line 36 of file elementMaps.hh.

◆ operator()()

Real3d concepts::MapTriangle3d::operator() ( Real  x,
Real  y 
) const
inline

Returns a point in 3D mapped from the unit square $[0,1]^2$ onto the element in the original mesh.

Returns
$F_K(x,y)$
Parameters
x$\in [0, 1]$
y$\in [0, 1]$

Definition at line 1056 of file elementMaps.hh.

◆ straight()

virtual bool concepts::Map2d::straight ( ) const
inlinevirtualinherited

Reimplemented in concepts::VertexTriangle2d.

Definition at line 37 of file elementMaps.hh.


The documentation for this class was generated from the following file: