20 #ifndef _COLUMNINTERPOLATION_H_
21 #define _COLUMNINTERPOLATION_H_
30 const std::vector<double> &
z_fine);
32 void coarse_to_fine(
const double *input,
unsigned int ks,
double *result)
const;
36 std::vector<double>
coarse_to_fine(
const std::vector<double> &input,
unsigned int ks)
const;
37 std::vector<double>
fine_to_coarse(
const std::vector<double> &input)
const;
40 const std::vector<double>&
z_coarse()
const;
44 const std::vector<double>&
z_fine()
const;
void coarse_to_fine_quadratic(const double *input, unsigned int ks, double *result) const
std::vector< double > m_z_fine
std::vector< double > m_z_coarse
unsigned int Mz_fine() const
const std::vector< double > & z_coarse() const
void coarse_to_fine_linear(const double *input, unsigned int ks, double *result) const
std::vector< unsigned int > m_coarse2fine
std::vector< double > m_constants
void init_interpolation()
unsigned int Mz_coarse() const
std::vector< unsigned int > m_fine2coarse
void coarse_to_fine(const double *input, unsigned int ks, double *result) const
ColumnInterpolation(const std::vector< double > &z_coarse, const std::vector< double > &z_fine)
const std::vector< double > & z_fine() const
bool m_use_linear_interpolation
void fine_to_coarse(const double *input, double *result) const