Class documentation of Concepts

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

#include <elementMaps.hh>

Inheritance diagram for concepts::MapTriangle2d:
concepts::MappingTriangle2d concepts::Map2d concepts::OutputOperator

Public Member Functions

 MapTriangle2d (char *map, const Real scX, const Real scY)
 
 MapTriangle2d (const MapTriangle2d &map)
 Copy constructor.
 
virtual MapTriangle2dclone () const
 
virtual MapReal2d jacobian (const Real x, const Real y) const
 Returns the Jacobian in a 2D linear map.
 
Real2d operator() (const Real x, const Real y) const
 
virtual Real jacobianDeterminant (const Real x, const Real y) const
 Returns determinant of the Jacobian.
 
virtual MapReal2d jacobianInverse (const Real x, const Real y) const
 Returns the inverse of the Jacobian in a 2D linear map.
 
virtual bool straight () const
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

A 2D element map for a triangle. The map is specified by a formula. For easier construction of the element map, the parameter domain for the formula is a rectangle $[0,a] \times [0,b]$. The left side of the rectangle is degenerated into a point using a Duffy transformation.

Definition at line 615 of file elementMaps.hh.

Constructor & Destructor Documentation

◆ MapTriangle2d()

concepts::MapTriangle2d::MapTriangle2d ( char map,
const Real  scX,
const 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].

Member Function Documentation

◆ clone()

virtual MapTriangle2d * concepts::MapTriangle2d::clone ( ) const
virtual

Creates a clone of itself and returns it. This clone function implements a virtual constructor (cf. Stroustrup p. 424).

Implements concepts::MappingTriangle2d.

◆ info()

virtual std::ostream & concepts::MapTriangle2d::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Map2d.

◆ jacobian()

virtual MapReal2d concepts::MapTriangle2d::jacobian ( const Real  x,
const Real  y 
) const
virtual

Returns the Jacobian in a 2D linear map.

Implements concepts::MappingTriangle2d.

◆ jacobianDeterminant()

virtual Real concepts::MappingTriangle2d::jacobianDeterminant ( const Real  x,
const Real  y 
) const
virtualinherited

Returns determinant of the Jacobian.

Returns true if the resulting triangle has curved edges. In this case the integration routines have to take into account that the Jacobian is changing. Otherwise, the Jacobian is a constant.

◆ operator()()

Real2d concepts::MapTriangle2d::operator() ( const Real  x,
const Real  y 
) const
inlinevirtual

Application operator. Maps the point from the parameter domain $\{(\xi,\eta) : 0 \leq \eta \leq \xi \leq 1\}$ onto a triangle in the 2D physical space.

Implements concepts::MappingTriangle2d.

Definition at line 637 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: