One dimensional cell. More...
#include <cell.hh>
Public Member Functions | |
virtual Cell1 * | child (uint i)=0 |
virtual const Cell1 * | child (uint i) const =0 |
virtual Connector1 & | connector () const =0 |
Returns the connector. | |
virtual Real3d | vertex (uint i) const =0 |
Returns the coordinates of the ith vertex. | |
virtual Real3d | center () const =0 |
Returns the center of the cell. | |
bool | hasChildren () const |
Returns true if there is a least one child. | |
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. | |
Returns the center of the cell.
Implemented in concepts::EdgeNd.
Returns a pointer to the ith child. Children are not created if they do not already exist, instead 0 is returned.
Implements concepts::Cell.
Implemented in concepts::Edge1d, concepts::Edge2d, and concepts::EdgeNd.
Returns a pointer to the ith child. Children are created if they do not already exist.
Implements concepts::Cell.
Implemented in concepts::Edge1d, concepts::Edge2d, and concepts::EdgeNd.
|
pure virtual |
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.
|
inlineinherited |
|
protectedpure virtualinherited |
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.
Returns the coordinates of the ith vertex.
Implemented in concepts::EdgeNd.