Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pism::ColumnInterpolation Class Reference

#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 k_max_result, double *result) const
 
void fine_to_coarse (const double *input, double *result) const
 
std::vector< doublecoarse_to_fine (const std::vector< double > &input, unsigned int k_max_result) const
 
std::vector< doublefine_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 k_max_result, double *result) const
 
void coarse_to_fine_quadratic (const double *input, unsigned int k_max_result, double *result) const
 

Private Attributes

std::vector< doublem_z_fine
 
std::vector< doublem_z_coarse
 
std::vector< doublem_constants
 
std::vector< unsigned intm_coarse2fine
 
std::vector< unsigned intm_fine2coarse
 
bool m_use_linear_interpolation
 

Detailed Description

Definition at line 27 of file ColumnInterpolation.hh.


The documentation for this class was generated from the following files: