- Timestamp:
- 06/22/12 17:05:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/modules/InterpFromGridToMesh/InterpFromGridToMesh.cpp
r12497 r12516 75 75 void InterpFromGridToMeshUsage(void) 76 76 { 77 _printf_(true,"INTERPFROMGRIDTOMESH - interpolation from a grid onto a list of points\n");78 _printf_(true,"\n");79 _printf_(true," This function is a multi-threaded mex file that interpolates a field\n");80 _printf_(true," defined on a grid onto a list of points\n");81 _printf_(true,"\n");82 _printf_(true," Usage:\n");83 _printf_(true," data_mesh=InterpFromGridToMesh(x,y,data,x_mesh,y_mesh,default_value);\n");84 _printf_(true,"\n");85 _printf_(true," data: matrix holding the data to be interpolated onto the mesh.\n");86 _printf_(true," x,y: coordinates of matrix data. (x and y must be in increasing order)\n");87 _printf_(true," x_mesh,y_mesh: coordinates of the points onto which we interpolate.\n");88 _printf_(true," default_value: default value if no data is found (holes).\n");89 _printf_(true," data_mesh: vector of mesh interpolated data.\n");90 _printf_(true,"\n");91 _printf_(true," Example:\n");92 _printf_(true," load('velocities.mat');\n");93 _printf_(true," md.inversion.vx_obs=InterpFromGridToMesh(x_n,y_m,vx,md.mesh.x,md.mesh.y,0);\n");94 _printf_(true,"\n");77 if(true) _pprintLine_("INTERPFROMGRIDTOMESH - interpolation from a grid onto a list of points"); 78 if(true) _pprintLine_(""); 79 if(true) _pprintLine_(" This function is a multi-threaded mex file that interpolates a field"); 80 if(true) _pprintLine_(" defined on a grid onto a list of points"); 81 if(true) _pprintLine_(""); 82 if(true) _pprintLine_(" Usage:"); 83 if(true) _pprintLine_(" data_mesh=InterpFromGridToMesh(x,y,data,x_mesh,y_mesh,default_value);"); 84 if(true) _pprintLine_(""); 85 if(true) _pprintLine_(" data: matrix holding the data to be interpolated onto the mesh."); 86 if(true) _pprintLine_(" x,y: coordinates of matrix data. (x and y must be in increasing order)"); 87 if(true) _pprintLine_(" x_mesh,y_mesh: coordinates of the points onto which we interpolate."); 88 if(true) _pprintLine_(" default_value: default value if no data is found (holes)."); 89 if(true) _pprintLine_(" data_mesh: vector of mesh interpolated data."); 90 if(true) _pprintLine_(""); 91 if(true) _pprintLine_(" Example:"); 92 if(true) _pprintLine_(" load('velocities.mat');"); 93 if(true) _pprintLine_(" md.inversion.vx_obs=InterpFromGridToMesh(x_n,y_m,vx,md.mesh.x,md.mesh.y,0);"); 94 if(true) _pprintLine_(""); 95 95 }
Note:
See TracChangeset
for help on using the changeset viewer.