Class documentation of Concepts

Loading...
Searching...
No Matches

#include <space.hh>

Inheritance diagram for linDG2D::SpaceP1:
linDG2D::Space concepts::Space< Real > concepts::OutputOperator

Public Types

typedef TriangleP1 Element
 
typedef void(* SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &)
 
typedef std::unordered_map< uint, Triangle * > Map
 
typedef Element< Real > type
 
typedef Scan< Element< Real > > Scanner
 

Public Member Functions

 SpaceP1 (concepts::Mesh2 &msh)
 
virtual Scannerscan () const
 Returns a scanner to iterate over the elements of the space.
 
virtual uint dim () const
 Returns the dimension of the space.
 
virtual uint nelm () const
 Returns the number of elements in the space.
 
virtual const Triangleelm (const concepts::Triangle2d *cell) const
 Returns the element on triangle cell.
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
virtual TrianglenewElm_ (const concepts::Triangle2d &cell, uint idx[]) const
 
virtual uint nDoF_ () const
 Returns number of degrees of freedom per element.
 
virtual void constructor_ (concepts::Mesh2 &mesh)
 

Detailed Description

Space for linear DG FEM in 2D on triangles.

Author
Christoph Winkelmann, 2003

Definition at line 83 of file space.hh.

Member Typedef Documentation

◆ Element

Definition at line 85 of file space.hh.

◆ Map

typedef std::unordered_map<uint, Triangle*> linDG2D::Space::Map
inherited

Definition at line 34 of file space.hh.

◆ Scanner

typedef Scan<Element<Real > > concepts::Space< Real >::Scanner
inherited

Definition at line 47 of file space.hh.

◆ SMap

typedef void(* linDG2D::Space::SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &)
inherited

Definition at line 32 of file space.hh.

◆ type

typedef Element<Real > concepts::Space< Real >::type
inherited

Definition at line 46 of file space.hh.

Constructor & Destructor Documentation

◆ SpaceP1()

linDG2D::SpaceP1::SpaceP1 ( concepts::Mesh2 msh)
inline

Constructor. Generates the list of element pairs elmPair_.

Parameters
mshMesh

Definition at line 89 of file space.hh.

Member Function Documentation

◆ dim()

virtual uint linDG2D::Space::dim ( ) const
inlinevirtualinherited

Returns the dimension of the space.

Implements concepts::Space< Real >.

Definition at line 39 of file space.hh.

◆ elm()

virtual const Triangle & linDG2D::Space::elm ( const concepts::Triangle2d cell) const
inlinevirtualinherited

Returns the element on triangle cell.

Definition at line 43 of file space.hh.

◆ getOutputDimension()

virtual uint concepts::Space< Real >::getOutputDimension ( ) const
inlinevirtualinherited

Returns the default output dimension, when we consider plotting a real-valued operator on this space.

Definition at line 50 of file space.hh.

◆ info()

virtual std::ostream & linDG2D::SpaceP1::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from linDG2D::Space.

◆ nDoF_()

virtual uint linDG2D::SpaceP1::nDoF_ ( ) const
inlineprotectedvirtual

Returns number of degrees of freedom per element.

Implements linDG2D::Space.

Definition at line 97 of file space.hh.

◆ nelm()

virtual uint linDG2D::Space::nelm ( ) const
inlinevirtualinherited

Returns the number of elements in the space.

Implements concepts::Space< Real >.

Definition at line 41 of file space.hh.

◆ newElm_()

virtual Triangle * linDG2D::SpaceP1::newElm_ ( const concepts::Triangle2d cell,
uint  idx[] 
) const
inlineprotectedvirtual

Implements linDG2D::Space.

Definition at line 92 of file space.hh.

◆ scan()

virtual Scanner * linDG2D::Space::scan ( ) const
inlinevirtualinherited

Returns a scanner to iterate over the elements of the space.

Implements concepts::Space< Real >.

Definition at line 37 of file space.hh.


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