Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Cell2 Class Referenceabstract

Two dimensional cell. More...

#include <cell.hh>

Inheritance diagram for concepts::Cell2:
concepts::Cell concepts::OutputOperator concepts::InfiniteQuad2d concepts::QuadNd concepts::Triangle2d concepts::Triangle3d concepts::InfiniteRect2d concepts::Quad2d concepts::Quad3d

Public Member Functions

virtual Cell2child (uint i)=0
 
virtual const Cell2child (uint i) const =0
 
virtual Connector2connector () 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.
 
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
 
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.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const =0
 Returns information in an output stream.
 

Detailed Description

Two dimensional cell.

Examples
meshes.cc.

Definition at line 89 of file cell.hh.

Member Function Documentation

◆ center()

virtual Real3d concepts::Cell2::center ( ) const
pure virtual

◆ child() [1/2]

virtual const Cell2 * concepts::Cell2::child ( uint  i) const
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::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.

◆ child() [2/2]

virtual Cell2 * concepts::Cell2::child ( uint  i)
pure virtual

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.

◆ connector()

virtual Connector2 & concepts::Cell2::connector ( ) const
pure virtual

Returns the connector.

Implements concepts::Cell.

Implemented in concepts::Triangle2d, concepts::QuadNd, concepts::InfiniteQuad2d, and concepts::Triangle3d.

◆ elemMap() [1/3]

virtual Real3d concepts::Cell::elemMap ( const Real  coord_local) const
virtualinherited

Element map from point local coordinates in 1D.

Reimplemented in concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Edge1d, and concepts::Edge2d.

◆ elemMap() [2/3]

virtual Real3d concepts::Cell2::elemMap ( const Real2d coord_local) const
pure virtual

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.

◆ elemMap() [3/3]

virtual Real3d concepts::Cell2::elemMap ( const Real3d coord_local) const
inlinevirtual

Element map from point local coordinates in 3D

Reference element is 2D, third component is omitted.

Reimplemented from concepts::Cell.

Definition at line 104 of file cell.hh.

◆ hasChildren()

bool concepts::Cell::hasChildren ( ) const
inlineinherited

Returns true if there is a least one child.

Definition at line 50 of file cell.hh.

◆ info()

◆ vertex()

virtual Real3d concepts::Cell2::vertex ( uint  i) const
pure virtual

Returns the coordinates of the ith vertex.

Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteQuad2d, concepts::Triangle3d, and concepts::Quad3d.


The documentation for this class was generated from the following file: