concepts::Cell3 Class Referenceabstract

Three dimensional cell. More...

#include <cell.hh>

Inheritance diagram for concepts::Cell3:
concepts::Cell concepts::OutputOperator concepts::Hexahedron3d concepts::Parallelepiped3d concepts::Tetrahedron3d

Public Member Functions

virtual Real3d center () const =0
 Returns the center of the cell. More...
 
virtual const Cell3child (uint i) const =0
 Returns a pointer to the ith child. More...
 
virtual Cell3child (uint i)=0
 Returns a pointer to the ith child. More...
 
virtual Connector3connector () const =0
 Returns the connector. 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 Real3d vertex (uint i) const =0
 Returns the coordinates of the ith vertex. More...
 

Protected Member Functions

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

Detailed Description

Three dimensional cell.

Examples
meshes.cc.

Definition at line 112 of file cell.hh.

Member Function Documentation

◆ center()

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

Returns the center of the cell.

Implemented in concepts::Parallelepiped3d, concepts::Hexahedron3d, and concepts::Tetrahedron3d.

◆ child() [1/2]

virtual const Cell3* concepts::Cell3::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::Hexahedron3d, concepts::Tetrahedron3d, and concepts::Parallelepiped3d.

◆ child() [2/2]

virtual Cell3* concepts::Cell3::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::Hexahedron3d, concepts::Tetrahedron3d, and concepts::Parallelepiped3d.

◆ connector()

virtual Connector3& concepts::Cell3::connector ( ) const
pure virtual

Returns the connector.

Implements concepts::Cell.

Implemented in concepts::Parallelepiped3d, concepts::Hexahedron3d, and concepts::Tetrahedron3d.

◆ 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::Cell::info ( std::ostream &  os) const
protectedpure virtualinherited

◆ vertex()

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

Returns the coordinates of the ith vertex.

Implemented in concepts::Parallelepiped3d, concepts::Hexahedron3d, and concepts::Tetrahedron3d.


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