Class documentation of Concepts

Loading...
Searching...
No Matches

#include <space.hh>

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

Public Types

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

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 =0
 
virtual uint nDoF_ () const =0
 
virtual void constructor_ (concepts::Mesh2 &mesh)
 

Detailed Description

Abstract base class of spaces for DG FEM in 2D on triangles.

Author
Christoph Winkelmann, 2003

Definition at line 30 of file space.hh.

Member Typedef Documentation

◆ Map

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

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 > &)

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

◆ Space()

linDG2D::Space::Space ( )
inline

Definition at line 35 of file space.hh.

Member Function Documentation

◆ dim()

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

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
inlinevirtual

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::Space::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Space< Real >.

Reimplemented in linDG2D::SpaceP1, and linDG2D::SpaceP0.

◆ nDoF_()

virtual uint linDG2D::Space::nDoF_ ( ) const
protectedpure virtual

Implemented in linDG2D::SpaceP1.

◆ nelm()

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

Returns the number of elements in the space.

Implements concepts::Space< Real >.

Definition at line 41 of file space.hh.

◆ scan()

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

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: