#include <cell2D.hh>
Public Member Functions | |
InfiniteRect2d (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) | |
virtual InfiniteRect2d * | child (uint i) |
virtual const InfiniteRect2d * | child (uint i) const |
bool | hasChildren () const |
virtual Real2d | chi (Real xi, Real eta) const |
Real3d | elemMap (const Real2d &coord_local) const |
Element map from point local coordinates in 2D. | |
virtual MapReal2d | jacobian (const Real xi, const Real eta) const |
Real3d | center () const |
Makes no sense. Calling throws an exception. | |
InfiniteRect2d * | clone (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) const |
Returns a copy of itself. | |
Real3d | vertex (uint i) const |
Returns the coordinates of the ith vertex. | |
InfiniteQuad & | connector () const |
Returns the quadrilateral connector (topology) | |
virtual Real3d | elemMap (const Real3d &coord_local) const |
virtual Real3d | elemMap (const Real coord_local) const |
Element map from point local coordinates in 1D. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
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 |
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,\infty) onto the physical coordinates.
xi | |
eta |
Implements concepts::InfiniteQuad2d.
|
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 |
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.
|
inline |
|
inlinevirtualinherited |
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.
Implements concepts::Cell2.
Element map from point local coordinates in 3D
Reference element is 2D, third component is omitted.
Reimplemented from concepts::Cell.
|
inline |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::InfiniteQuad2d.
|
virtual |
Implements concepts::InfiniteQuad2d.
Returns the coordinates of the ith vertex.
Implements concepts::Cell2.