A 1D cell: edge in 2D.
More...
#include <cell1D.hh>
A 1D cell: edge in 2D.
- Author
- Kersten Schmidt, 2006
Definition at line 189 of file cell1D.hh.
◆ index_type
◆ Edge2d() [1/2]
Constructor.
- Parameters
-
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 |
◆ ~Edge2d()
virtual concepts::Edge2d::~Edge2d |
( |
| ) |
|
|
virtual |
◆ Edge2d() [2/2]
concepts::Edge2d::Edge2d |
( |
Edge & |
cntr, |
|
|
MappingEdge2d * |
map, |
|
|
const Z2 |
dir, |
|
|
const uint |
l, |
|
|
const uint |
i |
|
) |
| |
|
protected |
Protected copy constructor.
- Parameters
-
cntr | The edge which should be represented |
map | Element map of the edge |
dir | direction of the normal vector |
l | Level |
i | Index (0 or 1), ie. the left or right child |
◆ center()
virtual Real3d concepts::EdgeNd::center |
( |
| ) |
const |
|
virtualinherited |
◆ chi()
The element map.
Maps a point from the unit intervall [0,1] onto the element.
- Returns
- Point in 2D in physical coordinates.
- Parameters
-
xi | |
◆ child() [1/2]
virtual Edge2d* concepts::Edge2d::child |
( |
uint |
i | ) |
|
|
virtual |
Returns a child.
If no children exist, two new children are created. The edge is cut in the middle.
- Parameters
-
i | Index of the child to be returned. |
Implements concepts::EdgeNd.
◆ child() [2/2]
virtual const Edge2d* concepts::Edge2d::child |
( |
uint |
i | ) |
const |
|
virtual |
Returns a pointer to the ith child.
Children are not created if they do not already exist, instead 0 is returned.
Implements concepts::EdgeNd.
◆ clone() [1/2]
virtual Edge2d* concepts::Edge2d::clone |
( |
| ) |
const |
|
virtual |
Returns a copy of itself.
◆ clone() [2/2]
◆ connector()
Edge& concepts::EdgeNd::connector |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ dim()
virtual uint concepts::Edge2d::dim |
( |
| ) |
const |
|
inlinevirtual |
◆ dir() [1/2]
Z2& concepts::Edge2d::dir |
( |
| ) |
|
|
inline |
Access to the direction of the normal vector.
Definition at line 275 of file cell1D.hh.
◆ dir() [2/2]
Z2 concepts::Edge2d::dir |
( |
| ) |
const |
|
inline |
Returns if the normal vector is right or left pointing.
Definition at line 271 of file cell1D.hh.
◆ elemMap() [1/3]
◆ elemMap() [2/3]
◆ elemMap() [3/3]
◆ hasChildren()
bool concepts::Cell::hasChildren |
( |
| ) |
const |
|
inlineinherited |
Returns true if there is a least one child.
Definition at line 50 of file cell.hh.
◆ hessian()
Returns a vector withthe second derivatives.
- Parameters
-
x | |
◆ hessianInverse()
Returns the hessian matrix of the inverse function of the parametrisation in x.
- Parameters
-
x | |
◆ info()
virtual std::ostream& concepts::Edge2d::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ jacobian()
Returns the Jacobian.
- Parameters
-
x | |
◆ jacobianDeterminant()
Real concepts::Edge2d::jacobianDeterminant |
( |
const Real |
x | ) |
const |
|
inlinevirtual |
◆ level()
uchar concepts::Edge2d::level |
( |
| ) |
const |
|
inline |
Returns the level of the cell.
Definition at line 266 of file cell1D.hh.
◆ map()
◆ n0()
Returns the normal vector on a point of the edge.
◆ swapdir()
void concepts::Edge2d::swapdir |
( |
| ) |
|
|
inline |
Swaps the normal direction.
Definition at line 279 of file cell1D.hh.
◆ tangentialSecondDerivative()
Real concepts::Edge2d::tangentialSecondDerivative |
( |
const Real |
x | ) |
const |
Returns the second tangential derivative.
- See also
- jacobian
◆ vertex()
virtual Real3d concepts::EdgeNd::vertex |
( |
const uint |
i | ) |
const |
|
virtualinherited |
◆ chld_
Edge2d* concepts::Edge2d::chld_ |
|
private |
Pointer to the first child.
The children are stored in a linked list.
Definition at line 314 of file cell1D.hh.
◆ cntr_
Edge& concepts::EdgeNd::cntr_ |
|
protectedinherited |
Reference to the edge (topology)
Definition at line 74 of file cell1D.hh.
◆ dir_
Z2 concepts::Edge2d::dir_ |
|
protected |
Direction of the normal vector.
Definition at line 296 of file cell1D.hh.
◆ i_
Index of the element (ie. left or right child)
Definition at line 293 of file cell1D.hh.
◆ l_
uint concepts::Edge2d::l_ |
|
protected |
◆ lnk_
Edge2d* concepts::Edge2d::lnk_ |
|
private |
Pointer to a sibling.
Definition at line 309 of file cell1D.hh.
◆ map_
Pointer to the element map.
Definition at line 288 of file cell1D.hh.
◆ MAX_LEVEL
uint concepts::EdgeNd::MAX_LEVEL |
|
staticinherited |
The documentation for this class was generated from the following file: