PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Namespaces | Functions
interpolation.cc File Reference
#include <gsl/gsl_interp.h>
#include <cassert>
#include "pism/util/interpolation.hh"
#include "pism/util/error_handling.hh"

Go to the source code of this file.

Namespaces

 pism
 

Functions

static std::map< size_t, double > pism::weights_piecewise_constant (const double *x, size_t x_size, double a, double b)
 
static std::map< size_t, double > pism::weights_piecewise_linear (const double *x, size_t x_size, double a, double b)
 
std::map< size_t, double > pism::integration_weights (const double *x, size_t x_size, InterpolationType type, double a, double b)
 
std::map< size_t, double > pism::integration_weights (const std::vector< double > &x, InterpolationType type, double a, double b)