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

Public Member Functions | Protected Member Functions | Protected Attributes
concepts::EdgeNd Class Reference

A 1D cell in any dimension: edge. More...

#include <cell1D.hh>

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

List of all members.

Public Member Functions

virtual Real3d center () const
 Returns the center of the cell.
virtual EdgeNdchild (uint i)=0
 Returns a pointer to the ith child.
virtual const EdgeNdchild (uint i) const =0
 Returns a pointer to the ith child.
Edgeconnector () const
 Returns the connector (topology)
 EdgeNd (Edge &cntr)
 Constructor.
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.
bool hasChildren () const
 Returns true if there is a least one child.
virtual Real jacobianDeterminant (const Real x) const =0
 Returns the determinant of the Jacobian.
virtual Real3d vertex (const uint i) const
 Returns the coordinates of the ith vertex.
virtual ~EdgeNd ()

Protected Member Functions

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

Protected Attributes

Edgecntr_
 Reference to the edge (topology)

Detailed Description

A 1D cell in any dimension: edge.

Base class for Edge1d, Edge2d.

Author:
Kersten Schmidt, 2009

Definition at line 29 of file cell1D.hh.


Constructor & Destructor Documentation

concepts::EdgeNd::EdgeNd ( Edge cntr) [inline]

Constructor.

Parameters:
cntrThe edge which should be represented

Definition at line 34 of file cell1D.hh.

virtual concepts::EdgeNd::~EdgeNd ( ) [inline, virtual]

Definition at line 35 of file cell1D.hh.


Member Function Documentation

virtual Real3d concepts::EdgeNd::center ( ) const [virtual]

Returns the center of the cell.

Implements concepts::Cell1.

virtual const EdgeNd* concepts::EdgeNd::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::Cell1.

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

virtual EdgeNd* concepts::EdgeNd::child ( uint  i) [pure virtual]

Returns a pointer to the ith child.

Children are created if they do not already exist.

Implements concepts::Cell1.

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

Edge& concepts::EdgeNd::connector ( ) const [inline, virtual]

Returns the connector (topology)

Implements concepts::Cell1.

Definition at line 41 of file cell1D.hh.

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

Element map from point local coordinates in 3D.

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

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::Cell::elemMap ( const Real2d coord_local) const [virtual, inherited]
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::EdgeNd::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Implements concepts::Cell.

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

virtual Real concepts::EdgeNd::jacobianDeterminant ( const Real  x) const [pure virtual]

Returns the determinant of the Jacobian.

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

virtual Real3d concepts::EdgeNd::vertex ( const uint  i) const [virtual]

Returns the coordinates of the ith vertex.

Implements concepts::Cell1.


Member Data Documentation

Reference to the edge (topology)

Definition at line 52 of file cell1D.hh.


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

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