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

Uniform p refinement. More...

#include <hpMethod.hh>

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

Public Member Functions

virtual void operator() (const Cell &cell) throw (MissingFeature)
 Application operator. More...
 
virtual void operator() (const Element< F > &elm) throw (MissingFeature)
 Application operator. More...
 
 PRefinement (AdaptiveSpace< F, AdaptiveAdjustP< dim > > &spc)
 Constructor. 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::PRefinement< F, dim >

Uniform p refinement.

The polynomial degree is increased isotropically in every element of the space.

This class can be used as follows:

PRefinement<Real, 2> pRef(spc);
GlobalPostprocess<Real> post(spc);
post(pRef);
Author
Philipp Frauenfelder, 2004

Definition at line 172 of file hpMethod.hh.

Constructor & Destructor Documentation

◆ PRefinement()

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

Constructor.

Parameters
spcSpace to be refined

Definition at line 177 of file hpMethod.hh.

Member Function Documentation

◆ info()

template<typename F , int dim>
virtual std::ostream& concepts::PRefinement< 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::PRefinement< 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 179 of file hpMethod.hh.

◆ operator()() [2/2]

template<typename F , int dim>
virtual void concepts::PRefinement< 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::PRefinement< F, dim >::spc_
private

Space to be refined.

Definition at line 184 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