explicit_mapmaking
 All Classes Files Pages
rhs_temp.hpp
Go to the documentation of this file.
1 
8 #ifndef EXPLICIT_MAPMAKING_RHS_TEMP_HPP
9 #define EXPLICIT_MAPMAKING_RHS_TEMP_HPP
10 
11 #include "rhs.hpp"
12 
13 namespace mapmaking {
14 // Squared matrix
15 class RHSTemp : public RHS {
16  public:
17  RHSTemp(const Matrix& matrix) : RHS(matrix) {}
18  RHSTemp(Grid* grid, DataManager* data_manager) :
19  RHS(grid, data_manager, data_manager->n_pixel()) {}
20 
21  private:
22  inline void UpdateRHS(const double& contrib, const CES& ces, const int t, std::vector<double>& rhs) {
23  rhs[ces.pixel(t)] += contrib;
24  }
25 };
26 }
27 
28 #endif // EXPLICIT_MAPMAKING_RHS_TEMP_HPP
Definition: data_manager.hpp:21
Definition: grid.hpp:16
Definition: atfa.hpp:18
Definition: rhs.hpp:15
Definition: rhs_temp.hpp:15
Definition: ces.hpp:34
Definition: matrix.hpp:22
Abstract class for the RHS matrix construction.