Class documentation of Concepts

Loading...
Searching...
No Matches
estimator::Prediction< F, dim > Class Template Reference

#include <refinement.hh>

Inheritance diagram for estimator::Prediction< F, dim >:
estimator::HP_Refinement< F, dim > estimator::Refinement< F > concepts::OutputOperator

Public Types

enum  Mode { H = 0 , P = 1 }
 

Public Member Functions

 Prediction (const concepts::SpaceOnCells< F > &space, enum Mode mode=P, const Real hdec=sqrt(4.0), const Real pdec=sqrt(0.4), const Real nRdec=1.0)
 
void buildRefinement (const Marking &mark, const concepts::LocalEstimator< F > &estimator)
 
virtual void apply (concepts::SpaceOnCells< F > &space)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

concepts::HashMap< concepts::AdaptiveAdjustP< dim > > adjusts_
 

Detailed Description

template<class F = Real, ushort dim = 2>
class estimator::Prediction< F, dim >

Prediction hp - adaptive refinement strategy, proposed by Melenk and Wohlmuth.

Currently just isotropic refinement, i.e.

  • p refinement : increase in both direction
  • h refinement : bisection in each direction

Definition at line 99 of file refinement.hh.

Member Enumeration Documentation

◆ Mode

template<class F = Real, ushort dim = 2>
enum estimator::Prediction::Mode

Definition at line 107 of file refinement.hh.

Constructor & Destructor Documentation

◆ Prediction()

template<class F = Real, ushort dim = 2>
estimator::Prediction< F, dim >::Prediction ( const concepts::SpaceOnCells< F > &  space,
enum Mode  mode = P,
const Real  hdec = sqrt(4.0),
const Real  pdec = sqrt(0.4),
const Real  nRdec = 1.0 
)
inline

Constructor for the prediction refinement strategy

Parameters
space
mark
estimator
hdecvalue for error decay supposed for h refinement
pdecvalue for error decay supposed for p-refinement pval $\in (0,1) $
nRdecdecay value for error change if no refinement is applied

default values may set by the ones given in the paper of Melenk/Wolmuth, i.e.

Definition at line 122 of file refinement.hh.

◆ ~Prediction()

template<class F = Real, ushort dim = 2>
virtual estimator::Prediction< F, dim >::~Prediction ( )
inlinevirtual

Definition at line 183 of file refinement.hh.

Member Function Documentation

◆ apply()

template<class F = Real, ushort dim = 2>
virtual void estimator::Prediction< F, dim >::apply ( concepts::SpaceOnCells< F > &  space)
inlinevirtual

Reimplemented from estimator::HP_Refinement< F, dim >.

Definition at line 237 of file refinement.hh.

◆ buildRefinement()

template<class F = Real, ushort dim = 2>
void estimator::Prediction< F, dim >::buildRefinement ( const Marking mark,
const concepts::LocalEstimator< F > &  estimator 
)
inline

Definition at line 187 of file refinement.hh.

◆ info()

template<class F = Real, ushort dim = 2>
virtual std::ostream & estimator::Prediction< F, dim >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Implements estimator::Refinement< F >.

Definition at line 282 of file refinement.hh.

Member Data Documentation

◆ adjusts_

template<class F = Real, ushort dim = 2>
concepts::HashMap<concepts::AdaptiveAdjustP<dim> > estimator::HP_Refinement< F, dim >::adjusts_
protectedinherited

Definition at line 87 of file refinement.hh.


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