Class documentation of Concepts

Loading...
Searching...
No Matches
element.hh
Go to the documentation of this file.
1
6#ifndef constrElement_hh
7#define constrElement_hh
8
9#include "space/element.hh"
10#include "space/elementPairs.hh"
11#include "space/tmatrix.hh"
12
13namespace constraints {
14
15 // *************************************************************** Element **
16
20 template<typename F>
21 class Element : public concepts::Element<F>,
22 public concepts::ElementPair<F> {
23 public:
29 virtual ~Element();
30 virtual const concepts::TMatrix<F>& T() const { return T_; }
31
33 const concepts::Element<F>& compElement() const { return elm_; }
34
35 virtual const concepts::Element<F>& elm1() const { return *this; }
36 virtual const concepts::Element<F>& elm2() const { return elm_; }
37 protected:
38 virtual std::ostream& info(std::ostream& os) const;
39 private:
42
45 };
46
47} // namespace constraints
48
49#endif // constrElement_hh
virtual const concepts::Element< F > & elm1() const
Returns reference to the first element.
Definition element.hh:35
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
const concepts::Element< F > & compElement() const
Returns the computational element.
Definition element.hh:33
virtual const concepts::TMatrix< F > & T() const
Returns the T matrix of the element.
Definition element.hh:30
virtual const concepts::Element< F > & elm2() const
Returns reference to the second element.
Definition element.hh:36
Element(concepts::Element< F > &elm, concepts::TColumn< F > *T)