Class documentation of Concepts

Loading...
Searching...
No Matches
bf_identity.hh
Go to the documentation of this file.
1
6#ifndef hp2dbf_identity_hh
7#define hp2dbf_identity_hh
8
9#include "basics/typedefs.hh"
13
14
15namespace concepts {
16 // forward declarations
17 template<class F>
18 class Array;
19
20 template<class F, uint dim>
21 class Point;
22
23 template<class F>
24 class Element;
25
26 template<class F>
27 class ElementMatrix;
28
29 template<typename F, typename G>
30 class ElementFormula;
31}
32
33namespace vectorial {
34 // forward declarations
35 template<class F, class G>
36 class BilinearForm;
37}
38
39namespace hp2D {
40 // forward declarations
41 template<class F>
42 class Quad;
43
44 class InfiniteLaguerreQuad;
45
46 using concepts::Real;
47
48
49 // ************************************************************** Identity **
50
56 template<class F = Real>
57 class Identity : public concepts::BilinearForm<F,Real>,
58 public BilinearFormHelper_0_0<F> {
59 public:
63 bool all = false);
64 virtual ~Identity();
65 virtual Identity<F>* clone() const;
66
67 void operator()(const concepts::Element<Real>& elmX,
68 const concepts::Element<Real>& elmY,
70 protected:
71 virtual std::ostream& info(std::ostream& os) const;
72 private:
76 bool all_;
77
79 bool operator()(const Quad<Real>* elmX,
80 const Quad<Real>* elmY,
83 bool operator()(const InfiniteLaguerreQuad* elmX,
84 const InfiniteLaguerreQuad* elmY,
86 };
87
88
89 // ********************************************************** setupIdentity **
90
95 template<class F>
100
108 template<class F>
112 bool transpose = false);
113
114
115} // namespace hp2D
116
117#endif // hp2dbf_identity_hh
virtual Identity< F > * clone() const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Identity(const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >(), bool all=false)
Constructor.
double Real
Definition typedefs.hh:39
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition element.hh:267
void setupIdentity(vectorial::BilinearForm< F, typename concepts::Realtype< F >::type > &bf, const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())