6#ifndef aglowav2Operator_hh
7#define aglowav2Operator_hh
24 template<
class F = concepts::Real>
39 return (*
this)(elmXA, elmYA);
49 template<
class F = concepts::Real>
65 template<
class F = concepts::Real>
90 template<
class F = concepts::Real>
117 const F*
diag()
const {
return diag_;}
123 uint maxMemory()
const {
return maxmem_;}
126 void pattern(std::ostream& os, uint nr)
const;
140 std::ostream&
info(std::ostream& os)
const;
150 Pattern() : index(0), length(0) {}
160 Matrix() : valuation(0) {}
173 void compress_(uint dim, uint idx, F valbuf[], uint nval,
174 Pattern patbuf[], uint npat);
177 const Haar3d0<F>& spc_;
bool operator()(const Haar3dXXX< F > &elmX, const Haar3dXXX< F > &elmY) const
Application operator. Returns true if matrix entry essential.
bool operator()(const Haar3dXXX< F > &elmX, const Haar3dXXX< F > &elmY) const
Application operator. Returns true if matrix entry essential.
virtual bool operator()(const Haar3dXXX< F > &elmX, const Haar3dXXX< F > &elmY) const =0
Application operator. Returns true if matrix entry essential.
const F * diag() const
Returns the diagonal of the stiffness matrix (for preconditioning)
std::ostream & info(std::ostream &os) const
Some information about the operator.
uint memory() const
Returns the memory used by the operator.
void pattern(std::ostream &os, uint nr) const
Writes sparsity pattern to str (Matlab format)
const concepts::Space< F > & spaceY() const
Returns the source space of the operator.
void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
void uncompress(std::ostream &os, uint nr) const
Writes matrix to os in the Matlab sparse matrix format.
void uncompressL(std::ostream &os, uint nr) const
const concepts::Space< F > & spaceX() const
Returns the image space of the operator.
Operator00(AglowavBF00< F > &bf, const Haar3d0< F > &spc, const Delta< F > &delta)
void patternL(std::ostream &os, uint nr) const
virtual void operator()()