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