Class documentation of Concepts

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

#include <space.hh>

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

Public Types

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

Public Member Functions

 Linear3d (concepts::Mesh2 &msh, uint lvl)
 
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.
 
std::ostream & info (std::ostream &os, uint mode=0) const
 
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::Linear3d< F >

A 3D space with continuous, piecewise linear basis functions. The elements are triangles.

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

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

Test:
test::BEMSpaceTest

Definition at line 93 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

◆ Linear3d()

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

Constructor.

Parameters
mshMesh for the space
lvlLevel of uniform refinement
Exceptions
MissingFeature

Member Function Documentation

◆ dim()

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

Returns the number of degrees of freedom.

Implements concepts::Space< F >.

Definition at line 122 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() [1/2]

template<class F = concepts::Real>
std::ostream & bem::Linear3d< F >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Space< F >.

Definition at line 110 of file space.hh.

◆ info() [2/2]

template<class F = concepts::Real>
std::ostream & bem::Linear3d< F >::info ( std::ostream &  os,
uint  mode = 0 
) const

Returns information in an output stream

Parameters
osOutput stream
modeThere are different levels of information available. mode = 0 Output of dimension and number of elements mode = 1 As mode 0 but in addition output of all elements mode > 1 As mode 0 but prints also the vertices with the DoF number

◆ nelm()

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

Returns the number of elements.

Implements concepts::Space< F >.

Definition at line 124 of file space.hh.

◆ scan()

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

Returns a scanner of the space.

Implements concepts::Space< F >.

Definition at line 139 of file space.hh.


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