Class documentation of Concepts

Loading...
Searching...
No Matches

#include <hpAdaptiveSpaceL2.hh>

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

Public Types

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

Public Member Functions

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

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const override
 Returns information in an output stream.
 

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.

Member Function Documentation

◆ dim()

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

Returns the dimension of the space.

Implements concepts::SpaceOnCells< concepts::Real >.

Definition at line 38 of file hpAdaptiveSpaceL2.hh.

◆ getOutputDimension()

template<class F >
virtual uint concepts::Space< F >::getOutputDimension ( ) const
inlinevirtualinherited

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

Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.

Definition at line 50 of file space.hh.

◆ info()

virtual std::ostream & hp1D::hpAdaptiveSpaceL2::info ( std::ostream &  os) const
overrideprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::SpaceOnCells< concepts::Real >.

◆ nelm()

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

Returns the number of elements in the space.

Implements concepts::SpaceOnCells< concepts::Real >.

Definition at line 42 of file hpAdaptiveSpaceL2.hh.

◆ recomputeShapefunctions()

void hp1D::hpAdaptiveSpaceL2::recomputeShapefunctions ( )

Recompute shape functions, e.g. for other abscissas redefined through IntegrableElm::rule().set(...)

◆ scan()

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

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

Implements concepts::SpaceOnCells< concepts::Real >.

Definition at line 46 of file hpAdaptiveSpaceL2.hh.


The documentation for this class was generated from the following file: