concepts::Cell2 Class Referenceabstract
Two dimensional cell. More...
#include <cell.hh>
Public Member Functions | |
virtual Real3d | center () const =0 |
Returns the center of the cell. More... | |
virtual const Cell2 * | child (uint i) const =0 |
Returns a pointer to the ith child. More... | |
virtual Cell2 * | child (uint i)=0 |
Returns a pointer to the ith child. More... | |
virtual Connector2 & | 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 =0 |
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... | |
virtual Real3d | vertex (uint i) const =0 |
Returns the coordinates of the ith vertex. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const =0 |
Returns information in an output stream. More... | |
Detailed Description
Member Function Documentation
◆ center()
|
pure virtual |
Returns the center of the cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ 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.
Implements concepts::Cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ child() [2/2]
|
pure virtual |
Returns a pointer to the ith child.
Children are created if they do not already exist.
Implements concepts::Cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ connector()
|
pure virtual |
Returns the connector.
Implements concepts::Cell.
Implemented in concepts::Triangle3d, concepts::InfiniteQuad2d, concepts::QuadNd, and concepts::Triangle2d.
◆ 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 from concepts::Cell.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.
◆ elemMap() [3/3]
Element map from point local coordinates in 3D.
Reference element is 2D, third component is omitted.
Reimplemented from concepts::Cell.
◆ hasChildren()
|
inlineinherited |
◆ info()
|
protectedpure virtualinherited |
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.
◆ vertex()
|
pure virtual |
Returns the coordinates of the ith vertex.
Implemented in concepts::Quad3d, concepts::Triangle3d, concepts::InfiniteQuad2d, concepts::Quad2d, and concepts::Triangle2d.
The documentation for this class was generated from the following file:
- geometry/cell.hh