concepts::VertexQuad2d Class Reference
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. More... | |
virtual MappingStraightEdge2d * | edge (const uint edge) const |
Returns a copy of the edge mapping of one edge. More... | |
virtual MapReal2d | hessian (uint i, const Real x, const Real y) const |
Returns the Hessian in a 2D linear map. More... | |
virtual MapReal2d | inverseLaplace (const Real x, const Real y) const |
NEW: More... | |
virtual MapReal2d | jacobian (const Real x, const Real y) const |
Returns the jacobian of the element map. More... | |
virtual Real | jacobianDeterminant (const Real x, const Real y) const |
Returns determinant of the Jacobian. More... | |
virtual MapReal2d | jacobianInverse (const Real x, const Real y) const |
Returns the inverse of the Jacobian in a 2D linear map. More... | |
virtual Real | lineElement (const Real x, const uint edge) const |
Returns factor of differential element integrating over an edge. More... | |
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. More... | |
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. More... | |
virtual bool | straight () const |
VertexQuad2d (const VertexQuad2d &v) | |
Copy constructor. More... | |
VertexQuad2d (Real2d vtx0, Real2d vtx1, Real2d vtx2, Real2d vtx3) | |
Constructor. More... | |
virtual | ~VertexQuad2d () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
bool | hasLength_ |
Length computed? More... | |
Real | len_ [4] |
Length of Edges, used for computation of the line elements. More... | |
Real2d | vtx_ [4] |
Vertices. More... | |
Detailed Description
A 2D element map for a quadrilateral given by a the four vertices.
Definition at line 818 of file elementMaps.hh.
Constructor & Destructor Documentation
◆ VertexQuad2d() [1/2]
Constructor.
The four vertices have to be given counter clockwise.
◆ VertexQuad2d() [2/2]
concepts::VertexQuad2d::VertexQuad2d | ( | const VertexQuad2d & | v | ) |
Copy constructor.
◆ ~VertexQuad2d()
|
virtual |
Member Function Documentation
◆ clone()
|
virtual |
Returns a copy of the map.
Implements concepts::MappingQuad2d.
◆ edge()
|
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.
- Parameters
-
edge number of edge, i.e. 0 - lower, 1 - right, 2 - upper, 3 - left
Reimplemented from concepts::MappingQuad2d.
◆ hessian()
|
virtual |
Returns the Hessian in a 2D linear map.
- Parameters
-
i coordinate (0 = x, 1 = y)
Implements concepts::MappingQuad2d.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::MappingQuad2d.
◆ inverseLaplace()
◆ jacobian()
◆ jacobianDeterminant()
|
virtualinherited |
Returns determinant of the Jacobian.
◆ jacobianInverse()
|
virtualinherited |
Returns the inverse of the Jacobian in a 2D linear map.
◆ lineElement()
Returns factor of differential element integrating over an edge.
- See also
- MappingQuad2d
Reimplemented from concepts::MappingQuad2d.
◆ operator()()
Returns a point in 2D mapped from the unit square [0,1]2 onto the element in the original mesh.
- Returns
Implements concepts::MappingQuad2d.
◆ part()
|
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.
◆ straight()
|
inlinevirtual |
Reimplemented from concepts::Map2d.
Definition at line 848 of file elementMaps.hh.
Member Data Documentation
◆ hasLength_
|
private |
Length computed?
Definition at line 857 of file elementMaps.hh.
◆ len_
|
mutableprivate |
Length of Edges, used for computation of the line elements.
Definition at line 855 of file elementMaps.hh.
◆ vtx_
|
private |
Vertices.
Definition at line 853 of file elementMaps.hh.
The documentation for this class was generated from the following file:
- geometry/elementMaps.hh