- Timestamp:
- 07/02/13 09:24:16 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 par 2 ad 3 proj-* 1 4 projects 2 5 autom4te.cache
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 14311,14313,14316-14506,14508-15387,15390-15392
- Property svn:ignore
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/wrappers/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp
r13236 r15396 5 5 6 6 void InterpFromMeshToMesh2dUsage(void){/*{{{*/ 7 _p printLine_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point");8 _p printLine_("");9 _p printLine_(" This function is a multi-threaded mex file that interpolates a field");10 _p printLine_(" defined on a Delaunay triangulation onto a list of point");11 _p printLine_("");12 _p printLine_(" Usage:");13 _p printLine_(" data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);");14 _p printLine_(" or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,OPTIONS);");15 _p printLine_("");16 _p printLine_(" index : index of the mesh where data is defined");17 _p printLine_(" x,y : coordinates of the nodes where data is defined");18 _p printLine_(" data : matrix holding the data to be interpolated onto the mesh. (one column per field)");19 _p printLine_(" x_interp,y_interp : coordinates of the points onto which we interpolate.");20 _p printLine_(" data_interp : vector of mesh interpolated data.");21 _p printLine_(" Available options :");22 _p printLine_(" - 'default' : default value if point is outsite of triangulation (instead of linear interolation)");23 _p printLine_("");24 _p printLine_(" Example:");25 _p printLine_(" load('temperature.mat');");26 _p printLine_(" md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);");27 _p printLine_(" md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,'default',253);");28 _p printLine_("");7 _printf0_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point\n"); 8 _printf0_("\n"); 9 _printf0_(" This function is a multi-threaded mex file that interpolates a field\n"); 10 _printf0_(" defined on a Delaunay triangulation onto a list of point\n"); 11 _printf0_("\n"); 12 _printf0_(" Usage:\n"); 13 _printf0_(" data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);\n"); 14 _printf0_(" or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,OPTIONS);\n"); 15 _printf0_("\n"); 16 _printf0_(" index : index of the mesh where data is defined\n"); 17 _printf0_(" x,y : coordinates of the nodes where data is defined\n"); 18 _printf0_(" data : matrix holding the data to be interpolated onto the mesh. (one column per field)\n"); 19 _printf0_(" x_interp,y_interp : coordinates of the points onto which we interpolate.\n"); 20 _printf0_(" data_interp : vector of mesh interpolated data.\n"); 21 _printf0_(" Available options :\n"); 22 _printf0_(" - 'default' : default value if point is outsite of triangulation (instead of linear interolation)\n"); 23 _printf0_("\n"); 24 _printf0_(" Example:\n"); 25 _printf0_(" load('temperature.mat');\n"); 26 _printf0_(" md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);\n"); 27 _printf0_(" md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,'default',253);\n"); 28 _printf0_("\n"); 29 29 }/*}}}*/ 30 30 WRAPPER(InterpFromMeshToMesh2d){
Note:
See TracChangeset
for help on using the changeset viewer.