aprioriRef2D.hh
Class for holding a rule for a particular h- and p-refinement until an maximum level and maximum poly...
Definition: aprioriRef2D.hh:181
concepts::Set< concepts::Attribute > & attribEdge()
Returns set of attributes to refine toward this edge.
Definition: aprioriRef2D.hh:161
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const concepts::Element< Real > &elm)
std::unique_ptr< concepts::Attribute > attribCell_
Attribute of the cells which are allowed to refine.
Definition: aprioriRef2D.hh:109
APrioriRefinement(concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 2 > > &spc, const int *const p, const uint subdiv=X|Y, const concepts::Level< 2 > level=MAXSHORT)
Definition: aprioriRef2D.hh:67
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
APrioriRefinement(concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 2 > > &spc, concepts::Attribute attribVtx, concepts::Attribute attribEdge, const int *const p, const uint subdiv=X|Y, const concepts::Attribute attribCell=0)
Constructor for refining an adaptive space.
Definition: aprioriRef2D.hh:57
concepts::AdaptiveAdjustP< 2 > computeRef_(const concepts::Quad &q, concepts::Level< 2 > level) const
Computes the refinement solely using topological information.
concepts::Adaptivity< concepts::Connector, concepts::AdaptiveAdjustP< 2 > > * adj_
Adaptive space pre builder.
Definition: aprioriRef2D.hh:105
APrioriRefinement(concepts::Adaptivity< concepts::Connector, concepts::AdaptiveAdjustP< 2 > > &adj, concepts::Attribute attribVtx, concepts::Attribute attribEdge, const int *const p, const uint subdiv=X|Y)
Constructor for refining a space pre builder.
Definition: aprioriRef2D.hh:86
concepts::Set< concepts::Attribute > & attribVtx()
Returns set of attributes to refine toward this vertices.
Definition: aprioriRef2D.hh:159
APrioriGeometricRefinement(concepts::Attribute attribVtx, concepts::Attribute attribEdge, const int *const p, const uint subdiv=X|Y)
Constructor.
Definition: aprioriRef2D.hh:123
APrioriRefinementNew(concepts::Adaptivity< concepts::Connector, concepts::AdaptiveAdjustP< 2 > > &adj, APrioriRefinementRule *rule=0)
Constructor.
Definition: aprioriRef2D.hh:212
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
concepts::Set< concepts::Attribute > attribVtx_
Set of attributes to refine towards this vertices or edges.
Definition: aprioriRef2D.hh:169
virtual void operator()(const concepts::Element< Real > &elm)
concepts::Attribute attribVtx_
Attribute of entity to which should be refined.
Definition: aprioriRef2D.hh:107
concepts::Adaptivity< concepts::Connector, concepts::AdaptiveAdjustP< 2 > > * adj_
Adaptive space pre builder.
Definition: aprioriRef2D.hh:233
APrioriRegularRefinement(const int *const p, const uint subdiv=X|Y)
Constructor.
Definition: aprioriRef2D.hh:188
APrioriGeometricRefinement(const APrioriGeometricRefinement &rule)
Copy constructor.
Definition: aprioriRef2D.hh:155
Class for holding a rule for geometric refinement towards edges and vertices.
Definition: aprioriRef2D.hh:139
APrioriRegularRefinement(const APrioriRegularRefinement &rule)
Copy constructor.
Definition: aprioriRef2D.hh:191
concepts::Set< concepts::Attribute > attribEdge_
Definition: aprioriRef2D.hh:169
concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 2 > > * spc_
Space to be refined.
Definition: aprioriRef2D.hh:102
Definition: aprioriRef2D.hh:206
void add(concepts::Attribute attrib, APrioriRefinementRule *rule)
Adds rule for a particular cell attribute.
Definition: aprioriRef2D.hh:217
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.