explicit_mapmaking
 All Classes Files Pages
rhs.hpp
Go to the documentation of this file.
1 
8 #ifndef EXPLICIT_MAPMAKING_RHS_HPP
9 #define EXPLICIT_MAPMAKING_RHS_HPP
10 
11 #include "data_manager.hpp"
12 #include "matrix.hpp"
13 
14 namespace mapmaking {
15 class RHS : public Matrix {
16  public:
17  RHS() {}
18  RHS(Grid* grid, DataManager* data_manager, int rhs_side) : data_manager_(data_manager),
19  Matrix(grid, rhs_side, 1) {}
20  RHS(const Matrix& matrix) : Matrix(matrix) {}
21 
22  void ComputeRHS();
23  //RHS& operator=(const Matrix& matrix);
24 
25  private:
26  DataManager* data_manager_ = NULL; //TODO getter with NULL check
27  virtual void UpdateRHS(const double& contrib, const CES& ces, const int t, std::vector<double>& rhs) = 0;
28 
29 };
30 }
31 
32 #endif // EXPLICIT_MAPMAKING_RHS_HPP
Definition: data_manager.hpp:21
Distributed matrix (see scalapack)
Definition: grid.hpp:16
Definition: atfa.hpp:18
Definition: rhs.hpp:15
Definition: ces.hpp:34
Definition: matrix.hpp:22
Data Handler.