Class documentation of Concepts

Loading...
Searching...
No Matches
bem::Constant3d< F > Class Template Reference

#include <space.hh>

Inheritance diagram for bem::Constant3d< F >:
concepts::Space< F > concepts::OutputOperator

Public Types

typedef Element< F > type
 
typedef Scan< Element< F > > Scanner
 

Public Member Functions

 Constant3d (concepts::Mesh2 &msh, uint lvl, uint elmType=0)
 
uint dim () const
 Returns the number of degrees of freedom.
 
uint nelm () const
 Returns the number of elements.
 
concepts::Scan< concepts::Element< F > > * scan () const
 Returns a scanner of 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

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

Detailed Description

template<class F = concepts::Real>
class bem::Constant3d< F >

A 3D space with discontinuous, piecewise constant basis functions. The elements are triangles.

It consists of elements in a regular (uniformly refined) mesh. The elements use constant shape functions.

The space cannot be refined but only created with a given level of refinement.

Test:
test::BEMSpaceTest

Definition at line 156 of file space.hh.

Member Typedef Documentation

◆ Scanner

template<class F >
typedef Scan<Element<F> > concepts::Space< F >::Scanner
inherited

Definition at line 47 of file space.hh.

◆ type

template<class F >
typedef Element<F> concepts::Space< F >::type
inherited

Definition at line 46 of file space.hh.

Constructor & Destructor Documentation

◆ Constant3d()

template<class F = concepts::Real>
bem::Constant3d< F >::Constant3d ( concepts::Mesh2 msh,
uint  lvl,
uint  elmType = 0 
)

Constructor.

Parameters
mshMesh for the space
lvlLevel of uniform refinement
elmTypeType of basis functions. 0: Constant3d000 2: Constant3d002
Exceptions
MissingFeature

Member Function Documentation

◆ dim()

template<class F = concepts::Real>
uint bem::Constant3d< F >::dim ( ) const
inlinevirtual

Returns the number of degrees of freedom.

Implements concepts::Space< F >.

Definition at line 188 of file space.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 >
std::ostream & bem::Constant3d< F >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Space< F >.

Definition at line 201 of file space.hh.

◆ nelm()

template<class F = concepts::Real>
uint bem::Constant3d< F >::nelm ( ) const
inlinevirtual

Returns the number of elements.

Implements concepts::Space< F >.

Definition at line 190 of file space.hh.

◆ scan()

template<class F >
concepts::Scan< concepts::Element< F > > * bem::Constant3d< F >::scan ( ) const
inlinevirtual

Returns a scanner of the space.

Implements concepts::Space< F >.

Definition at line 196 of file space.hh.


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