#include <cell2D.hh>
Classes | |
struct | Index |
Subclass of QuadNd representing its index. More... | |
Public Types | |
typedef uint | index_type |
Public Member Functions | |
QuadNd (Quad &cntr) | |
QuadNd (Quad &cntr, const Index &idx) | |
virtual uint | dim () const =0 |
Quad & | connector () const |
Returns the quadrilateral connector (topology) | |
virtual Real | gramDeterminantRoot (const Real xi, const Real eta) const =0 |
virtual Real | lineElement (const Real xi, const uint edge) const =0 |
Level< 2 > | level () const |
virtual Cell2 * | child (uint i)=0 |
virtual const Cell2 * | child (uint i) const =0 |
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. | |
virtual Real3d | elemMap (const Real2d &coord_local) const =0 |
Element map from point local coordinates in 2D. | |
virtual Real3d | elemMap (const Real3d &coord_local) const |
virtual Real3d | elemMap (const Real coord_local) const |
Element map from point local coordinates in 1D. | |
bool | hasChildren () const |
Returns true if there is a least one child. | |
Static Public Attributes | |
static uint | MAX_LEVEL |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const =0 |
Returns information in an output stream. | |
Protected Attributes | |
Quad & | cntr_ |
Reference to the quadrilateral connector (topology) | |
Index | idx_ |
Index of this element. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const QuadNd::Index &i) |
Base class for a quadrilateral in any dimension. Currently only used as base class for Quad3d
Returns the center of the cell.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
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::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
Returns a pointer to the ith child. Children are created if they do not already exist.
Implements concepts::Cell.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
|
inlinevirtual |
Returns the quadrilateral connector (topology)
Implements concepts::Cell2.
Returns the dimension of the space
Implemented in concepts::Quad2d, and concepts::Quad3d.
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 from concepts::Cell.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.
Element map from point local coordinates in 3D
Reference element is 2D, third component is omitted.
Reimplemented from concepts::Cell.
|
pure virtual |
Returns the square root of the Gram determinant.
The Gram determinant is given by
where A is the Jacobian of the mapping. Note that for a Quad2d
this is the same as the determinant of the Jacobian.
Implemented in concepts::Quad2d, and concepts::Quad3d.
|
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.
|
inline |
Implemented in concepts::Quad2d.
Returns the coordinates of the ith vertex.
Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteQuad2d, concepts::Triangle3d, and concepts::Quad3d.
|
protected |
|
protected |