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;
AdaptiveAdjustP(const Level< dim > &l, const Array< int > p)
AdaptiveAdjustP(const Level< dim > &l, const int p)
AdaptiveAdjustP(const Level< dim > &l, const int *p)
AdaptiveAdjustP(short l, const int p)
AdaptiveAdjustP(short l, const Array< int > p)
AdaptiveAdjustP(short l, int *p)
Level< levelDim > level_
Level in several dimensions.
uint size() const
Returns the requested size of the array.
HRefinement(AdaptiveSpace< F, AdaptiveAdjustP< dim > > &spc)
virtual void operator()(const Element< F > &elm)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
PRefinement(AdaptiveSpace< F, AdaptiveAdjustP< dim > > &spc)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const Element< F > &elm)
#define conceptsAssert(cond, exc)
Set< F > makeSet(uint n, const F &first,...)
unsigned short ushort
Abbreviation for unsigned short.
ushort p_[dim]
Polynomial degree.