A 1D polynomial space spanned by the Rys basis. More...

#include <rysSpace.hh>

Inheritance diagram for hp1D::RysSpace:
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
 
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...
 
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...
 
 RysSpace (concepts::Mesh1 &msh, uint p)
 
Scanscan () const
 
virtual Scannerscan () const=0
 Returns a scanner to iterate over the elements of the space. More...
 
 ~RysSpace () override
 

Protected Member Functions

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

Private Attributes

std::unique_ptr< hp1D::RysElement< concepts::Real > > elm_
 The element. More...
 
concepts::Mesh1msh_
 Mesh. More...
 

Detailed Description

A 1D polynomial space spanned by the Rys basis.

This space can be used as a prototype for any 1D space over a single element with a spectral basis.

Author
Lukas Drescher, 2015

Definition at line 26 of file rysSpace.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

◆ RysSpace()

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

◆ ~RysSpace()

hp1D::RysSpace::~RysSpace ( )
override

Member Function Documentation

◆ dim() [1/2]

uint hp1D::RysSpace::dim ( ) const
inline

Definition at line 36 of file rysSpace.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::RysSpace::info ( std::ostream &  os) const
protectedvirtual

◆ nelm() [1/2]

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

Definition at line 37 of file rysSpace.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::RysSpace::recomputeShapefunctions ( )

Recompute shape functions, e.g.

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

◆ scan() [1/2]

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

Definition at line 38 of file rysSpace.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

◆ elm_

std::unique_ptr<hp1D::RysElement<concepts::Real> > hp1D::RysSpace::elm_
private

The element.

Definition at line 53 of file rysSpace.hh.

◆ msh_

concepts::Mesh1& hp1D::RysSpace::msh_
private

Mesh.

Definition at line 50 of file rysSpace.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