#include <elementMaps.hh>
Public Member Functions | |
MapTriangle2d (char *map, const Real scX, const Real scY) | |
MapTriangle2d (const MapTriangle2d &map) | |
Copy constructor. | |
virtual MapTriangle2d * | clone () 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. | |
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 . The left side of the rectangle is degenerated into a point using a Duffy transformation.
Definition at line 615 of file elementMaps.hh.
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.
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]. |
|
virtual |
Creates a clone of itself and returns it. This clone function implements a virtual constructor (cf. Stroustrup p. 424).
Implements concepts::MappingTriangle2d.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Map2d.
Returns the Jacobian in a 2D linear map.
Implements concepts::MappingTriangle2d.
|
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.
Application operator. Maps the point from the parameter domain onto a triangle in the 2D physical space.
Implements concepts::MappingTriangle2d.
Definition at line 637 of file elementMaps.hh.
Reimplemented in concepts::VertexTriangle2d.
Definition at line 37 of file elementMaps.hh.