hp1D::DualSpace Class Referenceabstract
Class for a dual space to a continuous FE space on edges. More...
#include <dualSpace.hh>
Public Types | |
typedef concepts::Scan< BaseElement< Real > > | Scan |
typedef Scan< ElementWithCell< Real > > | Scanner |
typedef ElementWithCell< Real > | type |
Public Member Functions | |
uint | dim () const |
virtual uint | dim () const=0 |
Returns the dimension of the space. More... | |
DualSpace (Scan *scan) | |
Constructor. More... | |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. More... | |
uint | nelm () const |
virtual uint | nelm () const=0 |
Returns the number of elements in the space. More... | |
void | recomputeShapefunctions () |
Recompute shape functions, e.g. More... | |
Scan * | scan () const |
virtual Scanner * | scan () const=0 |
Returns a scanner to iterate over the elements of the space. More... | |
virtual | ~DualSpace () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
concepts::HashMap< uint > | ctrl0_ |
Hash table of the indices of the basis functions related to vertices. More... | |
uint | dim_ |
Dimension of the FE space. More... | |
concepts::Joiner< BaseElement< Real > *, 1 > * | elm_ |
Linked list of the elements. More... | |
uint | nelm_ |
Number of elements currently active in the mesh. More... | |
Detailed Description
Class for a dual space to a continuous FE space on edges.
The duality is w.r.t. to the L^2-product.
Does not work with hanging nodes. For each element of given polynomial degree p it is assumed that there are (p-1) inner degrees of freedom. If the vertex degrees of freedom are passive (no entry in the T-matrix) there will be no dual function built.
- Examples
- inhomDirichletBCsLagrange.cc.
Definition at line 29 of file dualSpace.hh.
Member Typedef Documentation
◆ Scan
typedef concepts::Scan<BaseElement<Real> > hp1D::DualSpace::Scan |
Definition at line 31 of file dualSpace.hh.
◆ Scanner
|
inherited |
◆ type
|
inherited |
Constructor & Destructor Documentation
◆ DualSpace()
hp1D::DualSpace::DualSpace | ( | Scan * | scan | ) |
Constructor.
- Parameters
-
scan Scanner of the elements of the original FE space
◆ ~DualSpace()
|
virtual |
Member Function Documentation
◆ dim() [1/2]
|
inline |
- Examples
- inhomDirichletBCsLagrange.cc.
Definition at line 39 of file dualSpace.hh.
◆ dim() [2/2]
|
pure virtualinherited |
Returns the dimension of the space.
Implements concepts::Space< Real >.
Implemented in hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, and hp1D::Space.
◆ getOutputDimension()
|
inlinevirtualinherited |
◆ info()
|
protectedvirtual |
Reimplemented from concepts::SpaceOnCells< Real >.
◆ nelm() [1/2]
|
inline |
Definition at line 40 of file dualSpace.hh.
◆ nelm() [2/2]
|
pure virtualinherited |
Returns the number of elements in the space.
Implements concepts::Space< Real >.
Implemented in hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, and hp1D::Space.
◆ recomputeShapefunctions()
void hp1D::DualSpace::recomputeShapefunctions | ( | ) |
Recompute shape functions, e.g.
for other abscissas redefined through IntegrableElm::rule().set(...)
◆ scan() [1/2]
|
inline |
Definition at line 41 of file dualSpace.hh.
◆ scan() [2/2]
|
pure virtualinherited |
Returns a scanner to iterate over the elements of the space.
Implements concepts::Space< Real >.
Implemented in hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, and hp1D::Space.
Member Data Documentation
◆ ctrl0_
|
private |
Hash table of the indices of the basis functions related to vertices.
Definition at line 62 of file dualSpace.hh.
◆ dim_
|
private |
Dimension of the FE space.
Definition at line 53 of file dualSpace.hh.
◆ elm_
|
private |
Linked list of the elements.
Definition at line 59 of file dualSpace.hh.
◆ nelm_
|
private |
Number of elements currently active in the mesh.
Definition at line 56 of file dualSpace.hh.
The documentation for this class was generated from the following file:
- hp1D/dualSpace.hh