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

#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

virtual Real3d center () const
 Returns the center of the cell. More...
 
virtual const EdgeNdchild (uint i) const =0
 Returns a pointer to the ith child. More...
 
virtual EdgeNdchild (uint i)=0
 Returns a pointer to the ith child. More...
 
Edgeconnector () const
 Returns the connector (topology) More...
 
virtual uint dim () const =0
 Returns the dimension of the space, i.e. N. More...
 
 EdgeNd (Edge &cntr)
 Constructor. More...
 
virtual Real3d elemMap (const Real coord_local) const
 Element map from point local coordinates in 1D. More...
 
virtual Real3d elemMap (const Real2d &coord_local) const
 Element map from point local coordinates in 2D. More...
 
virtual Real3d elemMap (const Real3d &coord_local) const
 Element map from point local coordinates in 3D. More...
 
bool hasChildren () const
 Returns true if there is a least one child. More...
 
virtual Real jacobianDeterminant (const Real x) const =0
 Returns the determinant of the Jacobian. More...
 
virtual Real3d vertex (const uint i) const
 Returns the coordinates of the ith vertex. More...
 
virtual ~EdgeNd ()
 

Static Public Attributes

static uint MAX_LEVEL
 

Protected Member Functions

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

Protected Attributes

Edgecntr_
 Reference to the edge (topology) More...
 

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

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

◆ 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::Edge2d, and concepts::Edge1d.

◆ 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::Edge2d, and concepts::Edge1d.

◆ 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::Edge2d, concepts::Edge1d, concepts::Sphere3d, and concepts::SphericalSurface3d.

◆ 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::Edge2d, and concepts::Edge1d.

◆ jacobianDeterminant()

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

Returns the determinant of the Jacobian.

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

◆ 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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich