Class documentation of Concepts

Loading...
Searching...
No Matches
boundaries.hh
Go to the documentation of this file.
1
6#ifndef hp2dEdgeBoundaries_hh
7#define hp2dEdgeBoundaries_hh
8
9#include <memory>
10#include "basics/typedefs.hh"
12#include "space.hh"
13#include "space/dirichlet.hh"
15#include "hp2Dedge/quad.hh"
16
17
18namespace concepts {
19 // forward declarations
20 template<class F>
21 class Formula;
22
23 class BoundaryConditions;
24
25 template<class F>
26 class Element;
27
28 template<class F>
29 class ElementMatrix;
30
31 template<class F>
32 class Array;
33}
34
35namespace hp2Dedge {
36 // forward declarations
37 template<class F>
38 class Quad;
39
40 using concepts::Real;
41
42 // ************************************************* DirichletCoefficients **
43
49 public:
56 protected:
57 virtual std::ostream& info(std::ostream& os) const;
58 };
59
60 // ******************************************************* DirichletRotRot **
61
76 public:
81
82 virtual ~DirichletRotRot();
83
92 void operator()(const Quad<>& elm, concepts::ElementMatrix<Real>& em) const;
93 protected:
94 virtual std::ostream& info(std::ostream& os) const;
95 private:
97 concepts::Array<Real> jacobianReciprocal_, function_;
98 mutable concepts::Array<Real> tmp_;
101 };
102
103 // ***************************************************** DirichletIdentity **
104
119 public:
124
125 virtual ~DirichletIdentity();
126
135 void operator()(const Quad<>& elm, concepts::ElementMatrix<Real>& em) const;
136 protected:
137 virtual std::ostream& info(std::ostream& os) const;
138 private:
140 mutable concepts::Array<Real> jacobian_, function_;
145 };
146
147} // namespace hp2Dedge
148
149#endif // hp2dEdgeBoundaries_hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void operator()(const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
DirichletIdentity(DirichletCoefficients *dc=0)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void operator()(const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
DirichletRotRot(DirichletCoefficients *dc=0)
double Real
Definition typedefs.hh:39
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition element.hh:267