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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
Constant3d< F > Class Template Reference

Basic spaces for the eigen value computation in 3d. More...

#include <space.hh>

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

List of all members.

Public Types

typedef Scan< Element< F > > Scanner

Public Member Functions

 Constant3d (concepts::Mesh3 &msh, uint lvl)
 Constructor.
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 ~Constant3d ()

Protected Member Functions

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

Private Member Functions

void constructor_ (concepts::Tetrahedron3d *cell, uint lvl)
 Private constructor for recursive construction.
void constructor_ (concepts::Parallelepiped3d *cell, uint lvl)
 Private constructor for recursive construction.
void constructor_ (concepts::Hexahedron3d *cell, uint lvl)
 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 elements.
uint nelm_
 Number of elements.

Detailed Description

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

Basic spaces for the eigen value computation in 3d.

A 3D space with discontinuous, piecewise constant basis functions and tetrahedral or hexahedral elements.

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.

Definition at line 24 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>
Constant3d< F >::Constant3d ( concepts::Mesh3 msh,
uint  lvl 
)

Constructor.

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

Member Function Documentation

template<class F = concepts::Real>
void Constant3d< F >::constructor_ ( concepts::Tetrahedron3d cell,
uint  lvl 
) [private]

Private constructor for recursive construction.

Parameters:
cellTetrahedron to refine
lvlRefinement level of the tetrahedron
template<class F = concepts::Real>
void Constant3d< F >::constructor_ ( concepts::Hexahedron3d cell,
uint  lvl 
) [private]

Private constructor for recursive construction.

Parameters:
cellHexahedron to refine
lvlRefinement level of the hexahedron
template<class F = concepts::Real>
void Constant3d< F >::constructor_ ( concepts::Parallelepiped3d cell,
uint  lvl 
) [private]

Private constructor for recursive construction.

Parameters:
cellParallelepiped to refine
lvlRefinement level of the parallelepiped
template<class F = concepts::Real>
uint Constant3d< F >::dim ( ) const [inline, virtual]

Returns the number of degrees of freedom.

Implements concepts::Space< F >.

Definition at line 62 of file space.hh.

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

Returns information in an output stream.

Reimplemented from concepts::Space< F >.

Definition at line 75 of file space.hh.

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

Returns the number of elements.

Implements concepts::Space< F >.

Definition at line 64 of file space.hh.

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

Returns a scanner of the space.

Implements concepts::Space< F >.

Definition at line 70 of file space.hh.


Member Data Documentation

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

Number of degrees of freedom in the space.

Definition at line 27 of file space.hh.

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

Linked list of elements.

Definition at line 31 of file space.hh.

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

Number of elements.

Definition at line 29 of file space.hh.


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

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