#include <cell.hh>
Public Member Functions | |
virtual Cell * | child (uint i)=0 |
virtual const Cell * | child (uint i) const =0 |
bool | hasChildren () const |
Returns true if there is a least one child. | |
virtual Connector & | connector () const =0 |
Returns the connector. | |
virtual Real3d | elemMap (const Real coord_local) const |
Element map from point local coordinates in 1D. | |
virtual Real3d | elemMap (const Real2d &coord_local) const |
Element map from point local coordinates in 2D. | |
virtual Real3d | elemMap (const Real3d &coord_local) const |
Element map from point local coordinates in 3D. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const =0 |
Returns information in an output stream. | |
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.
Returns a pointer to the ith child. Children are not created if they do not already exist, instead 0 is returned.
Implemented in concepts::Parallelepiped3d, concepts::Edge1d, concepts::Edge2d, concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, concepts::Quad3d, concepts::Tetrahedron3d, concepts::Hexahedron3d, concepts::Cell1, concepts::Cell2, concepts::Cell3, concepts::EdgeNd, concepts::SphericalSurface3d, and concepts::Sphere3d.
Returns a pointer to the ith child. Children are created if they do not already exist.
Implemented in concepts::Parallelepiped3d, concepts::Edge1d, concepts::Edge2d, concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, concepts::Quad3d, concepts::Tetrahedron3d, concepts::Hexahedron3d, concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Cell1, concepts::Cell2, concepts::Cell3, and concepts::EdgeNd.
Returns the connector.
Implemented in concepts::EdgeNd, concepts::Triangle2d, concepts::QuadNd, concepts::InfiniteQuad2d, concepts::Triangle3d, concepts::Tetrahedron3d, concepts::Hexahedron3d, concepts::Parallelepiped3d, concepts::Cell1, concepts::Cell2, concepts::Cell3, concepts::SphericalSurface3d, and concepts::Sphere3d.
Element map from point local coordinates in 1D.
Reimplemented in concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Edge1d, and concepts::Edge2d.
Element map from point local coordinates in 2D.
Reimplemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, concepts::Quad3d, concepts::Cell2, concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Edge1d, and concepts::Edge2d.
Element map from point local coordinates in 3D.
Reimplemented in concepts::Cell2, concepts::Hexahedron3d, concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Edge1d, and concepts::Edge2d.
|
inline |
|
protectedpure virtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Implemented in concepts::EdgeNd, concepts::Edge1d, concepts::Edge2d, concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteQuad2d, concepts::InfiniteRect2d, concepts::Triangle3d, concepts::Quad3d, concepts::Tetrahedron3d, concepts::Hexahedron3d, concepts::Parallelepiped3d, concepts::SphericalSurface3d, and concepts::Sphere3d.