Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions
concepts::Cell2 Class Reference

Two dimensional cell. More...

#include <cell.hh>

Inheritance diagram for concepts::Cell2:
Inheritance graph
[legend]
Collaboration diagram for concepts::Cell2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Real3d center () const =0
 Returns the center of the cell.
virtual Cell2child (uint i)=0
 Returns a pointer to the ith child.
virtual const Cell2child (uint i) const =0
 Returns a pointer to the ith child.
virtual Connector2connector () const =0
 Returns the connector.
virtual Real3d elemMap (const Real2d &coord_local) const =0
 Element map from point local coordinates in 2D.
virtual Real3d elemMap (const Real coord_local) const
 Element map from point local coordinates in 1D.
virtual Real3d elemMap (const Real3d &coord_local) const
 Element map from point local coordinates in 3D.
bool hasChildren () const
 Returns true if there is a least one child.
virtual Real3d vertex (uint i) const =0
 Returns the coordinates of the ith vertex.

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 85 of file cell.hh.


Member Function Documentation

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

Returns the center of the cell.

Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, and concepts::Triangle3d.

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, and concepts::Triangle3d.

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, and concepts::Triangle3d.

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

Returns the connector.

Implements concepts::Cell.

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

virtual Real3d concepts::Cell2::elemMap ( const Real3d coord_local) const [inline, virtual]

Element map from point local coordinates in 3D.

Reference element is 2D, third component is omitted.

Reimplemented from concepts::Cell.

Definition at line 100 of file cell.hh.

Here is the call graph for this function:

virtual Real3d concepts::Cell::elemMap ( const Real  coord_local) const [virtual, inherited]

Element map from point local coordinates in 1D.

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

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, and concepts::Triangle3d.

bool concepts::Cell::hasChildren ( ) const [inline, inherited]

Returns true if there is a least one child.

Reimplemented in concepts::Quad2d, and concepts::InfiniteRect2d.

Definition at line 48 of file cell.hh.

Here is the call graph for this function:

virtual std::ostream& concepts::Cell::info ( std::ostream &  os) const [protected, pure virtual, inherited]
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, and concepts::Triangle3d.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)