concepts::Cell Class Referenceabstract
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geometrical information (coordinates). More...
#include <cell.hh>
Public Member Functions | |
virtual const Cell * | child (uint i) const =0 |
Returns a pointer to the ith child. More... | |
virtual Cell * | child (uint i)=0 |
Returns a pointer to the ith child. More... | |
virtual Connector & | connector () const =0 |
Returns the connector. More... | |
virtual Real3d | elemMap (const Real coord_local) const |
Element map from point local coordinates in 1D. More... | |
virtual Real3d | elemMap (const Real2d &coord_local) const |
Element map from point local coordinates in 2D. More... | |
virtual Real3d | elemMap (const Real3d &coord_local) const |
Element map from point local coordinates in 3D. More... | |
bool | hasChildren () const |
Returns true if there is a least one child. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const =0 |
Returns information in an output stream. More... | |
Detailed Description
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geometrical information (coordinates).
This class joins the topological information from a Connector and the geometical information from an element map.
This class prescribes the common interface for all geometrical elements (cells). This interface consists of methods to query the children and the assiociated connector.
Member Function Documentation
◆ child() [1/2]
|
pure virtual |
Returns a pointer to the ith child.
Children are not created if they do not already exist, instead 0 is returned.
Implemented in concepts::Sphere3d, concepts::SphericalSurface3d, concepts::EdgeNd, concepts::Cell3, concepts::Cell2, concepts::Cell1, concepts::Hexahedron3d, concepts::Tetrahedron3d, concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, concepts::Triangle2d, concepts::Edge2d, concepts::Edge1d, and concepts::Parallelepiped3d.
◆ child() [2/2]
|
pure virtual |
Returns a pointer to the ith child.
Children are created if they do not already exist.
Implemented in concepts::EdgeNd, concepts::Cell3, concepts::Cell2, concepts::Cell1, concepts::Sphere3d, concepts::SphericalSurface3d, concepts::Hexahedron3d, concepts::Tetrahedron3d, concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, concepts::Triangle2d, concepts::Edge2d, concepts::Edge1d, and concepts::Parallelepiped3d.
◆ connector()
|
pure virtual |
Returns the connector.
Implemented in concepts::Sphere3d, concepts::SphericalSurface3d, concepts::Cell3, concepts::Cell2, concepts::Cell1, concepts::Parallelepiped3d, concepts::Hexahedron3d, concepts::Tetrahedron3d, concepts::Triangle3d, concepts::InfiniteQuad2d, concepts::QuadNd, concepts::Triangle2d, and concepts::EdgeNd.
◆ elemMap() [1/3]
Element map from point local coordinates in 1D.
Reimplemented in concepts::Edge2d, concepts::Edge1d, concepts::Sphere3d, and concepts::SphericalSurface3d.
◆ elemMap() [2/3]
Element map from point local coordinates in 2D.
Reimplemented in concepts::Edge2d, concepts::Edge1d, concepts::Sphere3d, concepts::SphericalSurface3d, concepts::Cell2, concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ elemMap() [3/3]
Element map from point local coordinates in 3D.
Reimplemented in concepts::Edge2d, concepts::Edge1d, concepts::Sphere3d, concepts::SphericalSurface3d, concepts::Hexahedron3d, and concepts::Cell2.
◆ hasChildren()
|
inline |
◆ info()
|
protectedpure virtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Implemented in concepts::Sphere3d, concepts::SphericalSurface3d, concepts::Parallelepiped3d, concepts::Hexahedron3d, concepts::Tetrahedron3d, concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::InfiniteQuad2d, concepts::Quad2d, concepts::Triangle2d, concepts::Edge2d, concepts::Edge1d, and concepts::EdgeNd.
The documentation for this class was generated from the following file:
- geometry/cell.hh