concepts::InfiniteQuad2d Class Referenceabstract
A 2D cell: infinite quadrilateral. More...
#include <cell2D.hh>
Public Member Functions | |
virtual Real3d | center () const =0 |
Returns the center of the cell. More... | |
virtual Real2d | chi (Real xi, Real eta) const =0 |
virtual const Cell2 * | child (uint i) const =0 |
Returns a pointer to the ith child. More... | |
virtual Cell2 * | child (uint i)=0 |
Returns a pointer to the ith child. More... | |
InfiniteQuad & | connector () const |
Returns the quadrilateral connector (topology) More... | |
virtual Real3d | elemMap (const Real coord_local) const |
Element map from point local coordinates in 1D. More... | |
virtual Real3d | elemMap (const Real2d &coord_local) const =0 |
Element map from point local coordinates in 2D. More... | |
virtual Real3d | elemMap (const Real3d &coord_local) const |
Element map from point local coordinates in 3D. More... | |
bool | hasChildren () const |
Returns true if there is a least one child. More... | |
InfiniteQuad2d (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) | |
Constructor. More... | |
virtual MapReal2d | jacobian (const Real xi, const Real eta) const =0 |
Real3d | vertex (uint i) const |
Returns the coordinates of the ith vertex. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
InfiniteQuad & | cntr_ |
Reference to the quadrilateral connector (topology) More... | |
Real2d | vtx_ [2] |
Vertices. More... | |
Detailed Description
A 2D cell: infinite quadrilateral.
Abstract class.
The reference cell is .
- See also
- Cell for more information on cells in a mesh.
Constructor & Destructor Documentation
◆ InfiniteQuad2d()
concepts::InfiniteQuad2d::InfiniteQuad2d | ( | InfiniteQuad & | cntr, |
const Real2d & | vtx0, | ||
const Real2d & | vtx1 | ||
) |
Constructor.
vtx0 vertex of first infinite edge vtx1 vertex of second infinite edge
The infinite edge is in the direction the left normal of the edge from vtx0
to vtx1
.
Member Function Documentation
◆ center()
|
pure virtualinherited |
Returns the center of the cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ chi()
Implemented in concepts::InfiniteRect2d.
◆ child() [1/2]
|
pure virtualinherited |
Returns a pointer to the ith child.
Children are not created if they do not already exist, instead 0 is returned.
Implements concepts::Cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ child() [2/2]
|
pure virtualinherited |
Returns a pointer to the ith child.
Children are created if they do not already exist.
Implements concepts::Cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ connector()
|
inlinevirtual |
Returns the quadrilateral connector (topology)
Implements concepts::Cell2.
◆ elemMap() [1/3]
Element map from point local coordinates in 1D.
Reimplemented in concepts::Edge2d, concepts::Edge1d, concepts::Sphere3d, and concepts::SphericalSurface3d.
◆ elemMap() [2/3]
Element map from point local coordinates in 2D.
Reimplemented from concepts::Cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ elemMap() [3/3]
Element map from point local coordinates in 3D.
Reference element is 2D, third component is omitted.
Reimplemented from concepts::Cell.
◆ hasChildren()
|
inlineinherited |
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Implements concepts::Cell.
Reimplemented in concepts::InfiniteRect2d.
◆ jacobian()
|
pure virtual |
Implemented in concepts::InfiniteRect2d.
◆ vertex()
|
virtual |
Returns the coordinates of the ith vertex.
Implements concepts::Cell2.
Member Data Documentation
◆ cntr_
|
private |
◆ vtx_
|
private |
The documentation for this class was generated from the following file:
- geometry/cell2D.hh