Class documentation of Concepts

Loading...
Searching...
No Matches
dualSpace.hh
Go to the documentation of this file.
1
6#ifndef dualSpace_1D_hh
7#define dualSpace_1D_hh
8
9#include "toolbox/hashMap.hh"
10#include "space/space.hh"
11#include "element.hh"
12
13namespace hp1D {
14
15 using concepts::Real;
16
17 // ************************************************************* DualSpace **
18
29 class DualSpace : public concepts::SpaceOnCells<Real> {
30 public:
37 virtual ~DualSpace();
38
39 inline uint dim() const { return dim_; }
40 inline uint nelm() const { return nelm_; }
41 inline Scan* scan() const {
42 return new concepts::PListScan<BaseElement<Real> >(*elm_);
43 }
44
49 protected:
50 virtual std::ostream& info(std::ostream& os) const;
51 private:
53 uint dim_;
54
56 uint nelm_;
57
60
63 };
64
65
66} // namespace hp1D
67
68#endif // dualSpace_1D_hh
Scan * scan() const
Returns a scanner to iterate over the elements of the space.
Definition dualSpace.hh:41
void recomputeShapefunctions()
uint nelm() const
Returns the number of elements in the space.
Definition dualSpace.hh:40
DualSpace(Scan *scan)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint dim() const
Returns the dimension of the space.
Definition dualSpace.hh:39
double Real
Definition typedefs.hh:39