linDG2D::SpaceP1 Class Referenceabstract
Space for linear DG FEM in 2D on triangles. More...
#include <space.hh>
Public Types | |
typedef TriangleP1 | Element |
typedef std::unordered_map< uint, Triangle * > | Map |
typedef Scan< Element< Real > > | Scanner |
typedef void(* | SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &) |
typedef Element< Real > | type |
Public Member Functions | |
virtual uint | dim () const |
Returns the dimension of the space. More... | |
virtual uint | dim () const=0 |
Returns the dimension of the space. More... | |
virtual const Triangle & | elm (const concepts::Triangle2d *cell) const |
Returns the element on triangle cell . More... | |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. More... | |
virtual uint | nelm () const |
Returns the number of elements in the space. More... | |
virtual uint | nelm () const=0 |
Returns the number of elements in the space. More... | |
virtual Scanner * | scan () const |
virtual Scanner * | scan () const=0 |
Returns a scanner to iterate over the elements of the space. More... | |
SpaceP1 (concepts::Mesh2 &msh) | |
Constructor. More... | |
Protected Member Functions | |
virtual void | constructor_ (concepts::Mesh2 &mesh) |
virtual std::ostream & | info (std::ostream &os) const |
virtual uint | nDoF_ () const |
Returns number of degrees of freedom per element. More... | |
virtual Triangle * | newElm_ (const concepts::Triangle2d &cell, uint idx[]) const |
Private Attributes | |
uint | dim_ |
Number of degrees of freedom. More... | |
Map | elm_ |
List of elements. More... | |
uint | nelm_ |
Number of elements. More... | |
Detailed Description
Member Typedef Documentation
◆ Element
typedef TriangleP1 linDG2D::SpaceP1::Element |
◆ Map
|
inherited |
◆ Scanner
|
inherited |
◆ SMap
|
inherited |
◆ type
|
inherited |
Constructor & Destructor Documentation
◆ SpaceP1()
|
inline |
Member Function Documentation
◆ constructor_()
|
protectedvirtualinherited |
◆ dim() [1/2]
|
inlinevirtualinherited |
◆ dim() [2/2]
|
pure virtualinherited |
Returns the dimension of the space.
Implemented in concepts::SpaceOnCells< Real >, concepts::DummySpace< Real >, hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, and hp1D::Space.
◆ elm()
|
inlinevirtualinherited |
◆ getOutputDimension()
|
inlinevirtualinherited |
◆ info()
|
protectedvirtual |
Reimplemented from linDG2D::Space.
◆ nDoF_()
|
inlineprotectedvirtual |
Returns number of degrees of freedom per element.
Implements linDG2D::Space.
◆ nelm() [1/2]
|
inlinevirtualinherited |
◆ nelm() [2/2]
|
pure virtualinherited |
Returns the number of elements in the space.
Implemented in concepts::SpaceOnCells< Real >, concepts::DummySpace< Real >, hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, and hp1D::Space.
◆ newElm_()
|
inlineprotectedvirtual |
Implements linDG2D::Space.
◆ scan() [1/2]
|
inlinevirtualinherited |
◆ scan() [2/2]
|
pure virtualinherited |
Returns a scanner to iterate over the elements of the space.
Implemented in concepts::SpaceOnCells< Real >, concepts::DummySpace< Real >, hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, and hp1D::Space.
Member Data Documentation
◆ dim_
|
privateinherited |
◆ elm_
◆ nelm_
|
privateinherited |
The documentation for this class was generated from the following file:
- linDG2D/space.hh