A 2D element map for a quadrilateral given by a the four vertices. More...
#include <elementMaps.hh>


Public Member Functions | |
| virtual VertexQuad2d * | clone () const |
| Returns a copy of the map. | |
| virtual MappingStraightEdge2d * | edge (const uint edge) const |
| Returns a copy of the edge mapping of one edge. | |
| virtual MapReal2d | hessian (uint i, const Real x, const Real y) const |
| Returns the Hessian in a 2D linear map. | |
| virtual MapReal2d | jacobian (const Real x, const Real y) const |
| Returns the jacobian of the element map
| |
| 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 Real | lineElement (const Real x, const uint edge) const |
| Returns factor of differential element integrating over an edge. | |
| virtual Real | lineElement (const Real x, const uint edge) |
| Returns factor of differential element integrating over an edge. | |
| virtual Real2d | operator() (Real x, Real y) const |
| Returns a point in 2D mapped from the unit square [0,1]2 onto the element in the original mesh. | |
| virtual VertexQuad2d * | part (const Real2d x0, const Real2d y0) const |
| Returns a new object of an element map for a rectangular part of the reference cell defined by the two points. | |
| virtual bool | straight () const |
| VertexQuad2d (const VertexQuad2d &v) | |
| Copy constructor. | |
| VertexQuad2d (Real2d vtx0, Real2d vtx1, Real2d vtx2, Real2d vtx3) | |
| Constructor. | |
| virtual | ~VertexQuad2d () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| bool | hasLength_ |
| Length computed? | |
| Real | len_ [4] |
| Length of Edges, used for. | |
| Real2d | vtx_ [4] |
| Vertices. | |
A 2D element map for a quadrilateral given by a the four vertices.
Definition at line 798 of file elementMaps.hh.
Constructor.
The four vertices have to be given counter clockwise.
| concepts::VertexQuad2d::VertexQuad2d | ( | const VertexQuad2d & | v | ) |
Copy constructor.
| virtual concepts::VertexQuad2d::~VertexQuad2d | ( | ) | [virtual] |
| virtual VertexQuad2d* concepts::VertexQuad2d::clone | ( | ) | const [virtual] |
Returns a copy of the map.
Implements concepts::MappingQuad2d.
| virtual MappingStraightEdge2d* concepts::VertexQuad2d::edge | ( | const uint | edge | ) | const [virtual] |
Returns a copy of the edge mapping of one edge.
The edge mappings are directed counter-clockwise, i.e. for the lower edge from the left lower vertex to the right lower one.
| edge | number of edge, i.e. 0 - lower, 1 - right, 2 - upper, 3 - left |
Reimplemented from concepts::MappingQuad2d.
| virtual MapReal2d concepts::VertexQuad2d::hessian | ( | uint | i, |
| const Real | x, | ||
| const Real | y | ||
| ) | const [virtual] |
Returns the Hessian in a 2D linear map.
| i | coordinate (0 = x, 1 = y) |
Implements concepts::MappingQuad2d.
| virtual std::ostream& concepts::VertexQuad2d::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::MappingQuad2d.
| virtual Real concepts::MappingQuad2d::jacobianDeterminant | ( | const Real | x, |
| const Real | y | ||
| ) | const [virtual, inherited] |
Returns determinant of the Jacobian.
| virtual MapReal2d concepts::MappingQuad2d::jacobianInverse | ( | const Real | x, |
| const Real | y | ||
| ) | const [virtual, inherited] |
Returns the inverse of the Jacobian in a 2D linear map.
Returns factor of differential element integrating over an edge.
| virtual Real concepts::MappingQuad2d::lineElement | ( | const Real | x, |
| const uint | edge | ||
| ) | const [virtual, inherited] |
Returns factor of differential element integrating over an edge.
The factor is either
or
.
The routine exists explicitly because it is more efficient to implement it than to use jacobian itself, i.e. for affine elements the line element is constant.
| x | local variable on edge (in [0,1]), stands for or |
| edge | number of edge, i.e. 0: , 1: , 2: , 3: |
Reimplemented in concepts::BlendingQuad2d.
Returns a point in 2D mapped from the unit square [0,1]2 onto the element in the original mesh.
Implements concepts::MappingQuad2d.
| virtual VertexQuad2d* concepts::VertexQuad2d::part | ( | const Real2d | x0, |
| const Real2d | y0 | ||
| ) | const [virtual] |
Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.
Reimplemented from concepts::MappingQuad2d.
| virtual bool concepts::VertexQuad2d::straight | ( | ) | const [inline, virtual] |
Reimplemented from concepts::Map2d.
Definition at line 828 of file elementMaps.hh.
bool concepts::VertexQuad2d::hasLength_ [private] |
Length computed?
Definition at line 837 of file elementMaps.hh.
Real concepts::VertexQuad2d::len_[4] [private] |
Length of Edges, used for.
Definition at line 835 of file elementMaps.hh.
Real2d concepts::VertexQuad2d::vtx_[4] [private] |
Vertices.
Definition at line 833 of file elementMaps.hh.