Abstract base class of spaces for DG FEM in 2D on triangles. More...
#include <space.hh>


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 Triangle & | elm (const concepts::Triangle2d *cell) const |
Returns the element on triangle cell. | |
| virtual uint | nelm () const |
| Returns the number of elements in the space. | |
| virtual Scanner * | scan () 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 Triangle * | newElm_ (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. | |
Abstract base class of spaces for DG FEM in 2D on triangles.
| typedef __gnu_cxx::hash_map<uint, Triangle*> linDG2D::Space::Map |
typedef Scan<Element<Real > > concepts::Space< Real >::Scanner [inherited] |
Reimplemented in linDG3D::FvdgSpace, concepts::SpaceOnCells< Real >, and vectorial::Space< Real >.
| typedef void(* linDG2D::Space::SMap)(const concepts::TColumn< Real > &, concepts::TColumn< Real > &) |
| virtual linDG2D::Space::~Space | ( | ) | [virtual] |
| 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 >.
| virtual const Triangle& linDG2D::Space::elm | ( | const concepts::Triangle2d * | cell | ) | const [inline, virtual] |
| 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 >.
| 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 >.
uint linDG2D::Space::dim_ [private] |
Map linDG2D::Space::elm_ [private] |
uint linDG2D::Space::nelm_ [private] |