A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geometrical information (coordinates). More...

#include <cell.hh>

Inheritance diagram for concepts::Cell:
concepts::OutputOperator concepts::Cell1 concepts::Cell2 concepts::Cell3 concepts::Sphere3d concepts::SphericalSurface3d concepts::EdgeNd concepts::InfiniteQuad2d concepts::QuadNd concepts::Triangle2d concepts::Triangle3d concepts::Hexahedron3d concepts::Parallelepiped3d concepts::Tetrahedron3d

Public Member Functions

virtual const Cellchild (uint i) const =0
 Returns a pointer to the ith child. More...
 
virtual Cellchild (uint i)=0
 Returns a pointer to the ith child. More...
 
virtual Connectorconnector () 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...
 

Protected Member Functions

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

Detailed Description

A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geometrical information (coordinates).

This class joins the topological information from a Connector and the geometical information from an element map.

This class prescribes the common interface for all geometrical elements (cells). This interface consists of methods to query the children and the assiociated connector.

See also
Connector
Map1d
Map2d
Map3d

Definition at line 39 of file cell.hh.

Member Function Documentation

◆ child() [1/2]

virtual const Cell* concepts::Cell::child ( uint  i) const
pure virtual

◆ child() [2/2]

◆ connector()

◆ elemMap() [1/3]

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

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
virtual

◆ elemMap() [3/3]

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

◆ hasChildren()

bool concepts::Cell::hasChildren ( ) const
inline

Returns true if there is a least one child.

Definition at line 50 of file cell.hh.

◆ info()


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