#include <cell1D.hh>
Public Types | |
typedef uint | index_type |
Public Member Functions | |
Edge2d (Edge &cntr, const MappingEdge2d &map, const Z2 dir=0) | |
virtual Edge2d * | child (uint i) |
virtual const Edge2d * | child (uint i) const |
virtual uint | dim () const |
Returns the dimension of the space, i.e. N. | |
Real2d | 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 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 |
Real2d | jacobian (Real x) const |
Real | tangentialSecondDerivative (const Real x) const |
Real2d | hessian (Real x) const |
Array< Real > | hessianInverse (Real x) const |
const MappingEdge2d * | map () const |
virtual Edge2d * | clone () const |
Returns a copy of itself. | |
virtual Edge2d * | clone (Edge &cntr, MappingEdge2d *map) const |
uchar | level () const |
Returns the level of the cell. | |
Z2 | dir () const |
Returns if the normal vector is right or left pointing. | |
Z2 & | dir () |
Access to the direction of the normal vector. | |
void | swapdir () |
Swaps the normal direction. | |
Real2d | n0 (Real x) const |
Returns the normal vector on a point of the edge. | |
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. | |
Edge2d (Edge &cntr, MappingEdge2d *map, const Z2 dir, const uint l, const uint i) | |
Protected Attributes | |
MappingEdge2d * | map_ |
Pointer to the element map. | |
uint | l_ |
Level of the element. | |
index_type | i_ |
Index of the element (ie. left or right child) | |
Z2 | dir_ |
Direction of the normal vector. | |
Edge & | cntr_ |
Reference to the edge (topology) | |
concepts::Edge2d::Edge2d | ( | Edge & | cntr, |
const MappingEdge2d & | map, | ||
const Z2 | dir = 0 |
||
) |
Constructor.
cntr | The edge which should be represented |
map | Element map of the edge |
dir | direction of the normal vector when looking along direction of the edge (from first vertex to second) dir = 0 : Right normal dir = 1 : Left normal |
|
protected |
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.
|
inlinevirtual |
|
inlinevirtualinherited |
Returns the connector (topology)
Implements concepts::Cell1.
Returns the dimension of the space, i.e. N.
Implements concepts::EdgeNd.
|
inline |
|
inline |
|
virtual |
Element map from point local coordinates in 1D.
Reimplemented from concepts::Cell.
|
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 |
Returns a vector withthe second derivatives.
x |
Returns the hessian matrix of the inverse function of the parametrisation in x.
x |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::EdgeNd.
|
inline |
|
inline |
|
inline |
Returns the second tangential derivative.
Returns the coordinates of the ith vertex.
Implements concepts::Cell1.
|
protectedinherited |
|
protected |
|
protected |
|
protected |