Class documentation of Concepts

Loading...
Searching...
No Matches

#include <cell1D.hh>

Inheritance diagram for concepts::EdgeNd:
concepts::Cell1 concepts::Cell concepts::OutputOperator concepts::Edge1d concepts::Edge2d

Public Types

typedef uint index_type
 

Public Member Functions

 EdgeNd (Edge &cntr)
 
virtual EdgeNdchild (uint i)=0
 
virtual const EdgeNdchild (uint i) const =0
 
Edgeconnector () const
 Returns the connector (topology)
 
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 Real3d center () const
 Returns the center of the cell.
 
virtual uint dim () const =0
 Returns the dimension of the space, i.e. N.
 
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.
 
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.
 

Static Public Attributes

static uint MAX_LEVEL
 

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 32 of file cell1D.hh.

Member Typedef Documentation

◆ index_type

typedef uint concepts::EdgeNd::index_type

Definition at line 40 of file cell1D.hh.

Constructor & Destructor Documentation

◆ EdgeNd()

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

Constructor.

Parameters
cntrThe edge which should be represented

Definition at line 49 of file cell1D.hh.

◆ ~EdgeNd()

virtual concepts::EdgeNd::~EdgeNd ( )
inlinevirtual

Definition at line 52 of file cell1D.hh.

Member Function Documentation

◆ center()

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

Returns the center of the cell.

Implements concepts::Cell1.

◆ child() [1/2]

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.

◆ child() [2/2]

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.

◆ connector()

Edge & concepts::EdgeNd::connector ( ) const
inlinevirtual

Returns the connector (topology)

Implements concepts::Cell1.

Definition at line 59 of file cell1D.hh.

◆ dim()

virtual uint concepts::EdgeNd::dim ( ) const
pure virtual

Returns the dimension of the space, i.e. N.

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

◆ 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::Cell::elemMap ( const Real2d coord_local) const
virtualinherited

◆ elemMap() [3/3]

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

◆ 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()

virtual std::ostream & concepts::EdgeNd::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Implements concepts::Cell.

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

◆ jacobianDeterminant()

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

Returns the determinant of the Jacobian.

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

◆ vertex()

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

Returns the coordinates of the ith vertex.

Implements concepts::Cell1.

Member Data Documentation

◆ cntr_

Edge& concepts::EdgeNd::cntr_
protected

Reference to the edge (topology)

Definition at line 74 of file cell1D.hh.

◆ MAX_LEVEL

uint concepts::EdgeNd::MAX_LEVEL
static

Definition at line 44 of file cell1D.hh.


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