- Timestamp:
- 09/04/12 12:27:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/modules/InterpFromMeshToGrid/InterpFromMeshToGrid.cpp
r12518 r13236 5 5 #include "./InterpFromMeshToGrid.h" 6 6 7 void mexFunction( int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[]){ 7 void InterpFromMeshToGridUsage(void){/*{{{*/ 8 _pprintLine_("INTERPFROMMESHTOGRID - interpolation of a data defined on a mesh onto a grid"); 9 _pprintLine_(""); 10 _pprintLine_(" This function is a multi-threaded mex file that interpolates a field"); 11 _pprintLine_(" defined on a triangular mesh onto a regular grid"); 12 _pprintLine_(""); 13 _pprintLine_(" Usage:"); 14 _pprintLine_(" [x_m,y_m,griddata]=InterpFromMeshToGrid(index,x,y,data,xmin,ymax,xposting,yposting,nlines,ncols,default_value)"); 15 _pprintLine_(""); 16 _pprintLine_(" index,x,y: delaunay triangulation defining the mesh."); 17 _pprintLine_(" meshdata: vertex values of data to be interpolated."); 18 _pprintLine_(" xmin,ymax,posting,nlines,ncols: parameters that define the grid"); 19 _pprintLine_(" default_value: value of points located out of the mesh."); 20 _pprintLine_(""); 21 }/*}}}*/ 22 WRAPPER(InterpFromMeshToGrid){ 8 23 9 24 /*input datasets: */ … … 61 76 MODULEEND(); 62 77 } 63 64 void InterpFromMeshToGridUsage(void)65 {66 _pprintLine_("INTERPFROMMESHTOGRID - interpolation of a data defined on a mesh onto a grid");67 _pprintLine_("");68 _pprintLine_(" This function is a multi-threaded mex file that interpolates a field");69 _pprintLine_(" defined on a triangular mesh onto a regular grid");70 _pprintLine_("");71 _pprintLine_(" Usage:");72 _pprintLine_(" [x_m,y_m,griddata]=InterpFromMeshToGrid(index,x,y,data,xmin,ymax,xposting,yposting,nlines,ncols,default_value)");73 _pprintLine_("");74 _pprintLine_(" index,x,y: delaunay triangulation defining the mesh.");75 _pprintLine_(" meshdata: vertex values of data to be interpolated.");76 _pprintLine_(" xmin,ymax,posting,nlines,ncols: parameters that define the grid");77 _pprintLine_(" default_value: value of points located out of the mesh.");78 _pprintLine_("");79 }
Note:
See TracChangeset
for help on using the changeset viewer.