40 typedef uint index_type;
44 static uint MAX_LEVEL;
72 virtual std::ostream&
info(std::ostream&
os)
const;
145 inline const Level<1>& level()
const{
154 virtual std::ostream&
info(std::ostream&
os)
const;
285 virtual std::ostream&
info(std::ostream&
os)
const;
virtual Edge1d * child(uint i)
Real jacobianDeterminant(const Real x) const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual concepts::Real3d elemMap(const Real3d &xi) const
Element map from point local coordinates in 3D.
Edge1d(Edge &cntr, const MapEdge1d &map)
Real size() const
Returns the size of the element.
Edge1d * clone(Edge &cntr, MapEdge1d *map) const
Returns a copy of itself.
virtual const Edge1d * child(uint i) const
Real jacobianInverse(const Real x) const
Real jacobian(Real x) const
virtual concepts::Real3d elemMap(const Real xi) const
Element map from point local coordinates in 1D.
virtual uint dim() const
Returns the dimension of the space, i.e. N.
virtual concepts::Real3d elemMap(const Real2d &xi) const
Element map from point local coordinates in 2D.
virtual concepts::Real3d elemMap(const Real xi) const
Element map from point local coordinates in 1D.
virtual Edge2d * child(uint i)
Real tangentialSecondDerivative(const Real x) const
Real2d chi(Real xi) const
Z2 dir() const
Returns if the normal vector is right or left pointing.
uint l_
Level of the element.
Real2d jacobian(Real x) const
virtual const Edge2d * child(uint i) const
Real2d n0(Real x) const
Returns the normal vector on a point of the edge.
Real2d hessian(Real x) const
Z2 & dir()
Access to the direction of the normal vector.
index_type i_
Index of the element (ie. left or right child)
Real jacobianDeterminant(const Real x) const
uchar level() const
Returns the level of the cell.
virtual Edge2d * clone() const
Returns a copy of itself.
MappingEdge2d * map_
Pointer to the element map.
Edge2d(Edge &cntr, const MappingEdge2d &map, const Z2 dir=0)
Z2 dir_
Direction of the normal vector.
void swapdir()
Swaps the normal direction.
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.
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.
Array< Real > hessianInverse(Real x) const
Edge2d(Edge &cntr, MappingEdge2d *map, const Z2 dir, const uint l, const uint i)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual Real jacobianDeterminant(const Real x) const =0
Returns the determinant of the Jacobian.
Edge & connector() const
Returns the connector (topology)
Edge & cntr_
Reference to the edge (topology)
virtual Real3d center() const
Returns the center of the cell.
virtual const EdgeNd * child(uint i) const =0
virtual Real3d vertex(const uint i) const
Returns the coordinates of the ith vertex.
virtual uint dim() const =0
Returns the dimension of the space, i.e. N.
virtual EdgeNd * child(uint i)=0
Real l2() const
Returns the Euclidian norm of the vector.
Set< F > makeSet(uint n, const F &first,...)
unsigned char uchar
Abbreviation for unsigned char.