FMS  2024.03
Flexible Modeling System
interp.c File Reference

(f703b82972701a4e32a46d4d44a15f9fc2debb27)

Grid interpolation functions for use in mosaic_mod. More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "mosaic_util.h"
#include "interp.h"
#include "create_xgrid.h"
Include dependency graph for interp.c:

Go to the source code of this file.

Functions

void conserve_interp (int nx_src, int ny_src, int nx_dst, int ny_dst, const double *x_src, const double *y_src, const double *x_dst, const double *y_dst, const double *mask_src, const double *data_src, double *data_dst)
 
void conserve_interp_great_circle (int nx_src, int ny_src, int nx_dst, int ny_dst, const double *x_src, const double *y_src, const double *x_dst, const double *y_dst, const double *mask_src, const double *data_src, double *data_dst)
 
void cubic_spline (int size1, int size2, const double *grid1, const double *grid2, const double *data1, double *data2, double yp1, double ypn)
 
void cubic_spline_sp (int size1, int size2, const double *grid1, const double *grid2, const double *data1, double *data2)
 
void linear_vertical_interp (int nx, int ny, int nk1, int nk2, const double *grid1, const double *grid2, double *data1, double *data2)
 

Detailed Description

Grid interpolation functions for use in mosaic_mod.

Definition in file interp.c.