linDG2D::Space Class Referenceabstract
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 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... | |
Space () | |
virtual | ~Space () |
Protected Member Functions | |
virtual void | constructor_ (concepts::Mesh2 &mesh) |
virtual std::ostream & | info (std::ostream &os) const |
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. More... | |
Map | elm_ |
List of elements. More... | |
uint | nelm_ |
Number of elements. More... | |
Detailed Description
Abstract base class of spaces for DG FEM in 2D on triangles.
Member Typedef Documentation
◆ Map
typedef std::unordered_map<uint, Triangle*> linDG2D::Space::Map |
◆ Scanner
|
inherited |
◆ SMap
typedef void(* linDG2D::Space::SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &) |
◆ type
|
inherited |
Constructor & Destructor Documentation
◆ Space()
◆ ~Space()
|
virtual |
Member Function Documentation
◆ constructor_()
|
protectedvirtual |
◆ dim() [1/2]
|
inlinevirtual |
◆ 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()
|
inlinevirtual |
◆ getOutputDimension()
|
inlinevirtualinherited |
◆ info()
|
protectedvirtual |
Reimplemented from concepts::Space< Real >.
Reimplemented in linDG2D::SpaceP0, and linDG2D::SpaceP1.
◆ nDoF_()
|
protectedpure virtual |
Implemented in linDG2D::SpaceP0, and linDG2D::SpaceP1.
◆ nelm() [1/2]
|
inlinevirtual |
◆ 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_()
|
protectedpure virtual |
Implemented in linDG2D::SpaceP0, and linDG2D::SpaceP1.
◆ scan() [1/2]
|
inlinevirtual |
◆ 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_
|
private |
◆ elm_
◆ nelm_
The documentation for this class was generated from the following file:
- linDG2D/space.hh