A 2D cell: infinite rectangle. More...
#include <cell2D.hh>


Public Member Functions | |
| Real3d | center () const |
| Makes no sense. Calling throws an exception. | |
| virtual Real2d | chi (Real xi, Real eta) const |
| Evaluates the element map. | |
| virtual const InfiniteRect2d * | child (uint i) const |
| Returns a child. | |
| virtual InfiniteRect2d * | child (uint i) |
| Returns a child. | |
| InfiniteRect2d * | clone (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) const |
| Returns a copy of itself. | |
| InfiniteQuad & | connector () const |
| Returns the quadrilateral connector (topology) | |
| virtual Real3d | elemMap (const Real coord_local) const |
| Element map from point local coordinates in 1D. | |
| virtual Real3d | elemMap (const Real3d &coord_local) const |
| Element map from point local coordinates in 3D. | |
| Real3d | elemMap (const Real2d &coord_local) const |
| Element map from point local coordinates in 2D. | |
| bool | hasChildren () const |
| Returns true if there is a least one child. | |
| InfiniteRect2d (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) | |
| Constructor. | |
| virtual MapReal2d | jacobian (const Real xi, const Real eta) const |
| Real3d | vertex (uint i) const |
| Returns the coordinates of the ith vertex. | |
| virtual | ~InfiniteRect2d () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| InfiniteRect2d * | chld_ |
| Pointer to the first child. | |
| InfiniteRect2d * | lnk_ |
| Pointer to a sibling. | |
| UnitNd< 2 > | n_ |
| Direction of the infinite edges (normalised) | |
A 2D cell: infinite rectangle.
If a infinite rectangle is subdivided, two new infinite infinite rectangles are created. This happens automatically, if a child is requested
| concepts::InfiniteRect2d::InfiniteRect2d | ( | InfiniteQuad & | cntr, |
| const Real2d & | vtx0, | ||
| const Real2d & | vtx1 | ||
| ) |
Constructor.
Takes the connector cntr and the element map map and creates a cell.
| cntr | Topological information of the infinite quadrilateral |
| map | Element map of the quadrilateral |
| virtual concepts::InfiniteRect2d::~InfiniteRect2d | ( | ) | [virtual] |
| Real3d concepts::InfiniteRect2d::center | ( | ) | const [virtual] |
Makes no sense. Calling throws an exception.
Implements concepts::Cell2.
Evaluates the element map.
Maps a point from the the reference coordinates in [0,1][0,) onto the physical coordinates.
| xi | |
| eta | |
Implements concepts::InfiniteQuad2d.
| virtual InfiniteRect2d* concepts::InfiniteRect2d::child | ( | uint | i | ) | [virtual] |
Returns a child.
If no children exist, four new children are created. The quadrilateral is cut into four new quadrilaterals by joining the midpoints of its edges.
| i | Index of the child to be returned. |
Implements concepts::Cell2.
| virtual const InfiniteRect2d* concepts::InfiniteRect2d::child | ( | uint | i | ) | const [virtual] |
Returns a child.
If no children exist, none are created and 0 is returned.
| i | Index of the child to be returned. |
Implements concepts::Cell2.
| InfiniteRect2d* concepts::InfiniteRect2d::clone | ( | InfiniteQuad & | cntr, |
| const Real2d & | vtx0, | ||
| const Real2d & | vtx1 | ||
| ) | const [inline] |
| InfiniteQuad& concepts::InfiniteQuad2d::connector | ( | ) | const [inline, virtual, inherited] |
Returns the quadrilateral connector (topology)
Implements concepts::Cell2.
Element map from point local coordinates in 2D.
Implements concepts::Cell2.
Definition at line 603 of file cell2D.hh.

Element map from point local coordinates in 1D.
Reimplemented in concepts::Edge1d, and concepts::Edge2d.
| virtual Real3d concepts::Cell2::elemMap | ( | const Real3d & | coord_local | ) | const [inline, virtual, inherited] |
Element map from point local coordinates in 3D.
Reference element is 2D, third component is omitted.
Reimplemented from concepts::Cell.
Definition at line 100 of file cell.hh.

| bool concepts::InfiniteRect2d::hasChildren | ( | ) | const [inline] |
Returns true if there is a least one child.
Reimplemented from concepts::Cell.
| virtual std::ostream& concepts::InfiniteRect2d::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::InfiniteQuad2d.
| virtual MapReal2d concepts::InfiniteRect2d::jacobian | ( | const Real | xi, |
| const Real | eta | ||
| ) | const [virtual] |
Implements concepts::InfiniteQuad2d.
| Real3d concepts::InfiniteQuad2d::vertex | ( | uint | i | ) | const [virtual, inherited] |
Returns the coordinates of the ith vertex.
Implements concepts::Cell2.
InfiniteRect2d* concepts::InfiniteRect2d::chld_ [private] |
InfiniteRect2d* concepts::InfiniteRect2d::lnk_ [private] |
UnitNd<2> concepts::InfiniteRect2d::n_ [private] |