Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::RestrictionSpace< F > Class Template Reference

#include <restriction.hh>

Inheritance diagram for concepts::RestrictionSpace< F >:
concepts::SpaceOnCells< F > concepts::Space< F > concepts::OutputOperator

Public Types

typedef ElementWithCell< F > type
 
typedef Scan< ElementWithCell< F > > Scanner
 

Public Member Functions

 RestrictionSpace (const SpaceOnCells< F > &spc, const Set< Attribute > attrib)
 
virtual Scannerscan () const
 Returns a scanner to iterate over the elements of the space.
 
virtual uint dim () const
 Returns the dimension of the space.
 
virtual uint nelm () const
 Returns the number of elements in the space.
 
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
 Returns information in an output stream.
 

Detailed Description

template<class F = Real>
class concepts::RestrictionSpace< F >

Classes for restriction of spaces to a sub-domain.

The elements are not hold in this class, but the original space class, and will not be deleted in the destructor.

Author
Kersten Schmidt, 2017

Definition at line 28 of file restriction.hh.

Member Typedef Documentation

◆ Scanner

template<class F = Real>
typedef Scan<ElementWithCell<F> > concepts::RestrictionSpace< F >::Scanner

Definition at line 31 of file restriction.hh.

◆ type

template<class F = Real>
typedef ElementWithCell<F> concepts::RestrictionSpace< F >::type

Definition at line 30 of file restriction.hh.

Constructor & Destructor Documentation

◆ RestrictionSpace()

template<class F = Real>
concepts::RestrictionSpace< F >::RestrictionSpace ( const SpaceOnCells< F > &  spc,
const Set< Attribute attrib 
)

Constructor

Parameters
spcanother space
attribset of attributes of the cells belonging to the sub-domain

Member Function Documentation

◆ dim()

template<class F = Real>
virtual uint concepts::RestrictionSpace< F >::dim ( ) const
inlinevirtual

Returns the dimension of the space.

Implements concepts::SpaceOnCells< F >.

Definition at line 46 of file restriction.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()

template<class F = Real>
virtual std::ostream & concepts::RestrictionSpace< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::SpaceOnCells< F >.

◆ nelm()

template<class F = Real>
virtual uint concepts::RestrictionSpace< F >::nelm ( ) const
inlinevirtual

Returns the number of elements in the space.

Implements concepts::SpaceOnCells< F >.

Definition at line 49 of file restriction.hh.

◆ scan()

template<class F = Real>
virtual Scanner * concepts::RestrictionSpace< F >::scan ( ) const
inlinevirtual

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

Implements concepts::SpaceOnCells< F >.

Definition at line 43 of file restriction.hh.


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