Class for holding a rule for a particular h- and p-refinement until an maximum level and maximum polynomial degree is reached. More...

#include <aprioriRef2D.hh>

Inheritance diagram for hp2D::APrioriRegularRefinement:
hp2D::APrioriRefinementRule concepts::OutputOperator

Public Types

enum  subdivTypes { NONE = 0, X = 1, Y = 2 }
 

Public Member Functions

 APrioriRegularRefinement (const APrioriRegularRefinement &rule)
 Copy constructor. More...
 
 APrioriRegularRefinement (const int *const p, const uint subdiv=X|Y)
 Constructor. More...
 
virtual concepts::AdaptiveAdjustP< 2 > operator() (const concepts::Connector2 &q) const
 

Static Public Attributes

static const short MAXSHORT = 32767
 

Protected Member Functions

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

Private Attributes

const int *const p_
 Maximal p in a refinement step in each subdiv. More...
 
const uint subdiv_
 Subdivision strategy. More...
 

Detailed Description

Class for holding a rule for a particular h- and p-refinement until an maximum level and maximum polynomial degree is reached.

Definition at line 181 of file aprioriRef2D.hh.

Member Enumeration Documentation

◆ subdivTypes

Enumerator
NONE 

Definition at line 125 of file aprioriRef2D.hh.

Constructor & Destructor Documentation

◆ APrioriRegularRefinement() [1/2]

hp2D::APrioriRegularRefinement::APrioriRegularRefinement ( const int *const  p,
const uint  subdiv = X | Y 
)
inline

Constructor.

Parameters
pincrease of polynomial order (anisotropically)
subdivdefinition of the subdivision directions (local)

Definition at line 188 of file aprioriRef2D.hh.

◆ APrioriRegularRefinement() [2/2]

hp2D::APrioriRegularRefinement::APrioriRegularRefinement ( const APrioriRegularRefinement rule)
inline

Copy constructor.

Definition at line 191 of file aprioriRef2D.hh.

Member Function Documentation

◆ info()

virtual std::ostream& hp2D::APrioriRegularRefinement::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from hp2D::APrioriRefinementRule.

◆ operator()()

virtual concepts::AdaptiveAdjustP<2> hp2D::APrioriRegularRefinement::operator() ( const concepts::Connector2 q) const
virtual

Member Data Documentation

◆ MAXSHORT

const short hp2D::APrioriRefinementRule::MAXSHORT = 32767
staticinherited

Definition at line 126 of file aprioriRef2D.hh.

◆ p_

const int* const hp2D::APrioriRegularRefinement::p_
private

Maximal p in a refinement step in each subdiv.

Definition at line 199 of file aprioriRef2D.hh.

◆ subdiv_

const uint hp2D::APrioriRegularRefinement::subdiv_
private

Subdivision strategy.

Definition at line 201 of file aprioriRef2D.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