Class documentation of Concepts

Loading...
Searching...
No Matches
hp3D::RefineOrRaise< F, G > Class Template Reference

#include <hpExtension.hh>

Inheritance diagram for hp3D::RefineOrRaise< F, G >:
concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

 RefineOrRaise (const concepts::Vector< F > &solution, const Real theta, concepts::AdaptiveSpace< G, concepts::AdaptiveAdjustP< 3 > > &spc)
 
virtual void operator() (const concepts::Element< F > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 

Protected Member Functions

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

Detailed Description

template<typename F, typename G = typename concepts::Realtype<F>::type>
class hp3D::RefineOrRaise< F, G >

Refines element or raises its polynomial degree. The decision is based on a log linear regression to find out if the Legendre coefficients of the solution decrease exponentially.

The parameter theta is used to control this decision. If $e^m$ is less than theta, the element's polynomial degree is raised, otherwise it is refined. m is the slope of the fitted line in the regression. This decision is taken anisotropic!

Author
Philipp Frauenfelder, 2002

Definition at line 40 of file hpExtension.hh.

Constructor & Destructor Documentation

◆ RefineOrRaise()

template<typename F , typename G = typename concepts::Realtype<F>::type>
hp3D::RefineOrRaise< F, G >::RefineOrRaise ( const concepts::Vector< F > &  solution,
const Real  theta,
concepts::AdaptiveSpace< G, concepts::AdaptiveAdjustP< 3 > > &  spc 
)

Constructor.

Parameters
solutionSolution vector
thetaDecision parameter
spcSpace (is used for the refinements)

Member Function Documentation

◆ info()

◆ operator()() [1/2]

template<typename F , typename G = typename concepts::Realtype<F>::type>
virtual void hp3D::RefineOrRaise< F, G >::operator() ( const concepts::Cell cell)
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 51 of file hpExtension.hh.

◆ operator()() [2/2]

template<typename F , typename G = typename concepts::Realtype<F>::type>
virtual void hp3D::RefineOrRaise< F, G >::operator() ( const concepts::Element< F > &  elm)
virtual

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

Parameters
elmCurrent element

Implements concepts::CellPostprocess< F >.


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