concepts::MappingQuad2d Class Referenceabstract
A 2D element map for a quadrilateral. More...
#include <elementMaps.hh>
Public Member Functions | |
virtual MappingQuad2d * | clone () const =0 |
Returns a copy of the map. More... | |
virtual MappingEdge2d * | 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 =0 |
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 =0 |
Returns the Jacobian in a 2D linear 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 =0 |
Returns a point in 2D mapped from the unit square [0,1]2 onto the element in the original mesh. More... | |
virtual MappingQuad2d * | 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 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Detailed Description
A 2D element map for a quadrilateral.
The reference element is the unit square.
Definition at line 667 of file elementMaps.hh.
Member Function Documentation
◆ clone()
|
pure virtual |
Returns a copy of the map.
Implemented in concepts::PartMappingQuad2d, concepts::BlendingQuad2d, concepts::VertexQuad2d, and concepts::MapQuad2d.
◆ edge()
|
inlinevirtual |
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 in concepts::PartMappingQuad2d, concepts::BlendingQuad2d, and concepts::VertexQuad2d.
Definition at line 731 of file elementMaps.hh.
◆ hessian()
|
pure virtual |
Returns the Hessian in a 2D linear map.
- Parameters
-
i coordinate (0 = x, 1 = y)
Implemented in concepts::PartMappingQuad2d, concepts::BlendingQuad2d, concepts::VertexQuad2d, and concepts::MapQuad2d.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Map2d.
Reimplemented in concepts::PartMappingQuad2d, concepts::BlendingQuad2d, concepts::VertexQuad2d, and concepts::MapQuad2d.
◆ inverseLaplace()
◆ jacobian()
|
pure virtual |
Returns the Jacobian in a 2D linear map.
Implemented in concepts::PartMappingQuad2d, concepts::BlendingQuad2d, concepts::VertexQuad2d, and concepts::MapQuad2d.
◆ jacobianDeterminant()
|
virtual |
Returns determinant of the Jacobian.
◆ jacobianInverse()
|
virtual |
Returns the inverse of the Jacobian in a 2D linear map.
◆ lineElement()
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.
- Parameters
-
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, and concepts::VertexQuad2d.
◆ operator()()
Returns a point in 2D mapped from the unit square [0,1]2 onto the element in the original mesh.
- Returns
Implemented in concepts::PartMappingQuad2d, concepts::BlendingQuad2d, concepts::VertexQuad2d, and concepts::MapQuad2d.
◆ part()
|
virtual |
Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.
Reimplemented in concepts::VertexQuad2d.
◆ straight()
|
inlinevirtualinherited |
Reimplemented in concepts::VertexQuad2d, and concepts::VertexTriangle2d.
Definition at line 37 of file elementMaps.hh.
The documentation for this class was generated from the following file:
- geometry/elementMaps.hh