#include <hpExtension.hh>
Public Member Functions | |
| RefineOrRaise (const concepts::Vector< F > &solution, const Real theta, concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 1 > > &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. | |
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 
theta, the element's polynomial degree is raised, otherwise it is refined. m is the slope of the fitted line in the regression.
Definition at line 40 of file hpExtension.hh.
| hp1D::RefineOrRaise< F >::RefineOrRaise | ( | const concepts::Vector< F > & | solution, |
| const Real | theta, | ||
| concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 1 > > & | spc | ||
| ) |
Constructor.
| solution | Solution vector |
| theta | Decision parameter |
| spc | Space (is used for the refinements) |
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::BaseOutputCell< F >, graphics::BaseOutputCell< Real >, graphics::BaseOutputCell< typename concepts::Realtype< F >::type >, graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, graphics::BaseMeshCell, graphics::MatrixCounterCell, graphics::MatrixBaseElementFormulaCell< F, G >, graphics::MatrixSolutionEvaluationCell< F, G >, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::HRefinement< F, dim >, concepts::PRefinement< F, dim >, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
inlinevirtual |
Application operator. This application operator has to be overloaded to post process a mesh.
| cell | Current cell |
Implements concepts::CellPostprocess< F >.
Definition at line 52 of file hpExtension.hh.
|
virtual |
Application operator. This application operator has to be overloaded to post process a space.
| elm | Current element |
Implements concepts::CellPostprocess< F >.