Class documentation of Concepts

Loading...
Searching...
No Matches
refinePreBuilder.hh
Go to the documentation of this file.
1
8#ifndef hpRefineSpacePreBuilder2D_hh
9#define hpRefineSpacePreBuilder2D_hh
10
11#include <string>
12#include "spacePreBuilder.hh"
13#include "toolbox/sequence.hh"
14
15namespace hp2D {
16
17 // ********************************************************** refinehpFull **
18
69 void refinehpFull(hp2D::hpFull& prebuild, std::string refinement);
70
71 // ****************************************** APrioriRefinementRuleFactory **
72
81 public:
82 enum rTypes {None = 0, hRef = 1, pRef = 2, hpRef = 3};
83
88 APrioriRefinementRuleFactory(const std::string text);
89
91 void refine(hp2D::hpFull& prebuild) const;
92 protected:
93 virtual std::ostream& info(std::ostream& os) const;
94 private:
96 std::string text_;
100 uint refAttr_;
101
105 uint refToEdgeAttr_;
106
110 uint refToVtxAttr_;
111
113 enum rTypes rType_;
114
116 int pMax_[2];
117
119 concepts::Level<2> level_;
120
124 void getRefAttr_(std::string& text);
125
127 void getToAttr_(std::string& text);
128
130 void getRType_(std::string& text);
131
133 void getPoly_(std::string& text);
134
136 void getHRefLevel_(std::string& text);
137
139 void getHPRefLevel_(std::string& text);
140
144 concepts::Sequence<int> getNumbers_(std::string& text);
145 };
146
147} // namespace hp2D
148
149#endif // hpRefineSpacePreBuilder2D_hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void refine(hp2D::hpFull &prebuild) const
Apply the refinement rule to the prebuilder class prebuild.
APrioriRefinementRuleFactory(const std::string text)
void refinehpFull(hp2D::hpFull &prebuild, std::string refinement)