Class documentation of Concepts

Loading...
Searching...
No Matches
space3D.hh
Go to the documentation of this file.
1
6#ifndef linSpace3D_hh
7#define linSpace3D_hh
8
9#include "element3D.hh"
10#include "basics/typedefs.hh"
11#include "space/space.hh"
12#include "space/element.hh"
14#include "toolbox/dynArray.hh"
15
16namespace concepts {
17
18 // forward declarations
19 class Mesh3;
20 class BoundaryConditions;
21
22 // ************************************************************** Scanners **
23
24 template<>
25 class Scan<linearFEM::Tetrahedron> : public Scan<linearFEM::Element> {
26 public:
28 };
29
30} // namespace concepts
31
32namespace linearFEM {
33
34 // ************************************************************** Linear3d **
35
39 class Linear3d : public concepts::Space<Real> {
40 public:
42 typedef void (*SMap)(const concepts::TColumn<Real>&,
49 virtual ~Linear3d();
50 virtual uint dim() const { return dim_; }
51 virtual uint nelm() const { return nelm_; }
52 virtual Scan* scan() const {
53 return new concepts::PListScan<Tetrahedron>(*elm_); }
54 protected:
55 virtual std::ostream& info(std::ostream& os) const;
56 private:
58 uint dim_;
60 uint nelm_;
65 };
66
67} // namespace linearFEM
68
69#endif // linSpace3D_hh
virtual linearFEM::Tetrahedron & operator++(int)=0
Returns the next element in the scanned set.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Linear3d(concepts::Mesh3 &msh, concepts::BoundaryConditions *bc=0)
virtual uint dim() const
Returns the dimension of the space.
Definition space3D.hh:50
virtual Scan * scan() const
Returns a scanner to iterate over the elements of the space.
Definition space3D.hh:52
virtual uint nelm() const
Returns the number of elements in the space.
Definition space3D.hh:51
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320