aglowav::Est03< F > Class Template Reference

Error estimator for the constant space. More...

#include <estimator.hh>

Public Member Functions

 Est03 (bem::AdaptiveSpace< F > &spc, uint maxdim, concepts::Real trshld)
 Constructor. More...
 
void operator() (const Haar3d< F > &wavspc, const concepts::Function< F > &f)
 Refines the adaptive constant space. More...
 
void operator() (const Haar3d< F > &wavspc, const concepts::Vector< F > &f)
 
bool refine () const
 Return 1 if there was some refinement Return 0 else. More...
 

Private Attributes

uint maxdim_
 
bool ref_
 Refinement. More...
 
bem::AdaptiveSpace< F > & spc_
 Space to refine. More...
 
concepts::Real trshld_
 Threshold. More...
 

Detailed Description

template<class F = concepts::Real>
class aglowav::Est03< F >

Error estimator for the constant space.

The refinement decision is made accordingly to the wavelet coefficients of the agglomerated wavelet space based on the constant space. Refinement: a: trshld * wavelet coefficient on level 0 if ((Wavelet coefficient of a leaf > a || Wavelet coefficient one level higher than a leaf > a)&& space dimension < maxdim) refine element; else stop;

Parameters
FField (Real or Cmplx)

Definition at line 146 of file estimator.hh.

Constructor & Destructor Documentation

◆ Est03()

template<class F >
aglowav::Est03< F >::Est03 ( bem::AdaptiveSpace< F > &  spc,
uint  maxdim,
concepts::Real  trshld 
)
inline

Constructor.

Definition at line 173 of file estimator.hh.

Member Function Documentation

◆ operator()() [1/2]

template<class F = concepts::Real>
void aglowav::Est03< F >::operator() ( const Haar3d< F > &  wavspc,
const concepts::Function< F > &  f 
)

Refines the adaptive constant space.

Exceptions
MissingFeature

◆ operator()() [2/2]

template<class F = concepts::Real>
void aglowav::Est03< F >::operator() ( const Haar3d< F > &  wavspc,
const concepts::Vector< F > &  f 
)

◆ refine()

template<class F = concepts::Real>
bool aglowav::Est03< F >::refine ( ) const
inline

Return 1 if there was some refinement Return 0 else.

Definition at line 155 of file estimator.hh.

Member Data Documentation

◆ maxdim_

template<class F = concepts::Real>
uint aglowav::Est03< F >::maxdim_
private

Definition at line 165 of file estimator.hh.

◆ ref_

template<class F = concepts::Real>
bool aglowav::Est03< F >::ref_
private

Refinement.

Definition at line 164 of file estimator.hh.

◆ spc_

template<class F = concepts::Real>
bem::AdaptiveSpace<F>& aglowav::Est03< F >::spc_
private

Space to refine.

Definition at line 169 of file estimator.hh.

◆ trshld_

template<class F = concepts::Real>
concepts::Real aglowav::Est03< F >::trshld_
private

Threshold.

Definition at line 167 of file estimator.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich