aglowav::Est04< F > Class Template Reference
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. 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... | |
concepts::Real | s_ |
Regularity. More... | |
bem::AdaptiveSpace< F > & | spc_ |
Space to refine. More... | |
concepts::Real | trshld2_ |
Threshold squared. More... | |
Detailed Description
template<class F = concepts::Real>
class aglowav::Est04< 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: 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.
- Parameters
-
F Field (Real or Cmplx)
Definition at line 193 of file estimator.hh.
Constructor & Destructor Documentation
◆ Est04()
|
inline |
Constructor.
Definition at line 222 of file estimator.hh.
Member Function Documentation
◆ operator()() [1/2]
void aglowav::Est04< F >::operator() | ( | const Haar3d< F > & | wavspc, |
const concepts::Function< F > & | f | ||
) |
Refines the adaptive constant space.
- Exceptions
-
MissingFeature
◆ operator()() [2/2]
void aglowav::Est04< F >::operator() | ( | const Haar3d< F > & | wavspc, |
const concepts::Vector< F > & | f | ||
) |
- Exceptions
-
MissingFeature
◆ refine()
|
inline |
Return 1 if there was some refinement Return 0 else.
Definition at line 202 of file estimator.hh.
Member Data Documentation
◆ maxdim_
|
private |
Definition at line 212 of file estimator.hh.
◆ ref_
|
private |
Refinement.
Definition at line 211 of file estimator.hh.
◆ s_
|
private |
Regularity.
Definition at line 216 of file estimator.hh.
◆ spc_
|
private |
Space to refine.
Definition at line 218 of file estimator.hh.
◆ trshld2_
|
private |
Threshold squared.
Definition at line 214 of file estimator.hh.
The documentation for this class was generated from the following file:
- aglowav/estimator.hh