Class documentation of Concepts

Loading...
Searching...
No Matches
hpAdaptiveSpaceL2.hh
Go to the documentation of this file.
1
6#ifndef hpAdaptiveSpaceL2_hh
7#define hpAdaptiveSpaceL2_hh
8
10#include "basics/typedefs.hh"
11#include "geometry/mesh.hh"
12#include "space/space.hh"
14#include "element.hh"
15
16namespace hp1D {
17
18// ***************************************************************** hpAdaptiveSpaceL2 **
19
27 class hpAdaptiveSpaceL2 : public concepts::SpaceOnCells<concepts::Real> {
28 public:
30
36 ~hpAdaptiveSpaceL2() override;
37
38 inline uint dim() const override{
39 return dim_;
40 }
41
42 inline uint nelm() const override{
43 return nelm_;
44 }
45
46 inline Scan* scan() const override{
47 return new concepts::PListScan<BaseElement<Real> >(*elm_);
48 }
49
54 protected:
55 virtual std::ostream& info(std::ostream& os) const override;
56 private:
58 uint dim_;
60 uint nelm_;
63 };
64
65} // namespace hp1D
66
67#endif // hpAdaptiveSpaceL2_hh
uint nelm() const override
Returns the number of elements in the space.
Scan * scan() const override
Returns a scanner to iterate over the elements of the space.
hpAdaptiveSpaceL2(concepts::Mesh1 &msh, uint p)
uint dim() const override
Returns the dimension of the space.
virtual std::ostream & info(std::ostream &os) const override
Returns information in an output stream.