Class for a dual space to a continuous FE space on edges. More...

#include <dualSpace.hh>

Inheritance diagram for hp1D::DualSpace:
concepts::SpaceOnCells< Real > concepts::Space< Real >

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...
 
Scanscan () const
 
virtual Scannerscan () 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.

Author
Kersten Schmidt, 2012
Examples
inhomDirichletBCsLagrange.cc.

Definition at line 29 of file dualSpace.hh.

Member Typedef Documentation

◆ Scan

Definition at line 31 of file dualSpace.hh.

◆ Scanner

typedef Scan<ElementWithCell<Real > > concepts::SpaceOnCells< Real >::Scanner
inherited

Definition at line 84 of file space.hh.

◆ type

typedef ElementWithCell<Real > concepts::SpaceOnCells< Real >::type
inherited

Definition at line 83 of file space.hh.

Constructor & Destructor Documentation

◆ DualSpace()

hp1D::DualSpace::DualSpace ( Scan scan)

Constructor.

Parameters
scanScanner of the elements of the original FE space

◆ ~DualSpace()

virtual hp1D::DualSpace::~DualSpace ( )
virtual

Member Function Documentation

◆ dim() [1/2]

uint hp1D::DualSpace::dim ( ) const
inline
Examples
inhomDirichletBCsLagrange.cc.

Definition at line 39 of file dualSpace.hh.

◆ dim() [2/2]

virtual uint concepts::SpaceOnCells< Real >::dim ( ) const
pure virtualinherited

◆ getOutputDimension()

virtual uint concepts::Space< Real >::getOutputDimension ( ) const
inlinevirtualinherited

Returns the default output dimension, when we consider plotting a real-valued operator on this space.

Definition at line 50 of file space.hh.

◆ info()

virtual std::ostream& hp1D::DualSpace::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::SpaceOnCells< Real >.

◆ nelm() [1/2]

uint hp1D::DualSpace::nelm ( ) const
inline

Definition at line 40 of file dualSpace.hh.

◆ nelm() [2/2]

virtual uint concepts::SpaceOnCells< Real >::nelm ( ) const
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]

Scan* hp1D::DualSpace::scan ( ) const
inline

Definition at line 41 of file dualSpace.hh.

◆ scan() [2/2]

virtual Scanner* concepts::SpaceOnCells< Real >::scan ( ) const
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_

concepts::HashMap<uint> hp1D::DualSpace::ctrl0_
private

Hash table of the indices of the basis functions related to vertices.

Definition at line 62 of file dualSpace.hh.

◆ dim_

uint hp1D::DualSpace::dim_
private

Dimension of the FE space.

Definition at line 53 of file dualSpace.hh.

◆ elm_

concepts::Joiner<BaseElement<Real>*, 1>* hp1D::DualSpace::elm_
private

Linked list of the elements.

Definition at line 59 of file dualSpace.hh.

◆ nelm_

uint hp1D::DualSpace::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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich