Go to the documentation of this file.
27 template<
int dim,
class F = u
int>
35 std::memset(
p_, 0, dim*
sizeof(
ushort));
40 std::ostream&
info(std::ostream& os)
const;
43 template<
int dim,
class F>
70 std::memset(
p_, 0, dim*
sizeof(
short));
78 for (
int i = 0; i < dim; ++i)
p_[i] = p[i];
86 for (
int i = 0; i < dim; ++i)
p_[i] = p;
95 for (
int i = 0; i < dim; ++i)
p_[i] = p[i];
103 for (
int i = 0; i < dim; ++i)
p_[i] = p;
111 for (
int i = 0; i < dim; ++i)
p_[i] = p[i];
120 for (
int i = 0; i < dim; ++i)
p_[i] = p[i];
125 std::ostream&
info(std::ostream& os)
const;
144 template<
typename F,
int dim>
154 virtual std::ostream&
info(std::ostream& os)
const;
171 template<
typename F,
int dim>
181 virtual std::ostream&
info(std::ostream& os)
const;
189 #endif // hpMethod_hh
uint size() const
Returns the requested size of the array.
PRefinement(AdaptiveSpace< F, AdaptiveAdjustP< dim > > &spc)
Constructor.
An abstract class for an element of a space.
virtual void operator()(const Element< F > &elm)
Application operator.
std::ostream & info(std::ostream &os) const
short p_[dim]
Difference in the polynomial degree.
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
virtual void operator()(const Element< F > &elm)
Application operator.
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
AdaptiveAdjustP(const Level< dim > &l, const int *p)
Constructor.
AdaptiveAdjustP(const Level< dim > &l, const Array< int > p)
Constructor.
ushort p_[dim]
Polynomial degree.
AdaptiveAdjustP< dim > & operator=(const AdaptiveAdjustP< dim > &a)
AdaptiveAdjustP()
Constructor.
Class to describe control structures of an adaptive space.
Describe control structures of a high order adaptive space.
Level< levelDim > level_
Level in several dimensions.
Exception class for assertions.
AdaptiveAdjustP(short l, const int p)
Constructor.
std::ostream & operator<<(std::ostream &os, const Level< dim > &c)
bool operator!=(const AdaptiveControlP< dim, F > &a)
AdaptiveSpace< F, AdaptiveAdjustP< dim > > & spc_
Space to be refined.
AdaptiveSpace< F, AdaptiveAdjustP< dim > > & spc_
Space to be refined.
std::ostream & info(std::ostream &os) const
AdaptiveAdjustP(short l, const Array< int > p)
Constructor.
Class to describe adjustments to elements in an adaptive space.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Level information used for multidimensional hp FEM.
unsigned short ushort
Abbreviation for unsigned short.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Exception class to express a missing feature.
Class to describe adjustments to elements in an adaptive space.
AdaptiveAdjustP(short l, int *p)
Constructor.
Abstract base class for an adaptive space.
HRefinement(AdaptiveSpace< F, AdaptiveAdjustP< dim > > &spc)
Constructor.
AdaptiveControlP()
Constructor.
AdaptiveAdjustP(const Level< dim > &l, const int p)
Constructor.
Abstract class for per cell postprocessing.
Basic namespace for Concepts-2.