#include <cell2D.hh>
Public Member Functions | |
| InfiniteQuad2d (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) | |
| virtual Real2d | chi (Real xi, Real eta) const =0 |
| Real3d | vertex (uint i) const |
| Returns the coordinates of the ith vertex. | |
| virtual MapReal2d | jacobian (const Real xi, const Real eta) const =0 |
| InfiniteQuad & | connector () const |
| Returns the quadrilateral connector (topology) | |
| virtual Cell2 * | child (uint i)=0 |
| virtual const Cell2 * | child (uint i) const =0 |
| virtual Real3d | center () const =0 |
| Returns the center of the cell. | |
| virtual Real3d | elemMap (const Real2d &coord_local) const =0 |
| Element map from point local coordinates in 2D. | |
| virtual Real3d | elemMap (const Real3d &coord_local) const |
| virtual Real3d | elemMap (const Real coord_local) const |
| Element map from point local coordinates in 1D. | |
| bool | hasChildren () const |
| Returns true if there is a least one child. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
A 2D cell: infinite quadrilateral. Abstract class.
The reference cell is ![$[0,1]\times[0,\infty)$](form_335.png)
| 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.
Returns the center of the cell.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
Implemented in concepts::InfiniteRect2d.
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::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
Returns a pointer to the ith child. Children are created if they do not already exist.
Implements concepts::Cell.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
|
inlinevirtual |
Returns the quadrilateral connector (topology)
Implements concepts::Cell2.
Element map from point local coordinates in 1D.
Reimplemented in concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Edge1d, and concepts::Edge2d.
Element map from point local coordinates in 2D.
Reimplemented from concepts::Cell.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
Element map from point local coordinates in 3D
Reference element is 2D, third component is omitted.
Reimplemented from concepts::Cell.
|
inlineinherited |
|
protectedvirtual |
Returns information in an output stream.
Implements concepts::Cell.
Reimplemented in concepts::InfiniteRect2d.
Returns the coordinates of the ith vertex.
Implements concepts::Cell2.