refinePreBuilder.hh
int pMax_[2]
Polynomial degree enhancement in the local directions of the cell.
Definition: refinePreBuilder.hh:116
void getPoly_(std::string &text)
Determine the polynomial degree(s)
void getRefAttr_(std::string &text)
Determine the attribute of cells in which the refinement rule should be applied.
void getRType_(std::string &text)
Determine the refinement type.
Helper class for building 2D hp-FEM spaces (space pre builder).
Definition: spacePreBuilder.hh:168
APrioriRefinementRuleFactory(const std::string text)
Constructor taken a refinement rule inside a string.
concepts::Level< 2 > level_
Level of refinement in the local directions of the cell.
Definition: refinePreBuilder.hh:119
uint refToVtxAttr_
Attribute of corners to which should be refined (for h- and hp-refinement).
Definition: refinePreBuilder.hh:110
void getHRefLevel_(std::string &text)
Determine the refinement level for h-refinement.
void refinehpFull(hp2D::hpFull &prebuild, std::string refinement)
Refines the space prebuilder prebuild where the refinement rules are given in the string refinement.
void getToAttr_(std::string &text)
Determine the attribute of edges and cells to which should be refined.
uint refToEdgeAttr_
Attribute of edges to which should be refined (for h- and hp-refinement).
Definition: refinePreBuilder.hh:105
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint refAttr_
Attribute of cells in which the refinement rule should be applied.
Definition: refinePreBuilder.hh:100
void refine(hp2D::hpFull &prebuild) const
Apply the refinement rule to the prebuilder class prebuild.
void getHPRefLevel_(std::string &text)
Determine the refinement level for hp-refinement.
Factory class for a refinement rule.
Definition: refinePreBuilder.hh:80
concepts::Sequence< int > getNumbers_(std::string &text)
Returns a sequence of integer number taking from a string of the form "1|2".