Class documentation of Concepts

Loading...
Searching...
No Matches
bilinearForm.hh
Go to the documentation of this file.
1
6#ifndef linDG2DbilinearForm_hh
7#define linDG2DbilinearForm_hh
8
9#include "basics/typedefs.hh"
12
13using concepts::Real;
14
15namespace linDG2D {
16
17 // ************************************************************ IdentityBf **
18
23 class IdentityBf : public concepts::BilinearForm<Real> {
24 public:
28 virtual void operator()(const concepts::Element<Real>& elmV,
29 const concepts::Element<Real>& elmU,
31 virtual IdentityBf* clone() const { return new IdentityBf(); }
32 };
33
34 // ********************************************************** LaplaceVolBf **
35
41 class LaplaceVolBf : public concepts::BilinearForm<Real> {
42 public:
46 virtual void operator()(const concepts::Element<Real>& elmV,
47 const concepts::Element<Real>& elmU,
49 virtual LaplaceVolBf* clone() const { return new LaplaceVolBf(); }
50 };
51
52 // ********************************************************* LaplaceFluxBf **
53
60 public:
65 : bc_(bc) {}
67 virtual void operator()(const concepts::Element<Real>& elmV,
68 const concepts::Element<Real>& elmU,
71 }
73 virtual void operator()(const concepts::Element<Real>& elmV,
74 const concepts::Element<Real>& elmU,
76 const concepts::ElementPair<Real>& ep) const;
77 virtual LaplaceFluxBf* clone() const { return new LaplaceFluxBf(bc_); }
78 private:
81 };
82
83 // ********************************************************* LaplaceStabBf **
84
91 public:
97 : omega_(omega), bc_(bc) {}
99 virtual void operator()(const concepts::Element<Real>& elmV,
100 const concepts::Element<Real>& elmU,
103 }
105 virtual void operator()(const concepts::Element<Real>& elmV,
106 const concepts::Element<Real>& elmU,
108 const concepts::ElementPair<Real>& ep) const;
109 virtual LaplaceStabBf* clone() const {
110 return new LaplaceStabBf(omega_, bc_); }
111 private:
113 const Real omega_;
116 };
117
118} // namespace linDG2D
119
120#endif // linDG2DbilinearForm_hh
IdentityBf()
Constructor.
virtual IdentityBf * clone() const
virtual void operator()(const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em) const
Application operator.
LaplaceFluxBf(const concepts::BoundaryConditions *bc)
virtual LaplaceFluxBf * clone() const
virtual void operator()(const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em) const
Application operator for volume terms, does nothing.
virtual void operator()(const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em, const concepts::ElementPair< Real > &ep) const
Application operator for DG term.
virtual LaplaceStabBf * clone() const
virtual void operator()(const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em, const concepts::ElementPair< Real > &ep) const
Application operator for DG term.
virtual void operator()(const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em) const
Application operator for volume terms, does nothing.
LaplaceStabBf(Real omega, const concepts::BoundaryConditions *bc)
LaplaceVolBf()
Constructor.
virtual void operator()(const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em) const
Application operator.
virtual LaplaceVolBf * clone() const
#define conceptsAssert(cond, exc)
double Real
Definition typedefs.hh:39