concepts::HRefinement< F, dim > Class Template Reference

Uniform h refinement. More...

#include <hpMethod.hh>

Inheritance diagram for concepts::HRefinement< F, dim >:
concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

 HRefinement (AdaptiveSpace< F, AdaptiveAdjustP< dim > > &spc)
 Constructor. More...
 
virtual void operator() (const Cell &cell) throw (MissingFeature)
 Application operator. More...
 
virtual void operator() (const Element< F > &elm) throw (MissingFeature)
 Application operator. More...
 

Protected Member Functions

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

Private Attributes

AdaptiveSpace< F, AdaptiveAdjustP< dim > > & spc_
 Space to be refined. More...
 

Detailed Description

template<typename F, int dim>
class concepts::HRefinement< F, dim >

Uniform h refinement.

Every element in the space is broken to build a new space.

This class can be used as follows:

HRefinement<Real, 2> hRef(spc);
GlobalPostprocess<Real> post(spc);
post(hRef);
Author
Philipp Frauenfelder, 2004

Definition at line 145 of file hpMethod.hh.

Constructor & Destructor Documentation

◆ HRefinement()

template<typename F , int dim>
concepts::HRefinement< F, dim >::HRefinement ( AdaptiveSpace< F, AdaptiveAdjustP< dim > > &  spc)
inline

Constructor.

Parameters
spcSpace to be refined

Definition at line 150 of file hpMethod.hh.

Member Function Documentation

◆ info()

template<typename F , int dim>
virtual std::ostream& concepts::HRefinement< F, dim >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::CellPostprocess< F >.

◆ operator()() [1/2]

template<typename F , int dim>
virtual void concepts::HRefinement< F, dim >::operator() ( const Cell cell)
throw (MissingFeature
)
inlinevirtual

Application operator.

This application operator has to be overloaded to post process a mesh.

Parameters
cellCurrent cell

Implements concepts::CellPostprocess< F >.

Definition at line 152 of file hpMethod.hh.

◆ operator()() [2/2]

template<typename F , int dim>
virtual void concepts::HRefinement< F, dim >::operator() ( const Element< F > &  elm)
throw (MissingFeature
)
virtual

Application operator.

This application operator has to be overloaded to post process a space.

Parameters
elmCurrent element

Implements concepts::CellPostprocess< F >.

Member Data Documentation

◆ spc_

template<typename F , int dim>
AdaptiveSpace<F, AdaptiveAdjustP<dim> >& concepts::HRefinement< F, dim >::spc_
private

Space to be refined.

Definition at line 157 of file hpMethod.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