Class documentation of Concepts

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

#include <elementMaps.hh>

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

Public Member Functions

 VertexTriangle2d (Real2d vtx0, Real2d vtx1, Real2d vtx2)
 
 VertexTriangle2d (const VertexTriangle2d &map)
 Copy constructor.
 
virtual VertexTriangle2dclone () const
 
virtual bool straight () 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.
 

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 the three vertices.

Author
Philipp Frauenfelder, 2001.
Examples
meshes.cc.

Definition at line 557 of file elementMaps.hh.

Constructor & Destructor Documentation

◆ VertexTriangle2d()

concepts::VertexTriangle2d::VertexTriangle2d ( Real2d  vtx0,
Real2d  vtx1,
Real2d  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}) ]$.

Member Function Documentation

◆ clone()

virtual VertexTriangle2d * concepts::VertexTriangle2d::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::VertexTriangle2d::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Map2d.

◆ jacobian()

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

Returns the Jacobian in a 2D linear map.

Implements concepts::MappingTriangle2d.

Definition at line 580 of file elementMaps.hh.

◆ 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::VertexTriangle2d::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 584 of file elementMaps.hh.

◆ straight()

virtual bool concepts::VertexTriangle2d::straight ( ) const
inlinevirtual

Returns true if the resulting triangle has straight edges. In this case the integration routines simplify since the Jacobian is constant.

Reimplemented from concepts::Map2d.

Definition at line 578 of file elementMaps.hh.


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