aglowav::Est01< F > Class Template Reference
Error estimator for the constant space. More...
#include <estimator.hh>
Public Member Functions | |
Est01 (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::Est01< 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 && space dimension < maxdim) refine element; else stop;
- Parameters
-
F Field (Real of Cmplx)
Definition at line 34 of file estimator.hh.
Constructor & Destructor Documentation
◆ Est01()
|
inline |
Constructor.
Definition at line 61 of file estimator.hh.
Member Function Documentation
◆ operator()() [1/2]
void aglowav::Est01< F >::operator() | ( | const Haar3d< F > & | wavspc, |
const concepts::Function< F > & | f | ||
) |
Refines the adaptive constant space.
- Exceptions
-
MissingFeature
◆ operator()() [2/2]
void aglowav::Est01< F >::operator() | ( | const Haar3d< F > & | wavspc, |
const concepts::Vector< F > & | f | ||
) |
◆ refine()
|
inline |
Return 1 if there was some refinement Return 0 else.
Definition at line 42 of file estimator.hh.
Member Data Documentation
◆ maxdim_
|
private |
Definition at line 53 of file estimator.hh.
◆ ref_
|
private |
Refinement.
Definition at line 52 of file estimator.hh.
◆ spc_
|
private |
Space to refine.
Definition at line 57 of file estimator.hh.
◆ trshld_
|
private |
Threshold.
Definition at line 55 of file estimator.hh.
The documentation for this class was generated from the following file:
- aglowav/estimator.hh