Class documentation of Concepts

Loading...
Searching...
No Matches

#include <aprioriRef2D.hh>

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

Public Types

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

Public Member Functions

 APrioriGeometricRefinement (concepts::Attribute attribVtx, concepts::Attribute attribEdge, const int *const p, const uint subdiv=X|Y)
 
 APrioriGeometricRefinement (const APrioriGeometricRefinement &rule)
 Copy constructor.
 
concepts::Set< concepts::Attribute > & attribVtx ()
 Returns set of attributes to refine toward this vertices.
 
concepts::Set< concepts::Attribute > & attribEdge ()
 Returns set of attributes to refine toward this edge.
 
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.
 

Detailed Description

Class for holding a rule for geometric refinement towards edges and vertices.

Definition at line 137 of file aprioriRef2D.hh.

Member Enumeration Documentation

◆ subdivTypes

enum hp2D::APrioriRefinementRule::subdivTypes
inherited

Definition at line 123 of file aprioriRef2D.hh.

Constructor & Destructor Documentation

◆ APrioriGeometricRefinement() [1/2]

hp2D::APrioriGeometricRefinement::APrioriGeometricRefinement ( concepts::Attribute  attribVtx,
concepts::Attribute  attribEdge,
const int *const  p,
const uint  subdiv = X|Y 
)

Constructor

If a given attribute for the vertices or edges is 0, it is not considered.

Parameters
attribVtxRefine towards vertices with this attribute
attribEdgeRefine towards edges with this attribute
pIf there is no refinement, p will be increased by this amount (anisotropically)
subdivpossibility to restrict subdivision strategy

◆ APrioriGeometricRefinement() [2/2]

hp2D::APrioriGeometricRefinement::APrioriGeometricRefinement ( const APrioriGeometricRefinement rule)
inline

Copy constructor.

Definition at line 153 of file aprioriRef2D.hh.

Member Function Documentation

◆ attribEdge()

concepts::Set< concepts::Attribute > & hp2D::APrioriGeometricRefinement::attribEdge ( )
inline

Returns set of attributes to refine toward this edge.

Definition at line 159 of file aprioriRef2D.hh.

◆ attribVtx()

concepts::Set< concepts::Attribute > & hp2D::APrioriGeometricRefinement::attribVtx ( )
inline

Returns set of attributes to refine toward this vertices.

Definition at line 157 of file aprioriRef2D.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from hp2D::APrioriRefinementRule.

◆ operator()()

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

Member Data Documentation

◆ MAXSHORT

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

Definition at line 124 of file aprioriRef2D.hh.


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