Space for linear DG FEM in 2D on triangles. More...
#include <space.hh>


Public Types | |
| typedef TriangleP1 | Element |
| 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. | |
| SpaceP1 (concepts::Mesh2 &msh) | |
| Constructor. | |
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 |
| Returns number of degrees of freedom per element. | |
| virtual Triangle * | newElm_ (const concepts::Triangle2d &cell, uint idx[]) const |
| typedef TriangleP1 linDG2D::SpaceP1::Element |
typedef __gnu_cxx::hash_map<uint, Triangle*> linDG2D::Space::Map [inherited] |
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 > &) [inherited] |
| linDG2D::SpaceP1::SpaceP1 | ( | concepts::Mesh2 & | msh | ) | [inline] |
| virtual void linDG2D::Space::constructor_ | ( | concepts::Mesh2 & | mesh | ) | [protected, virtual, inherited] |
| virtual uint linDG2D::Space::dim | ( | ) | const [inline, virtual, inherited] |
Returns the dimension of the space.
Implements concepts::Space< Real >.
| virtual const Triangle& linDG2D::Space::elm | ( | const concepts::Triangle2d * | cell | ) | const [inline, virtual, inherited] |
| virtual std::ostream& linDG2D::SpaceP1::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from linDG2D::Space.
| virtual uint linDG2D::SpaceP1::nDoF_ | ( | ) | const [inline, protected, virtual] |
Returns number of degrees of freedom per element.
Implements linDG2D::Space.
| virtual uint linDG2D::Space::nelm | ( | ) | const [inline, virtual, inherited] |
Returns the number of elements in the space.
Implements concepts::Space< Real >.
| virtual Triangle* linDG2D::SpaceP1::newElm_ | ( | const concepts::Triangle2d & | cell, |
| uint | idx[] | ||
| ) | const [inline, protected, virtual] |
Implements linDG2D::Space.
| virtual Scanner* linDG2D::Space::scan | ( | ) | const [inline, virtual, inherited] |
Returns a scanner to iterate over the elements of the space.
Implements concepts::Space< Real >.