Go to the documentation of this file.
70 virtual uint
dim()
const = 0;
72 virtual std::ostream&
info(std::ostream& os)
const;
100 virtual inline uint
dim()
const {
154 virtual std::ostream&
info(std::ostream& os)
const;
210 virtual inline uint
dim()
const {
285 virtual std::ostream&
info(std::ostream& os)
const;
Edge1d * chld_
Pointer to the first child.
Edge2d * chld_
Pointer to the first child.
Edge1d * lnk_
Pointer to a sibling.
Real2d chi(Real xi) const
The element map.
virtual concepts::Real3d elemMap(const Real xi) const
Element map from point local coordinates in 1D.
Real jacobianDeterminant(const Real x) const
Returns the determinant of the Jacobian.
Edge1d(Edge &cntr, const MapEdge1d &map)
Constructor.
virtual concepts::Real3d elemMap(const Real2d &xi) const
Element map from point local coordinates in 2D.
MappingEdge2d * map_
Pointer to the element map.
Edge & connector() const
Returns the connector (topology)
Real2d n0(Real x) const
Returns the normal vector on a point of the edge.
Edge2d(Edge &cntr, MappingEdge2d *map, const Z2 dir, const uint l, const uint i)
Protected copy constructor.
EdgeNd(Edge &cntr)
Constructor.
virtual EdgeNd * child(uint i)=0
Returns a pointer to the ith child.
unsigned char uchar
Abbreviation for unsigned char.
index_type i_
Index of the element (ie. left or right child)
Real2d jacobian(Real x) const
Returns the Jacobian.
MapEdge1d * map_
Pointer to the element map.
Real size() const
Returns the size of the element.
Real2d hessian(Real x) const
Returns a vector withthe second derivatives.
virtual Real3d vertex(const uint i) const
Returns the coordinates of the ith vertex.
Edge2d * lnk_
Pointer to a sibling.
virtual uint dim() const
Returns the dimension of the space, i.e. N.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual concepts::Real3d elemMap(const Real1d &xi) const
virtual Real3d center() const
Returns the center of the cell.
Real jacobian(concepts::Point< Real, 1 > &x) const
Real jacobianInverse(const Real x) const
Returns the inverse of the Jacobian.
Real jacobianDeterminant(const Real x) const
Returns the determinant of the Jacobian.
virtual uint dim() const
Returns the dimension of the space, i.e. N.
virtual Edge2d * child(uint i)
Returns a child.
Real chi(Real xi) const
The element map.
Edge & cntr_
Reference to the edge (topology)
index_type i_
Index of the element (ie. left or right child)
Z2 dir_
Direction of the normal vector.
Real l2() const
Returns the Euclidian norm of the vector.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual Edge2d * clone(Edge &cntr, MappingEdge2d *map) const
virtual Real jacobianDeterminant(const Real x) const =0
Returns the determinant of the Jacobian.
uint l_
Level of the element.
virtual Edge2d * clone() const
Returns a copy of itself.
A 1D element map for an edge.
Z2 & dir()
Access to the direction of the normal vector.
virtual const Edge1d * child(uint i) const
Returns a pointer to the ith child.
virtual concepts::Real3d elemMap(const Real xi) const
Element map from point local coordinates in 1D.
Real jacobian(Real x) const
Returns the Jacobian.
Array< Real > hessianInverse(Real x) const
Returns the hessian matrix of the inverse function of the parametrisation in x.
const MapEdge1d * map() const
virtual const Edge2d * child(uint i) const
Returns a pointer to the ith child.
virtual Edge1d * child(uint i)
Returns a child.
A 1D cell in any dimension: edge.
Edge2d(Edge &cntr, const MappingEdge2d &map, const Z2 dir=0)
Constructor.
Edge1d * clone(Edge &cntr, MapEdge1d *map) const
Returns a copy of itself.
uchar level() const
Returns the level of the cell.
const Level< 1 > & level() const
A 2D element map for an edge.
virtual concepts::Real3d elemMap(const Real3d &xi) const
Element map from point local coordinates in 3D.
uint l_
Level of the element.
virtual uint dim() const =0
Returns the dimension of the space, i.e. N.
Z2 dir() const
Returns if the normal vector is right or left pointing.
virtual concepts::Real3d elemMap(const Real2d &xi) const
Element map from point local coordinates in 2D.
virtual const EdgeNd * child(uint i) const =0
Returns a pointer to the ith child.
Real tangentialSecondDerivative(const Real x) const
Returns the second tangential derivative.
Binary group (algebraic): only the values 0 and 1 are represented.
void swapdir()
Swaps the normal direction.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
const MappingEdge2d * map() const
virtual concepts::Real3d elemMap(const Real3d &xi) const
Element map from point local coordinates in 3D.
double Real
Type normally used for a floating point number.
Basic namespace for Concepts-2.
Edge1d(Edge &cntr, MapEdge1d *map, const uint l, const uint i)
Private copy constructor.