hp2D::APrioriGeometricRefinement Class Reference
Class for holding a rule for geometric refinement towards edges and vertices. More...
#include <aprioriRef2D.hh>
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::Attribute > | attribEdge_ |
concepts::Set< concepts::Attribute > | attribVtx_ |
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
|
inherited |
Enumerator | |
---|---|
NONE | |
X | |
Y |
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
-
attribVtx Refine towards vertices with this attribute attribEdge Refine towards edges with this attribute p If there is no refinement, p will be increased by this amount (anisotropically) subdiv possibility to restrict subdivision strategy
◆ APrioriGeometricRefinement() [2/2]
|
inline |
Copy constructor.
Definition at line 155 of file aprioriRef2D.hh.
Member Function Documentation
◆ attribEdge()
|
inline |
Returns set of attributes to refine toward this edge.
Definition at line 161 of file aprioriRef2D.hh.
◆ attribVtx()
|
inline |
Returns set of attributes to refine toward this vertices.
Definition at line 159 of file aprioriRef2D.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from hp2D::APrioriRefinementRule.
◆ operator()()
|
virtual |
Implements hp2D::APrioriRefinementRule.
Member Data Documentation
◆ attribEdge_
|
private |
Definition at line 169 of file aprioriRef2D.hh.
◆ attribVtx_
|
private |
Set of attributes to refine towards this vertices or edges.
Definition at line 169 of file aprioriRef2D.hh.
◆ MAXSHORT
|
staticinherited |
Definition at line 126 of file aprioriRef2D.hh.
◆ p_
|
private |
Maximal p in a refinement step in each subdiv.
Definition at line 171 of file aprioriRef2D.hh.
◆ subdiv_
|
private |
Subdivision strategy.
Definition at line 173 of file aprioriRef2D.hh.
The documentation for this class was generated from the following file:
- hp2D/aprioriRef2D.hh