FV3 Bundle
interp.c File Reference
#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 cubic_spline_sp (int size1, int size2, const double *grid1, const double *grid2, const double *data1, double *data2)
 
void cubic_spline (int size1, int size2, const double *grid1, const double *grid2, const double *data1, double *data2, double yp1, double ypn)
 
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 linear_vertical_interp (int nx, int ny, int nk1, int nk2, const double *grid1, const double *grid2, double *data1, double *data2)
 

Function Documentation

◆ conserve_interp()

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 
)

Definition at line 256 of file interp.c.

Here is the call graph for this function:

◆ conserve_interp_great_circle()

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 
)

Definition at line 306 of file interp.c.

Here is the call graph for this function:

◆ cubic_spline()

void cubic_spline ( int  size1,
int  size2,
const double *  grid1,
const double *  grid2,
const double *  data1,
double *  data2,
double  yp1,
double  ypn 
)

Definition at line 170 of file interp.c.

Here is the call graph for this function:

◆ cubic_spline_sp()

void cubic_spline_sp ( int  size1,
int  size2,
const double *  grid1,
const double *  grid2,
const double *  data1,
double *  data2 
)

Definition at line 45 of file interp.c.

Here is the call graph for this function:

◆ linear_vertical_interp()

void linear_vertical_interp ( int  nx,
int  ny,
int  nk1,
int  nk2,
const double *  grid1,
const double *  grid2,
double *  data1,
double *  data2 
)

Definition at line 354 of file interp.c.

Here is the call graph for this function: