Class documentation of Concepts

Loading...
Searching...
No Matches
hook.hh
Go to the documentation of this file.
1
6#ifndef hook3D_hh
7#define hook3D_hh
8
9#include "basics/typedefs.hh"
11#include "toolbox/array.hh"
13
14namespace hp3D {
15 // forward declarations
16 class Hexahedron;
17
18 using concepts::Real;
19
20 // **************************************************************** Hook **
21
27 class Hook : public concepts::BilinearForm<Real> {
28 public:
32 const Hexahedron** oldElm, concepts::Mapping<Real, 6>& E,
33 const uint i = 0, const uint j = 0) :
34 i_(i), j_(j), jacobian_(jacobian), jacobianInv_(jacobianInv),
35 coeffMatrix_(0), E_(E) , oldElm_(oldElm) {}
36 virtual ~Hook();
37
38 virtual void operator()(const concepts::Element<Real>& elmX,
39 const concepts::Element<Real>& elmY,
41 void operator()(const Hexahedron& elmX, const Hexahedron& elmY,
43 protected:
44 virtual std::ostream& info(std::ostream& os) const;
45 private:
47 uint i_, j_;
48
51 mutable concepts::Array<Real> &jacobian_;
53 //concepts::Array<concepts::MapReal3d> &jacobianInv_;
55 mutable concepts::Array<concepts::MapReal3d> coeffMatrix_;
57
58 const Hexahedron** oldElm_;
59 };
60
61} // namespace hp3D
62
63#endif // hook3D_hh
Hook(concepts::Array< Real > &jacobian, concepts::Array< concepts::Array< concepts::MapReal3d > > &jacobianInv, const Hexahedron **oldElm, concepts::Mapping< Real, 6 > &E, const uint i=0, const uint j=0)
Constructor of the i.th row and j.th column of vectorial Bilinearform.
Definition hook.hh:30
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
double Real
Definition typedefs.hh:39
Definition meshDX.hh:23