A 1D polynomial space spanned by Legrendre type polynomials. More...

#include <hpAdaptiveSpaceL2.hh>

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

Public Types

typedef concepts::Scan< BaseElement< concepts::Real > > Scan
 
typedef Scan< ElementWithCell< concepts::Real > > Scanner
 
typedef ElementWithCell< concepts::Realtype
 

Public Member Functions

uint dim () const override
 
virtual uint dim () const=0
 Returns the dimension of the space. More...
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space. More...
 
 hpAdaptiveSpaceL2 (concepts::Mesh1 &msh, uint p)
 
uint nelm () const override
 
virtual uint nelm () const=0
 Returns the number of elements in the space. More...
 
void recomputeShapefunctions ()
 Recompute shape functions, e.g. More...
 
Scanscan () const override
 
virtual Scannerscan () const=0
 Returns a scanner to iterate over the elements of the space. More...
 
 ~hpAdaptiveSpaceL2 () override
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const override
 

Private Attributes

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

A 1D polynomial space spanned by Legrendre type polynomials.

More precisely the basis is polynonmial and orthonomal w.r.t. the scalar product

$ (p,q)_{L^2(a,b)} = (b-a)^{-1}\int\limits_{a}^{b} p(x)q(x) \mathrm{d}x $.

Author
Robert Gruhlke, 2016

Definition at line 27 of file hpAdaptiveSpaceL2.hh.

Member Typedef Documentation

◆ Scan

◆ Scanner

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

Definition at line 84 of file space.hh.

◆ type

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

Definition at line 83 of file space.hh.

Constructor & Destructor Documentation

◆ hpAdaptiveSpaceL2()

hp1D::hpAdaptiveSpaceL2::hpAdaptiveSpaceL2 ( concepts::Mesh1 msh,
uint  p 
)
Parameters
mshThe mesh consisting of a single edge element.
pDegree of the polynomials to be used.

◆ ~hpAdaptiveSpaceL2()

hp1D::hpAdaptiveSpaceL2::~hpAdaptiveSpaceL2 ( )
override

Member Function Documentation

◆ dim() [1/2]

uint hp1D::hpAdaptiveSpaceL2::dim ( ) const
inlineoverride

Definition at line 38 of file hpAdaptiveSpaceL2.hh.

◆ dim() [2/2]

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

Returns the dimension of the space.

Implements concepts::Space< concepts::Real >.

Implemented in bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.

◆ getOutputDimension()

virtual uint concepts::Space< concepts::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::hpAdaptiveSpaceL2::info ( std::ostream &  os) const
overrideprotectedvirtual

◆ nelm() [1/2]

uint hp1D::hpAdaptiveSpaceL2::nelm ( ) const
inlineoverride

Definition at line 42 of file hpAdaptiveSpaceL2.hh.

◆ nelm() [2/2]

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

Returns the number of elements in the space.

Implements concepts::Space< concepts::Real >.

Implemented in bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.

◆ recomputeShapefunctions()

void hp1D::hpAdaptiveSpaceL2::recomputeShapefunctions ( )

Recompute shape functions, e.g.

for other abscissas redefined through IntegrableElm::rule().set(...)

◆ scan() [1/2]

Scan* hp1D::hpAdaptiveSpaceL2::scan ( ) const
inlineoverride

Definition at line 46 of file hpAdaptiveSpaceL2.hh.

◆ scan() [2/2]

virtual Scanner* concepts::SpaceOnCells< concepts::Real >::scan ( ) const
pure virtualinherited

Returns a scanner to iterate over the elements of the space.

Implements concepts::Space< concepts::Real >.

Implemented in bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.

Member Data Documentation

◆ dim_

uint hp1D::hpAdaptiveSpaceL2::dim_
private

Dimension of the FE space.

Definition at line 58 of file hpAdaptiveSpaceL2.hh.

◆ elm_

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

Linked list of the elements.

Definition at line 62 of file hpAdaptiveSpaceL2.hh.

◆ nelm_

uint hp1D::hpAdaptiveSpaceL2::nelm_
private

Number of elements currently active in the mesh.

Definition at line 60 of file hpAdaptiveSpaceL2.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