Changeset 2286
- Timestamp:
- 09/23/09 14:25:11 (15 years ago)
- Location:
- issm/trunk/src/c/InterpFromGridToMeshx
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp
r2285 r2286 1 /*!\file: InterpFromGrid x.cpp1 /*!\file: InterpFromGridToMeshx.cpp 2 2 * \brief "c" core code for interpolating values from a structured grid. 3 3 */ 4 4 5 #include "./InterpFromGrid x.h"5 #include "./InterpFromGridToMeshx.h" 6 6 #include "../shared/shared.h" 7 7 8 8 #undef __FUNCT__ 9 #define __FUNCT__ "InterpFromGrid x"9 #define __FUNCT__ "InterpFromGridToMeshx" 10 10 11 11 int findindices(int* pm,int* pn,double* x,int x_rows, double* y,int y_rows, double xgrid,double ygrid); 12 12 13 int InterpFromGrid x( Vec* pdata_mesh,double* x_in, int x_rows, double* y_in, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods,double default_value) {13 int InterpFromGridToMeshx( Vec* pdata_mesh,double* x_in, int x_rows, double* y_in, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods,double default_value) { 14 14 15 15 -
issm/trunk/src/c/InterpFromGridToMeshx/InterpFromGridToMeshx.h
r2285 r2286 1 /*!\file InterpFromGrid x.h1 /*!\file InterpFromGridToMeshx.h 2 2 * \brief: header file for Data interpolation routines. 3 3 */ 4 4 5 #ifndef _INTERPFROMGRID X_H6 #define _INTERPFROMGRID X_H5 #ifndef _INTERPFROMGRIDTOMESHX_H 6 #define _INTERPFROMGRIDTOMESHX_H 7 7 8 8 #include "../toolkits/toolkits.h" 9 9 10 int InterpFromGrid x( Vec* pdata_mesh,double* x, int x_rows, double* y, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods, double default_value);10 int InterpFromGridToMeshx( Vec* pdata_mesh,double* x, int x_rows, double* y, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods, double default_value); 11 11 12 #endif /* _INTERPFROMGRID X_H */12 #endif /* _INTERPFROMGRIDTOMESHX_H */ 13 13
Note:
See TracChangeset
for help on using the changeset viewer.