Class documentation of Concepts

Loading...
Searching...
No Matches
spaceTransition.hh
Go to the documentation of this file.
1
6#ifndef spaceTransition_hh
7#define spaceTransition_hh
8
10#include "space/elementPairs.hh"
11#include "space.hh"
12
13namespace hp3D {
14
15 // ******************************************************** TransitionPair **
16
21 public:
23 const int relation) :
24 elm1_(elm1), elm2_(elm2), relation_(relation) {}
25 virtual const Element<Real>& elm1() const { return elm1_; }
26 virtual const Element<Real>& elm2() const { return elm2_; }
28 int relation() const { return relation_; }
29 private:
30 const Element<Real>& elm1_, & elm2_;
31 const int relation_;
32 };
33
34 // ******************************************************* SpaceTransition **
35
42 class SpaceTransition : public concepts::Operator<Real> {
43 public:
48 SpaceTransition(const Space& spaceX, const Space& spaceY);
49 virtual void operator()(const concepts::Function<Real>& fncY,
51 void operator()(const concepts::Vector<Real>& fncY,
53 virtual const Space& spaceX() const { return spcX_; }
54 virtual const Space& spaceY() const { return spcY_; }
55 protected:
56 virtual std::ostream& info(std::ostream& os) const;
57 private:
59 const Space& spcX_, & spcY_;
70 bool findChildPath_(const int level, const concepts::Hexahedron3d& large,
71 const concepts::Hexahedron3d& small,
72 concepts::Array<uint>& children);
73 };
74
75} // namespace hp3D
76
77#endif // spaceTransition_hh
SpaceTransition(const Space &spaceX, const Space &spaceY)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual const Element< Real > & elm1() const
Returns reference to the first element.
virtual const Element< Real > & elm2() const
Returns reference to the second element.
int relation() const
Returns the relation of the two elements.
Definition meshDX.hh:23