6#ifndef aglowav2Space_hh
7#define aglowav2Space_hh
28 template<
class F = concepts::Real>
41 template<
class F = concepts::Real>
47 virtual void skip(uint lvl) = 0;
55 template<
class F = concepts::Real>
62 virtual uint
nlvl()
const = 0;
77 template<
class F = concepts::Real>
97 inline bool eos()
const {
return sptr_[0] ? 0 : 1;}
114 template<
class F = concepts::Real>
134 inline bool eos()
const {
return sptr_[0] ? 0 : 1;}
152 template<
class F = concepts::Real>
166 inline uint
dim()
const {
return dim_;}
168 inline uint
nelm()
const {
return nelm_;}
170 inline uint
nlvl()
const {
return nlvl_;}
172 inline uint
d()
const {
return d_;}
191 std::ostream&
info(std::ostream& os)
const;
267 static const uint MAXLOCDIM_;
289 os <<
"aglowav2::" <<
concepts::typeOf(*
this)<<
"(dim=" << dim_ <<
", maxLocDim=" << maxLocDim_;
290 os <<
", nlvl=" << nlvl_ <<
", nelm=" << nelm_ <<
", d=" << d_ <<
')';
bool eos() const
End of scan.
Haar3d0BFSScan< F > * clone() const
New scanner.
~Haar3d0BFSScan()
Destructor.
Haar3d000< F > & operator++(int)
Next element.
Haar3d0BFSScan(Haar3d000< F > *elm, uint ht)
void skip(uint lvl)
Skips the levels of the subtree.
Haar3d0BFSScan(const Haar3d0BFSScan< F > &sc)
Copy constructor.
Haar3d000< F > & operator++(int)
Next element.
Haar3d0DFSScan(Haar3d000< F > *elm, uint ht)
Haar3d0DFSScan< F > * clone() const
New scanner.
bool eos() const
End of scan.
Haar3d0DFSScan(const Haar3d0DFSScan< F > &sc)
Copy constructor.
~Haar3d0DFSScan()
Destructor.
uint d() const
Order of vanishing moments.
virtual ~Haar3d0()
Destructor.
Haar3d0(cluster::Tree< cluster::Cluster< F > > &tree, uint d=0)
concepts::Real size() const
Smallest size of a cell.
Haar3d0BFSScan< F > * scan() const
Scanner (same as bfsscan())
const concepts::Space< F > & space() const
One scale space.
uint nelm() const
Number of elements.
Haar3d0BFSScan< F > * bfsscan() const
Scanner ("breadth" first search (1. parent, 2. children))
Haar3d0DFSScan< F > * dfsscan() const
Scanner (depth first search (1. children, 2. parent))
uint dim() const
Dimension of the space.
uint nlvl() const
Maximal number of levels.
uint sumLocDim() const
Sum of the local dimensions.
std::ostream & info(std::ostream &os) const
Information about the space.
uint maxLocDim() const
Maximal local dimension.
virtual Haar3dXXX< F > & operator++(int)=0
Next element.
virtual void skip(uint lvl)=0
Skips the levels of the subtree.
virtual Haar3dXXX< F > & operator++(int)=0
Next element.
virtual ~Haar3d()
Destructor.
virtual Haar3dBFSScan< F > * bfsscan() const =0
Scanner ("breadth" first search (1. parent, 2. children))
virtual uint maxLocDim() const =0
Maximal number of children of an element.
virtual Haar3dDFSScan< F > * dfsscan() const =0
Scanner (depth first search (1. children, 2. parent))
virtual uint nlvl() const =0
Maximal number of levels.
std::string typeOf(const T &t)