Class documentation of Concepts

Loading...
Searching...
No Matches
element3D.hh
Go to the documentation of this file.
1
6#ifndef element3DLin_hh
7#define element3DLin_hh
8
9#include "element.hh"
10#include "geometry/cell3D.hh"
11
12namespace concepts {
13 // forward declaration
14 template<typename F>
15 class ElementGraphics;
16}
17
18namespace linearFEM {
19 // forward declaration
20 class TetrahedronGraphics;
21
22 // *********************************************************** Tetrahedron **
23
27 class Tetrahedron : public Element {
28 public:
34 Element(4, idx), cell_(cell) {}
44 virtual const concepts::Tetrahedron& support() const
45 { return cell_.connector(); }
46 virtual const concepts::Tetrahedron3d& cell() const { return cell_; }
47 virtual const concepts::ElementGraphics<Real>* graphics() const;
48 protected:
49 virtual std::ostream& info(std::ostream& os) const;
50 private:
52 const concepts::Tetrahedron3d& cell_;
54 static std::unique_ptr<TetrahedronGraphics> graphics_;
55 };
56
57} // namespace linearFEM
58
59#endif // element3DLin_hh
Tetrahedron & connector() const
Returns the connector.
Definition cell3D.hh:100
Tetrahedron(const concepts::Tetrahedron3d &cell, uint idx[])
Definition element3D.hh:33
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual const concepts::Tetrahedron & support() const
Returns the support of this element.
Definition element3D.hh:44
virtual const concepts::Tetrahedron3d & cell() const
Returns the cell of this element.
Definition element3D.hh:46
Tetrahedron(const concepts::Tetrahedron3d &cell, concepts::TColumn< Real > *T0, concepts::TColumn< Real > *T1=0)
Definition element3D.hh:40