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
Namespaces | Functions
Interpolation1D.cc File Reference
#include <cstddef>
#include <gsl/gsl_interp.h>
#include <cassert>
#include "pism/util/Interpolation1D.hh"
#include "pism/util/error_handling.hh"

Go to the source code of this file.

Namespaces

namespace  pism
 

Functions

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