Class documentation of Concepts

Loading...
Searching...
No Matches
hpExtension.hh
Go to the documentation of this file.
1
7#ifndef hpExtension3D_hh
8#define hpExtension3D_hh
9
10#include "basics/typedefs.hh"
11#include "basics/exceptions.hh"
12#include "space/postProcess.hh"
13
14namespace concepts {
15 // forward declaration
16 template<typename F>
17 class Vector;
18
19 template<typename F>
20 class Array;
21}
22
23namespace hp3D {
24 using concepts::Real;
25
26 // ******************************************************** RefineOrRaise **
27
39 template<typename F, typename G = typename concepts::Realtype<F>::type>
41 public:
47 RefineOrRaise(const concepts::Vector<F>& solution, const Real theta,
50 virtual void operator() (const concepts::Element<F>& elm);
51 virtual void operator() (const concepts::Cell& cell) {}
52 private:
54 concepts::Array<F> coeff_;
56 concepts::Array<F> legendre_;
60 const concepts::Vector<F>& solution_;
64 const Real theta_;
69 Real transCoeff_(const uint i, const uint j) const;
81 bool regression_(concepts::Array<F>& coeff, const uint p) const;
82 };
83
84} // namespace hp3D
85
86#endif // hpExtension3D_hh
RefineOrRaise(const concepts::Vector< F > &solution, const Real theta, concepts::AdaptiveSpace< G, concepts::AdaptiveAdjustP< 3 > > &spc)
virtual void operator()(const concepts::Element< F > &elm)
double Real
Definition typedefs.hh:39
Definition meshDX.hh:23