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

#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)
 Constructor. More...
 
 APrioriGeometricRefinement (const APrioriGeometricRefinement &rule)
 Copy constructor. More...
 
concepts::Set< concepts::Attribute > & attribEdge ()
 Returns set of attributes to refine toward this edge. More...
 
concepts::Set< concepts::Attribute > & attribVtx ()
 Returns set of attributes to refine toward this vertices. 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

concepts::Set< concepts::AttributeattribEdge_
 
concepts::Set< concepts::AttributeattribVtx_
 Set of attributes to refine towards this vertices or edges. More...
 
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 geometric refinement towards edges and vertices.

Definition at line 139 of file aprioriRef2D.hh.

Member Enumeration Documentation

◆ subdivTypes

Enumerator
NONE 

Definition at line 125 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 155 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 161 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 159 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

◆ attribEdge_

concepts::Set<concepts::Attribute> hp2D::APrioriGeometricRefinement::attribEdge_
private

Definition at line 169 of file aprioriRef2D.hh.

◆ attribVtx_

concepts::Set<concepts::Attribute> hp2D::APrioriGeometricRefinement::attribVtx_
private

Set of attributes to refine towards this vertices or edges.

Definition at line 169 of file aprioriRef2D.hh.

◆ MAXSHORT

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

Definition at line 126 of file aprioriRef2D.hh.

◆ p_

const int* const hp2D::APrioriGeometricRefinement::p_
private

Maximal p in a refinement step in each subdiv.

Definition at line 171 of file aprioriRef2D.hh.

◆ subdiv_

const uint hp2D::APrioriGeometricRefinement::subdiv_
private

Subdivision strategy.

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