PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
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 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
 

Detailed Description

Definition at line 27 of file ColumnInterpolation.hh.


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