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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
aglowav2::Haar3d0< F > Class Template Reference

Agglomerated wavelet space. More...

#include <space.hh>

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

List of all members.

Public Types

typedef Scan< Element< F > > Scanner

Public Member Functions

Haar3d0BFSScan< F > * bfsscan () const
 Scanner ("breadth" first search (1. parent, 2. children))
uint d () const
 Order of vanishing moments.
Haar3d0DFSScan< F > * dfsscan () const
 Scanner (depth first search (1. children, 2. parent))
uint dim () const
 Dimension of the space.
 Haar3d0 (cluster::Tree< cluster::Cluster< F > > &tree, uint d=0)
 Constructor.
uint maxLocDim () const
 Maximal local dimension.
uint nelm () const
 Number of elements.
uint nlvl () const
 Maximal number of levels.
Haar3d0BFSScan< F > * scan () const
 Scanner (same as bfsscan())
concepts::Real size () const
 Smallest size of a cell.
const concepts::Space< F > & space () const
 One scale space.
uint sumLocDim () const
 Sum of the local dimensions.
virtual ~Haar3d0 ()
 Destructor.

Protected Member Functions

std::ostream & info (std::ostream &os) const
 Information about the space.

Private Member Functions

void constructor_ (const cluster::Cluster< F > *clst, uint lvl, Haar3d000< F > **Chld, Haar3d000< F > **Curchld, uint *nChld, const bem::Constant3d002< F > **Elm, uint *nElm, concepts::Real *At, uint *nAt)
 Constructor for recursive calls.
void destructor_ (Haar3d000< F > *elm)
 Destructor for recursive calls.
void keyset_ (Haar3d000< F > *elm, uint lvl, uint gamma)
 Sets the key and gamma of each element correctly.
void moments_ (const bem::Constant3d002< F > &elm, concepts::Real *mnts)
 Computes the moments up to order d (normed basis functions are assumed)

Private Attributes

concepts::RealAt_
uint * bc_
 Binomial coefficients (used only in the constructor)
uint d_
 Order of vanishing moments.
uint dim_
 Space dimension.
Haar3d000< F > * elm_
 Root of the wavelet tree.
uint * idx_
uint * j_
 Auxiliary vectors for the keys of the elements and the DoF's.
const bem::Constant3d002< F > ** locelm_
 Auxiliary vectors for local elements (used only in the constructor)
uint maxLocDim_
 Maximal local dimension.
uint nelm_
 Number of space elements.
uint nlvl_
 Maximal number of levels.
concepts::RealS_
 Auxiliary vectors for the SVD (used only in the constructor) s_ Singular values ut_ Local transformation matrix and $U^t$ from the SVD of $A$ at_ Moment matrix $A^t$ work_ Vector used by Lapack.
uint sLocDim_
 Sum of the local dimensions.
const concepts::Space< F > & spc_
 One scale space.
concepts::Real sz_
 Smallest size of a cell.
concepts::RealUt_
concepts::Realv0x_
 Auxiliary vectors for the computation of the moments (used only in the constructor.
concepts::Realv0y_
concepts::Realv0z_
concepts::Realwork_
concepts::Realx_
concepts::Realy_
concepts::Realz_

Static Private Attributes

static const concepts::Real EPS_
 Threshold for singular values.
static const uint MAXLOCDIM_
 Maximal dimension of local transformation matrix.

Detailed Description

template<class F = concepts::Real>
class aglowav2::Haar3d0< F >

Agglomerated wavelet space.

Parameters:
FField (Real || Cmplx)

Definition at line 150 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>
aglowav2::Haar3d0< F >::Haar3d0 ( cluster::Tree< cluster::Cluster< F > > &  tree,
uint  d = 0 
)

Constructor.

Parameters:
treeCluster tree
dOrder of vanishing moments $\int \psi(x) x^\alpha ds_x = 0 \quad \forall \alpha \in \mathbb{N}_0^3, \quad |\alpha|\leq d$
template<class F = concepts::Real>
virtual aglowav2::Haar3d0< F >::~Haar3d0 ( ) [inline, virtual]

Destructor.

Definition at line 160 of file space.hh.

Here is the call graph for this function:


Member Function Documentation

template<class F >
Haar3d0BFSScan< F > * aglowav2::Haar3d0< F >::bfsscan ( ) const [inline, virtual]

Scanner ("breadth" first search (1. parent, 2. children))

Implements aglowav2::Haar3d< F >.

Definition at line 275 of file space.hh.

template<class F = concepts::Real>
void aglowav2::Haar3d0< F >::constructor_ ( const cluster::Cluster< F > *  clst,
uint  lvl,
Haar3d000< F > **  Chld,
Haar3d000< F > **  Curchld,
uint *  nChld,
const bem::Constant3d002< F > **  Elm,
uint *  nElm,
concepts::Real At,
uint *  nAt 
) [private]

Constructor for recursive calls.

Parameters:
clstCluster in the cluster tree
lvlLevel
ChldChild pointer of father element (in- and output)
CurchldPointer of father on the last child (in- and output)
ElmSpace for local element list
nElmNumber of elements (in- and output)
AtMoment matrix (output)
nAtNumber of columns in At (in- and output)
template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::d ( ) const [inline]

Order of vanishing moments.

Definition at line 169 of file space.hh.

template<class F = concepts::Real>
void aglowav2::Haar3d0< F >::destructor_ ( Haar3d000< F > *  elm) [private]

Destructor for recursive calls.

template<class F >
Haar3d0DFSScan< F > * aglowav2::Haar3d0< F >::dfsscan ( ) const [inline, virtual]

Scanner (depth first search (1. children, 2. parent))

Implements aglowav2::Haar3d< F >.

Definition at line 270 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::dim ( ) const [inline, virtual]

Dimension of the space.

Implements concepts::Space< F >.

Definition at line 163 of file space.hh.

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

Information about the space.

Reimplemented from concepts::Space< F >.

Definition at line 285 of file space.hh.

template<class F = concepts::Real>
void aglowav2::Haar3d0< F >::keyset_ ( Haar3d000< F > *  elm,
uint  lvl,
uint  gamma 
) [private]

Sets the key and gamma of each element correctly.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::maxLocDim ( ) const [inline, virtual]

Maximal local dimension.

Implements aglowav2::Haar3d< F >.

Definition at line 171 of file space.hh.

template<class F = concepts::Real>
void aglowav2::Haar3d0< F >::moments_ ( const bem::Constant3d002< F > &  elm,
concepts::Real mnts 
) [private]

Computes the moments up to order d (normed basis functions are assumed)

Parameters:
elmElement
mntsMoments up to order d_ (output, array of size (d_+1)*(d_+2)*(d_+3)/6)
template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::nelm ( ) const [inline, virtual]

Number of elements.

Implements concepts::Space< F >.

Definition at line 165 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::nlvl ( ) const [inline, virtual]

Maximal number of levels.

Implements aglowav2::Haar3d< F >.

Definition at line 167 of file space.hh.

template<class F >
Haar3d0BFSScan< F > * aglowav2::Haar3d0< F >::scan ( ) const [inline, virtual]

Scanner (same as bfsscan())

Implements concepts::Space< F >.

Definition at line 280 of file space.hh.

template<class F = concepts::Real>
concepts::Real aglowav2::Haar3d0< F >::size ( ) const [inline]

Smallest size of a cell.

Definition at line 175 of file space.hh.

template<class F = concepts::Real>
const concepts::Space<F>& aglowav2::Haar3d0< F >::space ( ) const [inline]

One scale space.

Definition at line 177 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::sumLocDim ( ) const [inline]

Sum of the local dimensions.

Definition at line 173 of file space.hh.


Member Data Documentation

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::At_ [private]

Definition at line 259 of file space.hh.

template<class F = concepts::Real>
uint* aglowav2::Haar3d0< F >::bc_ [private]

Binomial coefficients (used only in the constructor)

Definition at line 248 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::d_ [private]

Order of vanishing moments.

Definition at line 227 of file space.hh.

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

Space dimension.

Definition at line 221 of file space.hh.

template<class F = concepts::Real>
Haar3d000<F>* aglowav2::Haar3d0< F >::elm_ [private]

Root of the wavelet tree.

Definition at line 235 of file space.hh.

template<class F = concepts::Real>
const concepts::Real aglowav2::Haar3d0< F >::EPS_ [static, private]

Threshold for singular values.

Definition at line 266 of file space.hh.

template<class F = concepts::Real>
uint * aglowav2::Haar3d0< F >::idx_ [private]

Definition at line 240 of file space.hh.

template<class F = concepts::Real>
uint* aglowav2::Haar3d0< F >::j_ [private]

Auxiliary vectors for the keys of the elements and the DoF's.

Definition at line 240 of file space.hh.

template<class F = concepts::Real>
const bem::Constant3d002<F>** aglowav2::Haar3d0< F >::locelm_ [private]

Auxiliary vectors for local elements (used only in the constructor)

Definition at line 251 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::maxLocDim_ [private]

Maximal local dimension.

Definition at line 229 of file space.hh.

template<class F = concepts::Real>
const uint aglowav2::Haar3d0< F >::MAXLOCDIM_ [static, private]

Maximal dimension of local transformation matrix.

Used only for memory allocation.

Definition at line 264 of file space.hh.

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

Number of space elements.

Definition at line 223 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::nlvl_ [private]

Maximal number of levels.

Definition at line 225 of file space.hh.

template<class F = concepts::Real>
concepts::Real* aglowav2::Haar3d0< F >::S_ [private]

Auxiliary vectors for the SVD (used only in the constructor) s_ Singular values ut_ Local transformation matrix and $U^t$ from the SVD of $A$ at_ Moment matrix $A^t$ work_ Vector used by Lapack.

Definition at line 259 of file space.hh.

template<class F = concepts::Real>
uint aglowav2::Haar3d0< F >::sLocDim_ [private]

Sum of the local dimensions.

Definition at line 231 of file space.hh.

template<class F = concepts::Real>
const concepts::Space<F>& aglowav2::Haar3d0< F >::spc_ [private]

One scale space.

Definition at line 237 of file space.hh.

template<class F = concepts::Real>
concepts::Real aglowav2::Haar3d0< F >::sz_ [private]

Smallest size of a cell.

Definition at line 233 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::Ut_ [private]

Definition at line 259 of file space.hh.

template<class F = concepts::Real>
concepts::Real* aglowav2::Haar3d0< F >::v0x_ [private]

Auxiliary vectors for the computation of the moments (used only in the constructor.

Definition at line 245 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::v0y_ [private]

Definition at line 245 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::v0z_ [private]

Definition at line 245 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::work_ [private]

Definition at line 259 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::x_ [private]

Definition at line 245 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::y_ [private]

Definition at line 245 of file space.hh.

template<class F = concepts::Real>
concepts::Real * aglowav2::Haar3d0< F >::z_ [private]

Definition at line 245 of file space.hh.


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

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