Error estimator for the constant space. More...
#include <estimator.hh>
Public Member Functions | |
| Est04 (bem::AdaptiveSpace< F > &spc, uint maxdim, concepts::Real trshld, concepts::Real s=1.0) | |
| Constructor. | |
| void | operator() (const Haar3d< F > &wavspc, const concepts::Vector< F > &f) |
| void | operator() (const Haar3d< F > &wavspc, const concepts::Function< F > &f) |
| Refines the adaptive constant space. | |
| bool | refine () const |
| Return 1 if there was some refinement Return 0 else. | |
Private Attributes | |
| uint | maxdim_ |
| bool | ref_ |
| Refinement. | |
| concepts::Real | s_ |
| Regularity. | |
| bem::AdaptiveSpace< F > & | spc_ |
| Space to refine. | |
| concepts::Real | trshld2_ |
| Threshold squared. | |
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: refinement if the weighted
norm of the wavelet coefficients on the way from the root to a leaf is larger than the weighted
norm of all wavelet coefficients times the trshld. The weights are
for $l$ the level and $s$ the regularity.
| F | Field (Real or Cmplx) |
Definition at line 191 of file estimator.hh.
| aglowav::Est04< F >::Est04 | ( | bem::AdaptiveSpace< F > & | spc, |
| uint | maxdim, | ||
| concepts::Real | trshld, | ||
| concepts::Real | s = 1.0 |
||
| ) | [inline] |
Constructor.
Definition at line 220 of file estimator.hh.
| void aglowav::Est04< F >::operator() | ( | const Haar3d< F > & | wavspc, |
| const concepts::Function< F > & | f | ||
| ) |
Refines the adaptive constant space.
| MissingFeature |
| void aglowav::Est04< F >::operator() | ( | const Haar3d< F > & | wavspc, |
| const concepts::Vector< F > & | f | ||
| ) |
| MissingFeature |
| bool aglowav::Est04< F >::refine | ( | ) | const [inline] |
Return 1 if there was some refinement Return 0 else.
Definition at line 200 of file estimator.hh.
uint aglowav::Est04< F >::maxdim_ [private] |
Definition at line 210 of file estimator.hh.
bool aglowav::Est04< F >::ref_ [private] |
Refinement.
Definition at line 209 of file estimator.hh.
concepts::Real aglowav::Est04< F >::s_ [private] |
Regularity.
Definition at line 214 of file estimator.hh.
bem::AdaptiveSpace<F>& aglowav::Est04< F >::spc_ [private] |
Space to refine.
Definition at line 216 of file estimator.hh.
concepts::Real aglowav::Est04< F >::trshld2_ [private] |
Threshold squared.
Definition at line 212 of file estimator.hh.