Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Classes | Public Types | Public Member Functions | Protected Member Functions | Private Attributes
linDG2D::Space Class Reference

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

#include <space.hh>

Inheritance diagram for linDG2D::Space:
Inheritance graph
[legend]
Collaboration diagram for linDG2D::Space:
Collaboration graph
[legend]

List of all members.

Classes

class  S
 Scanner class for Space. More...

Public Types

typedef __gnu_cxx::hash_map
< uint, Triangle * > 
Map
typedef Scan< Element< Real > > Scanner
typedef void(* SMap )(const concepts::TColumn< Real > &, concepts::TColumn< Real > &)

Public Member Functions

virtual uint dim () const
 Returns the dimension of the space.
virtual const Triangleelm (const concepts::Triangle2d *cell) const
 Returns the element on triangle cell.
virtual uint nelm () const
 Returns the number of elements in the space.
virtual Scannerscan () const
 Returns a scanner to iterate over the elements of the space.
 Space ()
virtual ~Space ()

Protected Member Functions

virtual void constructor_ (concepts::Mesh2 &mesh)
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
virtual uint nDoF_ () const =0
virtual TrianglenewElm_ (const concepts::Triangle2d &cell, uint idx[]) const =0

Private Attributes

uint dim_
 Number of degrees of freedom.
Map elm_
 List of elements.
uint nelm_
 Number of elements.

Detailed Description

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

Author:
Christoph Winkelmann, 2003

Definition at line 42 of file space.hh.


Member Typedef Documentation

typedef __gnu_cxx::hash_map<uint, Triangle*> linDG2D::Space::Map

Definition at line 46 of file space.hh.

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

Reimplemented in linDG3D::FvdgSpace, concepts::SpaceOnCells< Real >, and vectorial::Space< Real >.

Definition at line 44 of file space.hh.

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

Definition at line 44 of file space.hh.


Constructor & Destructor Documentation

linDG2D::Space::Space ( ) [inline]

Definition at line 47 of file space.hh.

virtual linDG2D::Space::~Space ( ) [virtual]

Member Function Documentation

virtual void linDG2D::Space::constructor_ ( concepts::Mesh2 mesh) [protected, virtual]
virtual uint linDG2D::Space::dim ( ) const [inline, virtual]

Returns the dimension of the space.

Implements concepts::Space< Real >.

Definition at line 51 of file space.hh.

virtual const Triangle& linDG2D::Space::elm ( const concepts::Triangle2d cell) const [inline, virtual]

Returns the element on triangle cell.

Definition at line 55 of file space.hh.

Here is the call graph for this function:

virtual std::ostream& linDG2D::Space::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Space< Real >.

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

virtual uint linDG2D::Space::nDoF_ ( ) const [protected, pure virtual]

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

virtual uint linDG2D::Space::nelm ( ) const [inline, virtual]

Returns the number of elements in the space.

Implements concepts::Space< Real >.

Definition at line 53 of file space.hh.

virtual Triangle* linDG2D::Space::newElm_ ( const concepts::Triangle2d cell,
uint  idx[] 
) const [protected, pure virtual]

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

virtual Scanner* linDG2D::Space::scan ( ) const [inline, virtual]

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

Implements concepts::Space< Real >.

Definition at line 49 of file space.hh.


Member Data Documentation

uint linDG2D::Space::dim_ [private]

Number of degrees of freedom.

Definition at line 83 of file space.hh.

List of elements.

Definition at line 87 of file space.hh.

uint linDG2D::Space::nelm_ [private]

Number of elements.

Definition at line 85 of file space.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)