Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
bem::Dirac3d< F > Class Template Reference

A 3D space with Dirac basis functions. More...

#include <space.hh>

Inheritance diagram for bem::Dirac3d< F >:
Inheritance graph
[legend]
Collaboration diagram for bem::Dirac3d< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Scan< Element< F > > Scanner

Public Member Functions

uint dim () const
 Returns dimension of the space.
 Dirac3d (concepts::Mesh2 &msh, uint lvl)
 Constructor.
uint nelm () const
 Returns number of elements in the space.
concepts::Scan
< concepts::Element< F > > * 
scan () const
 Returns a scanner of the space.
virtual ~Dirac3d ()

Protected Member Functions

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

Private Member Functions

void constructor_ (concepts::Triangle3d *cell, uint lvl, concepts::DynArray< uint > &map)
 Private constructor for recursive construction.

Private Attributes

uint dim_
 Number of degrees of freedom in the space.
concepts::Joiner
< concepts::Element< F > *, 1 > * 
elm_
 Linked list of the elements in the space.
uint nelm_
 Number of elements in the space.

Detailed Description

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

A 3D space with Dirac basis functions.

The elements are triangles.

It consists of elements in a regular (uniformly refined) mesh. The elements use Dirac shape functions (used for collocation).

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

Test:
test::BEMSpaceTest

Definition at line 30 of file space.hh.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Constructor.

Parameters:
mshMesh for the space
lvlLevel of uniform refinement
Exceptions:
MissingFeature
template<class F = concepts::Real>
virtual bem::Dirac3d< F >::~Dirac3d ( ) [virtual]

Member Function Documentation

template<class F = concepts::Real>
void bem::Dirac3d< F >::constructor_ ( concepts::Triangle3d cell,
uint  lvl,
concepts::DynArray< uint > &  map 
) [private]

Private constructor for recursive construction.

Parameters:
cellTriangle to refine
lvlRefinement level of the triangle
mapMap for the global DoF's
template<class F = concepts::Real>
uint bem::Dirac3d< F >::dim ( ) const [inline, virtual]

Returns dimension of the space.

Implements concepts::Space< F >.

Definition at line 59 of file space.hh.

template<class F >
std::ostream & bem::Dirac3d< F >::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Space< F >.

Definition at line 67 of file space.hh.

template<class F = concepts::Real>
uint bem::Dirac3d< F >::nelm ( ) const [inline, virtual]

Returns number of elements in the space.

Implements concepts::Space< F >.

Definition at line 61 of file space.hh.

template<class F >
concepts::Scan< concepts::Element< F > > * bem::Dirac3d< F >::scan ( ) const [inline, virtual]

Returns a scanner of the space.

Implements concepts::Space< F >.

Definition at line 73 of file space.hh.


Member Data Documentation

template<class F = concepts::Real>
uint bem::Dirac3d< F >::dim_ [private]

Number of degrees of freedom in the space.

Definition at line 32 of file space.hh.

template<class F = concepts::Real>
concepts::Joiner<concepts::Element<F>*, 1>* bem::Dirac3d< F >::elm_ [private]

Linked list of the elements in the space.

Definition at line 36 of file space.hh.

template<class F = concepts::Real>
uint bem::Dirac3d< F >::nelm_ [private]

Number of elements in the space.

Definition at line 34 of file space.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)