Class representing the hp marking strategy proposed by Buerg in this dissertation. More...

#include <buergDoerfler.hh>

Inheritance diagram for estimator::BuergDoerfler< F >:
estimator::Marking< Real >

Public Member Functions

void addLhs (const concepts::BilinearForm< F > &, const Real c=1)
 
void addRhs_f (const concepts::ElementFormula< F > &f, const Real c=1)
 This adds the information of the right hand side on the domain. More...
 
void addRhs_g (const concepts::ElementFormula< F > &g, const concepts::Set< uint > &set)
 
 BuergDoerfler (const concepts::SpaceOnCells< Real > &spc, const LocalEstimator< F > &estimator, const concepts::Vector< F > &sol)
 
void compute ()
 
const concepts::Set< uint > & marks () const
 
virtual ~BuergDoerfler ()
 Destructor. More...
 

Public Attributes

concepts::HashMap< uint > dofs_H4_
 
concepts::HashMap< uint > dofs_P1Iso_
 
concepts::HashMap< Real > indicator_H4_
 
concepts::HashMap< Real > indicator_P1Iso_
 
concepts::HashMap< Real > sup_H4_
 
concepts::HashMap< Real > sup_P1Iso_
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Protected Attributes

concepts::Set< uint > mark_
 

Private Member Functions

void compute_ ()
 
void compute_H4Iso_Ind_K (LocalMesh2 &localMesh, uint K, Real n_K, const hp2D::hpFull &globPrebuild, concepts::BoundaryConditions &bc)
 
void compute_P1Iso_Ind_K (LocalMesh2 &localMesh, uint K, Real n_K, const hp2D::hpFull &globPrebuild, concepts::BoundaryConditions &bc)
 
hp2D::hpFullhbisectPattern_ (concepts::Mesh2 &msh, uint K, const hp2D::hpFull &globPrebuild)
 
hp2D::hpFullp1Pattern_ (concepts::Mesh2 &msh, uint K, const hp2D::hpFull &globPrebuild)
 

Private Attributes

concepts::Sequence< Real > c_f_
 
const LocalEstimator< F > & estimator_
 
concepts::MeshGraph2 meshgraph_
 
concepts::Sequence< const concepts::ElementFormula< F > * > rhs_f_
 
bool rhs_f_b_
 
const concepts::Vector< F > & sol_
 
const concepts::SpaceOnCells< Real > & spc_
 

Detailed Description

template<class F = Real>
class estimator::BuergDoerfler< F >

Class representing the hp marking strategy proposed by Buerg in this dissertation.

Definition at line 271 of file buergDoerfler.hh.

Constructor & Destructor Documentation

◆ BuergDoerfler()

template<class F = Real>
estimator::BuergDoerfler< F >::BuergDoerfler ( const concepts::SpaceOnCells< Real > &  spc,
const LocalEstimator< F > &  estimator,
const concepts::Vector< F > &  sol 
)

◆ ~BuergDoerfler()

template<class F = Real>
virtual estimator::BuergDoerfler< F >::~BuergDoerfler ( )
virtual

Destructor.

Member Function Documentation

◆ addLhs()

template<class F = Real>
void estimator::BuergDoerfler< F >::addLhs ( const concepts::BilinearForm< F > &  ,
const Real  c = 1 
)

◆ addRhs_f()

template<class F = Real>
void estimator::BuergDoerfler< F >::addRhs_f ( const concepts::ElementFormula< F > &  f,
const Real  c = 1 
)

This adds the information of the right hand side on the domain.

◆ addRhs_g()

template<class F = Real>
void estimator::BuergDoerfler< F >::addRhs_g ( const concepts::ElementFormula< F > &  g,
const concepts::Set< uint > &  set 
)

◆ compute()

template<class F = Real>
void estimator::BuergDoerfler< F >::compute ( )

◆ compute_()

template<class F = Real>
void estimator::BuergDoerfler< F >::compute_ ( )
private

◆ compute_H4Iso_Ind_K()

template<class F = Real>
void estimator::BuergDoerfler< F >::compute_H4Iso_Ind_K ( LocalMesh2 localMesh,
uint  K,
Real  n_K,
const hp2D::hpFull globPrebuild,
concepts::BoundaryConditions bc 
)
private

◆ compute_P1Iso_Ind_K()

template<class F = Real>
void estimator::BuergDoerfler< F >::compute_P1Iso_Ind_K ( LocalMesh2 localMesh,
uint  K,
Real  n_K,
const hp2D::hpFull globPrebuild,
concepts::BoundaryConditions bc 
)
private

◆ hbisectPattern_()

template<class F = Real>
hp2D::hpFull* estimator::BuergDoerfler< F >::hbisectPattern_ ( concepts::Mesh2 msh,
uint  K,
const hp2D::hpFull globPrebuild 
)
private

h bisection refinement pattern, with anisotropic h refinement on neighbours

Parameters
Kcurrent Cell on which pattern is applied

◆ info()

template<class F = Real>
virtual std::ostream& estimator::BuergDoerfler< F >::info ( std::ostream &  os) const
protectedvirtual

◆ marks()

const concepts::Set<uint>& estimator::Marking::marks
inlineinherited

Definition at line 17 of file marking.hh.

◆ p1Pattern_()

template<class F = Real>
hp2D::hpFull* estimator::BuergDoerfler< F >::p1Pattern_ ( concepts::Mesh2 msh,
uint  K,
const hp2D::hpFull globPrebuild 
)
private

Member Data Documentation

◆ c_f_

template<class F = Real>
concepts::Sequence<Real> estimator::BuergDoerfler< F >::c_f_
private

Definition at line 323 of file buergDoerfler.hh.

◆ dofs_H4_

template<class F = Real>
concepts::HashMap<uint> estimator::BuergDoerfler< F >::dofs_H4_

Definition at line 312 of file buergDoerfler.hh.

◆ dofs_P1Iso_

template<class F = Real>
concepts::HashMap<uint> estimator::BuergDoerfler< F >::dofs_P1Iso_

Definition at line 313 of file buergDoerfler.hh.

◆ estimator_

template<class F = Real>
const LocalEstimator<F>& estimator::BuergDoerfler< F >::estimator_
private

Definition at line 335 of file buergDoerfler.hh.

◆ indicator_H4_

template<class F = Real>
concepts::HashMap<Real> estimator::BuergDoerfler< F >::indicator_H4_

Definition at line 302 of file buergDoerfler.hh.

◆ indicator_P1Iso_

template<class F = Real>
concepts::HashMap<Real> estimator::BuergDoerfler< F >::indicator_P1Iso_

Definition at line 304 of file buergDoerfler.hh.

◆ mark_

concepts::Set<uint> estimator::Marking::mark_
protectedinherited

Definition at line 19 of file marking.hh.

◆ meshgraph_

template<class F = Real>
concepts::MeshGraph2 estimator::BuergDoerfler< F >::meshgraph_
private

Definition at line 334 of file buergDoerfler.hh.

◆ rhs_f_

template<class F = Real>
concepts::Sequence<const concepts::ElementFormula<F>* > estimator::BuergDoerfler< F >::rhs_f_
private

Definition at line 321 of file buergDoerfler.hh.

◆ rhs_f_b_

template<class F = Real>
bool estimator::BuergDoerfler< F >::rhs_f_b_
private

Definition at line 325 of file buergDoerfler.hh.

◆ sol_

template<class F = Real>
const concepts::Vector<F>& estimator::BuergDoerfler< F >::sol_
private

Definition at line 331 of file buergDoerfler.hh.

◆ spc_

template<class F = Real>
const concepts::SpaceOnCells<Real>& estimator::BuergDoerfler< F >::spc_
private

Definition at line 330 of file buergDoerfler.hh.

◆ sup_H4_

template<class F = Real>
concepts::HashMap<Real> estimator::BuergDoerfler< F >::sup_H4_

Definition at line 308 of file buergDoerfler.hh.

◆ sup_P1Iso_

template<class F = Real>
concepts::HashMap<Real> estimator::BuergDoerfler< F >::sup_P1Iso_

Definition at line 309 of file buergDoerfler.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