Class documentation of Concepts

Loading...
Searching...
No Matches
bf3D_linearElasticity.hh
Go to the documentation of this file.
1
8#ifndef HP3D_LINEARELASTICITY_HH
9#define HP3D_LINEARELASTICITY_HH
10
11#include "basics/typedefs.hh"
13
14namespace concepts {
15 // forward declarations
16 template <class F>
17 class Element;
18
19 template <class F>
20 class ElementMatrix;
21}
22
23namespace vectorial {
24 // forward declaration
25 template<class F, class G>
26 class BilinearForm;
27}
28
29namespace hp3D {
30 // forward declaration
31 class Hexahedron;
32
33 using concepts::Real;
34
41 template <class F>
43 {
44 public:
45 LinearElasticity(const uint &i, const uint &j,
46 const Real &lambda, const Real &mu);
47
48 virtual ~LinearElasticity();
49
50 virtual void operator()(const concepts::Element<Real> &elmX,
51 const concepts::Element<Real> &elmY,
53
54 virtual LinearElasticity* clone() const
55 {
56 return new LinearElasticity(i_, j_, lambda_, mu_);
57 }
58
59 virtual std::ostream& info(std::ostream &os) const;
60
61 static void setup(vectorial::BilinearForm<F,Real> &bf,
62 const Real &lambda, const Real &mu);
63
64 private:
65
66 void operator()(const Hexahedron &elmX, const Hexahedron &elmY,
68
69
70 uint i_;
71 uint j_;
72 Real lambda_;
73 Real mu_;
74
77 Real coefA_;
78 Real coefB_;
79
80 };
81
82} // namespace hp3D
83
84#endif // HP3D_LINEARELASTICITY_HH
virtual LinearElasticity * clone() const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
double Real
Definition typedefs.hh:39
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition element.hh:267
Definition meshDX.hh:23