- Timestamp:
- 09/02/12 01:29:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp
r13216 r13220 17 17 18 18 /*InterpFromGridToMeshx{{{*/ 19 int InterpFromGridToMeshx( Vector<Issm Double>** 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, int interpenum){19 int InterpFromGridToMeshx( Vector<IssmPDouble>** 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, int interpenum){ 20 20 21 21 /*output: */ 22 Vector<Issm Double>* data_mesh=NULL;22 Vector<IssmPDouble>* data_mesh=NULL; 23 23 24 24 /*Intermediary*/ … … 47 47 48 48 /*Allocate output vector: */ 49 data_mesh=new Vector<Issm Double>(nods);49 data_mesh=new Vector<IssmPDouble>(nods); 50 50 51 51 /*Find out what kind of coordinates (x_in,y_in) have been given is input*/ … … 127 127 double *y = gate->y; 128 128 int nods = gate->nods; 129 Vector<Issm Double>*data_mesh = gate->data_mesh;129 Vector<IssmPDouble>*data_mesh = gate->data_mesh; 130 130 double *data = gate->data; 131 131 double default_value = gate->default_value; … … 181 181 return NULL; /*WARNING: no error because it would blow up the multithreading!*/ 182 182 } 183 if(xIsNan<Issm Double>(data_value)) data_value=default_value;183 if(xIsNan<IssmPDouble>(data_value)) data_value=default_value; 184 184 } 185 185 else{
Note:
See TracChangeset
for help on using the changeset viewer.