concepts::PartMappingQuad2d Class Reference
Part of a map of a quadrilateral. More...
#include <elementMaps.hh>
Public Member Functions | |
virtual PartMappingQuad2d * | clone () const |
Virtual copy constructor. 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 |
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 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 |
Application operator. 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... | |
PartMappingQuad2d (const MappingQuad2d &map, const Real2d xi0, const Real2d xi1) | |
Constructor. More... | |
PartMappingQuad2d (const PartMappingQuad2d &map) | |
Copy Constructor. More... | |
virtual bool | straight () const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Member Functions | |
const Real2d | xi_ (const Real x, const Real y) const |
Returns the parameter in the original mapping. More... | |
Private Attributes | |
const Real2d | d_ |
Vector from the lower left to the upper right vertex in the reference cell of original map. More... | |
std::unique_ptr< const MappingQuad2d > | map_ |
Original edge map. More... | |
const Real2d | x0_ |
Parameter of the lower left vertex in the reference cell of the original map. More... | |
Detailed Description
Part of a map of a quadrilateral.
Definition at line 938 of file elementMaps.hh.
Constructor & Destructor Documentation
◆ PartMappingQuad2d() [1/2]
concepts::PartMappingQuad2d::PartMappingQuad2d | ( | const MappingQuad2d & | map, |
const Real2d | xi0, | ||
const Real2d | xi1 | ||
) |
Constructor.
- Parameters
-
map original element map x0,x1 lower left and upper right point in the rectangle in the reference cell
◆ PartMappingQuad2d() [2/2]
concepts::PartMappingQuad2d::PartMappingQuad2d | ( | const PartMappingQuad2d & | map | ) |
Copy Constructor.
Member Function Documentation
◆ clone()
|
virtual |
Virtual copy constructor.
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()
|
virtual |
Returns the Jacobian in a 2D linear map.
Implements concepts::MappingQuad2d.
◆ jacobianDeterminant()
|
virtualinherited |
Returns determinant of the Jacobian.
◆ jacobianInverse()
|
virtualinherited |
Returns the inverse of the Jacobian in a 2D linear map.
◆ lineElement()
|
virtualinherited |
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()()
Application operator.
Maps the point from the parameter domain onto the physical space.
Implements concepts::MappingQuad2d.
◆ part()
|
virtualinherited |
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.
◆ xi_()
Returns the parameter in the original mapping.
Definition at line 974 of file elementMaps.hh.
Member Data Documentation
◆ d_
|
private |
Vector from the lower left to the upper right vertex in the reference cell of original map.
Definition at line 971 of file elementMaps.hh.
◆ map_
|
private |
Original edge map.
Definition at line 963 of file elementMaps.hh.
◆ x0_
|
private |
Parameter of the lower left vertex in the reference cell of the original map.
Definition at line 967 of file elementMaps.hh.
The documentation for this class was generated from the following file:
- geometry/elementMaps.hh