PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
#include <ColumnInterpolation.hh>
Public Member Functions | |
ColumnInterpolation (const std::vector< double > &z_coarse, const std::vector< double > &z_fine) | |
void | coarse_to_fine (const double *input, unsigned int ks, double *result) const |
void | fine_to_coarse (const double *input, double *result) const |
std::vector< double > | coarse_to_fine (const std::vector< double > &input, unsigned int ks) const |
std::vector< double > | fine_to_coarse (const std::vector< double > &input) const |
unsigned int | Mz_coarse () const |
const std::vector< double > & | z_coarse () const |
unsigned int | Mz_fine () const |
double | dz_fine () const |
const std::vector< double > & | z_fine () const |
Private Member Functions | |
void | init_interpolation () |
void | coarse_to_fine_linear (const double *input, unsigned int ks, double *result) const |
void | coarse_to_fine_quadratic (const double *input, unsigned int ks, double *result) const |
Private Attributes | |
std::vector< double > | m_z_fine |
std::vector< double > | m_z_coarse |
std::vector< double > | m_constants |
std::vector< unsigned int > | m_coarse2fine |
std::vector< unsigned int > | m_fine2coarse |
bool | m_use_linear_interpolation |
Definition at line 27 of file ColumnInterpolation.hh.