#include <aprioriRef2D.hh>
Public Types | |
enum | subdivTypes { NONE = 0 , X = 1 , Y = 2 } |
Public Member Functions | |
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) | |
APrioriRefinement (concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 2 > > &spc, const int *const p, const uint subdiv=X|Y, const concepts::Level< 2 > level=MAXSHORT) | |
APrioriRefinement (concepts::Adaptivity< concepts::Connector, concepts::AdaptiveAdjustP< 2 > > &adj, concepts::Attribute attribVtx, concepts::Attribute attribEdge, const int *const p, const uint subdiv=X|Y) | |
virtual void | operator() (const concepts::Element< Real > &elm) |
virtual void | operator() (const concepts::Cell &cell) |
virtual void | operator() (const Element< Real > &elm)=0 |
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. | |
Carries out a-priori given refinements. The mesh is geometrically refined towards the given vertices or edges. These can be determined by their attribute. If a refinement in one direction occurs, p is not increased in this direction. Otherwise it is increased by the given amount. This makes it possible to generate geometrically refined meshes to corners and edges with linear polynomial degree distribution.
Currently, methods for hp2D::Quad are implemented.
p
of the constructor can be set to a pointer to 0. This is not detected and a run-time error occurs. Definition at line 40 of file aprioriRef2D.hh.
enum hp2D::APrioriRefinement::subdivTypes |
Definition at line 42 of file aprioriRef2D.hh.
|
inline |
Constructor for refining an adaptive space.
If a given attribute for the vertices or edges is 0, it is not considered.
spc | Space to be refined |
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 |
attribCell | possibility to restrict subdivision to particular cells |
Definition at line 56 of file aprioriRef2D.hh.
|
inline |
Definition at line 66 of file aprioriRef2D.hh.
|
inline |
Constructor for refining a space pre builder.
The global post process has to be given the mesh, so that the ()-operator for cells is called.
If a given attribute for the vertices or edges is 0, it is not considered.
adj | Space Pre Builder to be refined |
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 |
Definition at line 86 of file aprioriRef2D.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::CellPostprocess< Real >.
|
virtual |
Application operator. This application operator has to be overloaded to post process a mesh.
cell | Current cell |
Implements concepts::CellPostprocess< Real >.
|
pure virtualinherited |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
static |
Definition at line 43 of file aprioriRef2D.hh.