A 3D cell: parallelepiped. More...
#include <cell3D.hh>


Classes | |
| struct | Index |
| Subclass of Tetrahedron3d representing its index. More... | |
Public Member Functions | |
| Real3d | center () const |
| Returns the center of the cell. | |
| Real3d | chi (Real xi, Real eta, Real zeta) const |
| The element map. | |
| virtual const Parallelepiped3d * | child (uint c) const |
| Returns a pointer to the ith child. | |
| virtual Parallelepiped3d * | child (uint c) |
| Returns a pointer to the ith child. | |
| Hexahedron & | connector () const |
| Returns the connector. | |
| virtual Real3d | elemMap (const Real2d &coord_local) const |
| Element map from point local coordinates in 2D. | |
| virtual Real3d | elemMap (const Real coord_local) const |
| Element map from point local coordinates in 1D. | |
| virtual Real3d | elemMap (const Real3d &coord_local) const |
| Element map from point local coordinates in 3D. | |
| bool | hasChildren () const |
| Returns true if there is a least one child. | |
| Parallelepiped3d (Hexahedron &cntr, const MapParallelepiped3d &map) | |
| Constructor. | |
| Real3d | vertex (uint i) const |
| Returns the coordinates of the ith vertex. | |
| virtual | ~Parallelepiped3d () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| Parallelepiped3d (Hexahedron &cntr, MapParallelepiped3d *map, const Index &idx) | |
| Private constructor. | |
Private Attributes | |
| Parallelepiped3d * | chld_ |
| Pointer to the first child. | |
| Hexahedron & | cntr_ |
| Reference to the tetrahedron connector (topology) | |
| Index | idx_ |
| Index of this element. | |
| Parallelepiped3d * | lnk_ |
| Pointer to a sibling. | |
| MapParallelepiped3d * | map_ |
| Pointer to the element map. | |
A 3D cell: parallelepiped.
If a parallelepiped is subdivided, eight new parallelepipeds are created. This happens automatically, if a child is requested.
| concepts::Parallelepiped3d::Parallelepiped3d | ( | Hexahedron & | cntr, |
| const MapParallelepiped3d & | map | ||
| ) |
Constructor.
Takes the connector cntr and the element map map and creates a cell.
| cntr | Topological information of the tetrahedron |
| map | Element map of the tetrahedron |
| virtual concepts::Parallelepiped3d::~Parallelepiped3d | ( | ) | [virtual] |
| concepts::Parallelepiped3d::Parallelepiped3d | ( | Hexahedron & | cntr, |
| MapParallelepiped3d * | map, | ||
| const Index & | idx | ||
| ) | [private] |
Private constructor.
| Real3d concepts::Parallelepiped3d::center | ( | ) | const [inline, virtual] |
Returns the center of the cell.
Implements concepts::Cell3.
Definition at line 530 of file cell3D.hh.

The element map.
Maps a point from the unit cube $[0,1]^3$ onto the element.
| xi | |
| eta | |
| zeta | |
| virtual const Parallelepiped3d* concepts::Parallelepiped3d::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::Cell3.
| virtual Parallelepiped3d* concepts::Parallelepiped3d::child | ( | uint | i | ) | [virtual] |
Returns a pointer to the ith child.
Children are created if they do not already exist.
Implements concepts::Cell3.
| Hexahedron& concepts::Parallelepiped3d::connector | ( | ) | const [inline, virtual] |
Element map from point local coordinates in 1D.
Reimplemented in concepts::Edge1d, and concepts::Edge2d.
Element map from point local coordinates in 3D.
Reimplemented in concepts::Cell2, concepts::Edge1d, concepts::Edge2d, and concepts::Hexahedron3d.
Element map from point local coordinates in 2D.
Reimplemented in concepts::Cell2, concepts::Edge1d, concepts::Edge2d, concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, and concepts::Triangle3d.
| bool concepts::Cell::hasChildren | ( | ) | const [inline, inherited] |
Returns true if there is a least one child.
Reimplemented in concepts::Quad2d, and concepts::InfiniteRect2d.
Definition at line 48 of file cell.hh.

| virtual std::ostream& concepts::Parallelepiped3d::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Implements concepts::Cell.
| Real3d concepts::Parallelepiped3d::vertex | ( | uint | i | ) | const [virtual] |
Returns the coordinates of the ith vertex.
Implements concepts::Cell3.
Hexahedron& concepts::Parallelepiped3d::cntr_ [private] |
Index concepts::Parallelepiped3d::idx_ [private] |
Parallelepiped3d* concepts::Parallelepiped3d::lnk_ [private] |