hpExtension.hh

Go to the documentation of this file.
1 
7 #ifndef hpExtension1D_hh
8 #define hpExtension1D_hh
9 
10 #include "basics/typedefs.hh"
11 #include "basics/exceptions.hh"
12 #include "space/postProcess.hh"
13 
14 namespace concepts {
15  // forward declaration
16  template<typename F>
17  class Vector;
18 
19  template<typename F>
20  class Array;
21 }
22 
23 namespace hp1D {
24  using concepts::Real;
25 
26  // ******************************************************** RefineOrRaise **
27 
39  template<typename F>
41  public:
48  const Real theta,
51  virtual void operator() (const concepts::Element<F>& elm)
53  virtual void operator() (const concepts::Cell& cell)
54  throw(concepts::MissingFeature) {}
55  private:
65  const Real theta_;
66  };
67 
68 } // namespace hp1D
69 
70 #endif // hpExtension1D_hh
virtual void operator()(const concepts::Element< F > &elm)
Application operator.
An abstract class for an element of a space.
Definition: exceptions.hh:15
concepts::Array< F > coeff_
Elementwise coefficients of the shape functions.
Definition: hpExtension.hh:57
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
Refines element or raises its polynomial degree.
Definition: hpExtension.hh:40
const concepts::Vector< F > & solution_
Vector of the variable to plot.
Definition: hpExtension.hh:61
An array of objects.
Definition: bilinearForm.hh:23
RefineOrRaise(const concepts::Vector< F > &solution, const Real theta, concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 1 > > &spc)
Constructor.
concepts::AdaptiveSpace< Real, concepts::AdaptiveAdjustP< 1 > > & spc_
Space.
Definition: hpExtension.hh:63
Exception class to express a missing feature.
Definition: exceptions.hh:206
const Real theta_
Decision parameter.
Definition: hpExtension.hh:65
concepts::Array< F > legendre_
Legendre coefficients.
Definition: hpExtension.hh:59
Abstract base class for an adaptive space.
Definition: space.hh:350
Abstract class for per cell postprocessing.
Definition: postProcess.hh:38
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
1D hp-FEM
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich