#include <cell1D.hh>
Public Types | |
typedef uint | index_type |
Public Member Functions | |
Edge1d (Edge &cntr, const MapEdge1d &map) | |
virtual Edge1d * | child (uint i) |
virtual const Edge1d * | child (uint i) const |
virtual uint | dim () const |
Returns the dimension of the space, i.e. N. | |
Real | chi (Real xi) const |
virtual concepts::Real3d | elemMap (const Real xi) const |
Element map from point local coordinates in 1D. | |
virtual concepts::Real3d | elemMap (const Real1d &xi) const |
virtual concepts::Real3d | elemMap (const Real2d &xi) const |
Element map from point local coordinates in 2D. | |
virtual concepts::Real3d | elemMap (const Real3d &xi) const |
Element map from point local coordinates in 3D. | |
Real | jacobianDeterminant (const Real x) const |
Real | jacobian (Real x) const |
Real | jacobian (concepts::Point< Real, 1 > &x) const |
Real | size () const |
Returns the size of the element. | |
Real | jacobianInverse (const Real x) const |
const MapEdge1d * | map () const |
const Level< 1 > & | level () const |
Edge1d * | clone (Edge &cntr, MapEdge1d *map) const |
Returns a copy of itself. | |
Edge & | connector () const |
Returns the connector (topology) | |
virtual Real3d | vertex (const uint i) const |
Returns the coordinates of the ith vertex. | |
virtual Real3d | center () const |
Returns the center of the cell. | |
bool | hasChildren () const |
Returns true if there is a least one child. | |
Static Public Attributes | |
static uint | MAX_LEVEL |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
Edge & | cntr_ |
Reference to the edge (topology) | |
Constructor.
cntr | The edge which should be represented |
map | Element map of the edge |
Returns the center of the cell.
Implements concepts::Cell1.
The element map. Maps a point from the unit intervall [0,1] onto the element.
xi |
Returns a child. If no children exist, two new children are created. The edge is cut in the middle.
i | Index of the child to be returned. |
Implements concepts::EdgeNd.
Returns a pointer to the ith child. Children are not created if they do not already exist, instead 0 is returned.
Implements concepts::EdgeNd.
|
inlinevirtualinherited |
Returns the connector (topology)
Implements concepts::Cell1.
Returns the dimension of the space, i.e. N.
Implements concepts::EdgeNd.
|
virtual |
Element map from point local coordinates in 1D.
Reimplemented from concepts::Cell.
|
inlinevirtual |
|
virtual |
Element map from point local coordinates in 2D.
Reimplemented from concepts::Cell.
|
virtual |
Element map from point local coordinates in 3D.
Reimplemented from concepts::Cell.
|
inlineinherited |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::EdgeNd.
|
inline |
Returns the coordinates of the ith vertex.
Implements concepts::Cell1.
|
protectedinherited |