Class documentation of Concepts

Loading...
Searching...
No Matches
element.hh
Go to the documentation of this file.
1
6#ifndef hpElement2d_h
7#define hpElement2d_h
8
9#include <cstring>
12#include "geometry/connector.hh"
13#include "geometry/cell.hh"
14#include "space/element.hh"
15#include "space/tmatrix.hh"
16
17namespace hp2D {
18
19 // *************************************************************** Element **
20
27 template<class F>
29 public:
34
38 virtual const concepts::Connector2& support() const = 0;
39
40 virtual const concepts::TMatrix<F>& T() const { return T_; }
41
43 void appendT(concepts::TColumn<F>* T) { T_.append(T); }
44
49 virtual concepts::Real3d vertex(uint i) const = 0;
50
52 virtual const concepts::Cell2& cell() const = 0;
53 protected:
54 virtual std::ostream& info(std::ostream& os) const;
55
58 };
59
60} // namespace hp2D
61
62namespace concepts {
63
64 // ****************************************************************** Scan **
65
67
68 template<class F>
69 class Scan<hp2D::Element<F> > : public Scan<ElementWithCell<F> > {
70 public:
72 };
73
74} // namespace concepts
75
76#endif // hpElement2d_h
Two dimensional cell.
Definition cell.hh:89
hp2D::Element< F > & operator++(int)=0
Returns the next element in the scanned set.
virtual const concepts::Connector2 & support() const =0
void appendT(concepts::TColumn< F > *T)
Appends the T columns to the T matrix.
Definition element.hh:43
Element(concepts::TColumn< F > *T)
Definition element.hh:33
virtual const concepts::Cell2 & cell() const =0
Returns the cell on which the element is built.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual const concepts::TMatrix< F > & T() const
Returns the T matrix of the element.
Definition element.hh:40
virtual concepts::Real3d vertex(uint i) const =0
concepts::TMatrix< F > T_
T matrix of the element.
Definition element.hh:57