Class documentation of Concepts

Loading...
Searching...
No Matches
rotrot.hh
Go to the documentation of this file.
1
6#ifndef rotrot3D_hh
7#define rotrot3D_hh
8
9#include "basics/typedefs.hh"
11#include "basics/cloneable.hh"
12#include "toolbox/array.hh"
15#include "maxwell.hh"
16
17namespace vectorial {
18 template<typename F, typename G>
19 class BilinearForm;
20} // namespace vectorial
21
22namespace hp3D {
23 // forward declarations
24 class Hexahedron;
25
26 using concepts::Real;
27
28 // **************************************************************** RotRot **
29
40 class RotRot : public concepts::BilinearForm<Real>,
42 public:
44 RotRot(const uint i = 0, const uint j = 0) :
45 i_(i), j_(j), coeffMatrix_(0), jacobian_(0),
46 jacobianInv_(0), oldElm_(0), sharedData_(0) {}
50 const Hexahedron** oldElm, const uint i = 0, const uint j = 0) :
51 i_(i), j_(j), coeffMatrix_(0), jacobian_(&jacobian),
52 jacobianInv_(&jacobianInv), oldElm_(oldElm), sharedData_(0) {}
53
54 virtual ~RotRot();
55 virtual RotRot* clone() const;
56
57 virtual void operator()(const concepts::Element<Real>& elmX,
58 const concepts::Element<Real>& elmY,
60 void operator()(const Hexahedron& elmX, const Hexahedron& elmY,
62
63 virtual void data(concepts::Cloneable* d);
64 virtual MaxwellSharedData* data() const;
65
72 protected:
73 virtual std::ostream& info(std::ostream& os) const;
74 private:
76 uint i_, j_;
77
79 mutable concepts::Array<concepts::MapReal3d> coeffMatrix_;
80
82
83 concepts::Array<Real>* jacobian_;
85 const Hexahedron** oldElm_;
86 MaxwellSharedData* sharedData_;
88 };
89
90} // namespace hp3D
91
92#endif // rotrot3D_hh
virtual void data(concepts::Cloneable *d)
Sets the data to be shared.
RotRot(concepts::Array< Real > &jacobian, concepts::Array< concepts::MapReal3d > &jacobianInv, const Hexahedron **oldElm, const uint i=0, const uint j=0)
Constructor of the i.th row and j.th column of vectorial Bilinearform.
Definition rotrot.hh:48
virtual RotRot * clone() const
static void setup(vectorial::BilinearForm< Real, Real > &bf)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
RotRot(const uint i=0, const uint j=0)
Constructor of the i.th row and j.th column of vectorial Bilinearform.
Definition rotrot.hh:44
virtual MaxwellSharedData * data() const
Returns the data to be shared.
double Real
Definition typedefs.hh:39
Definition meshDX.hh:23