Changeset 12518


Ignore:
Timestamp:
06/22/12 17:26:51 (13 years ago)
Author:
Mathieu Morlighem
Message:

cosmetics

Location:
issm/trunk-jpl/src/modules
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/modules/BamgConvertMesh/BamgConvertMesh.cpp

    r12517 r12518  
    7777void BamgConvertMeshUsage(void)
    7878{
    79         if(true) _pprintString_("BAMGCONVERTMESH - convert [x y index] to a bamg geom and mesh geom");
    80         if(true) _pprintLine_("");
    81         if(true) _pprintLine_("   Usage:");
    82         if(true) _pprintLine_("      [bamggeom bamgmesh]=BamgConvertMesh(index,x,y);");
    83         if(true) _pprintLine_("      index: index of the mesh");
    84         if(true) _pprintLine_("      x,y: coordinates of the nodes");
    85         if(true) _pprintLine_("");
     79        _pprintString_("BAMGCONVERTMESH - convert [x y index] to a bamg geom and mesh geom");
     80        _pprintLine_("");
     81        _pprintLine_("   Usage:");
     82        _pprintLine_("      [bamggeom bamgmesh]=BamgConvertMesh(index,x,y);");
     83        _pprintLine_("      index: index of the mesh");
     84        _pprintLine_("      x,y: coordinates of the nodes");
     85        _pprintLine_("");
    8686}
  • issm/trunk-jpl/src/modules/BamgMesher/BamgMesher.cpp

    r12516 r12518  
    5151
    5252void BamgMesherUsage(void){
    53         if(true) _pprintLine_("");
    54         if(true) _pprintLine_("   usage: [bamgmesh,bamggeom]=" << __FUNCT__ << "(bamgmesh,bamggeom,bamgoptions);");
    55         if(true) _pprintLine_("");
     53        _pprintLine_("");
     54        _pprintLine_("   usage: [bamgmesh,bamggeom]=" << __FUNCT__ << "(bamgmesh,bamggeom,bamgoptions);");
     55        _pprintLine_("");
    5656}
  • issm/trunk-jpl/src/modules/BamgTriangulate/BamgTriangulate.cpp

    r12517 r12518  
    4949void BamgTriangulateUsage(void)
    5050{
    51         if(true) _pprintString_("BAMGTRIANGULATE - Delaunay Triangulation of a list of points");
    52         if(true) _pprintLine_("");
    53         if(true) _pprintLine_("   Usage:");
    54         if(true) _pprintLine_("      index=BamgTriangulate(x,y);");
    55         if(true) _pprintLine_("      index: index of the triangulation");
    56         if(true) _pprintLine_("      x,y: coordinates of the nodes");
    57         if(true) _pprintLine_("");
     51        _pprintString_("BAMGTRIANGULATE - Delaunay Triangulation of a list of points");
     52        _pprintLine_("");
     53        _pprintLine_("   Usage:");
     54        _pprintLine_("      index=BamgTriangulate(x,y);");
     55        _pprintLine_("      index: index of the triangulation");
     56        _pprintLine_("      x,y: coordinates of the nodes");
     57        _pprintLine_("");
    5858}
  • issm/trunk-jpl/src/modules/Chaco/Chaco.cpp

    r12517 r12518  
    132132
    133133void ChacoUsage(void){
    134         if(true) _pprintLine_("");
    135         if(true) _pprintLine_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);");
    136         if(true) _pprintLine_("");
     134        _pprintLine_("");
     135        _pprintLine_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);");
     136        _pprintLine_("");
    137137}
  • issm/trunk-jpl/src/modules/ElementConnectivity/ElementConnectivity.cpp

    r12516 r12518  
    3737
    3838void ElementConnectivityUsage(void) {
    39         if(true) _pprintLine_("");
    40         if(true) _pprintLine_("   usage: elementconnectivity = " << __FUNCT__ << "(elements, nodeconnectivity);");
    41         if(true) _pprintLine_("");
     39        _pprintLine_("");
     40        _pprintLine_("   usage: elementconnectivity = " << __FUNCT__ << "(elements, nodeconnectivity);");
     41        _pprintLine_("");
    4242}
  • issm/trunk-jpl/src/modules/EnumToString/EnumToString.cpp

    r12516 r12518  
    2727void EnumToStringUsage(void)
    2828{
    29         if(true) _pprintLine_("");
    30         if(true) _pprintLine_("   usage: " << __FUNCT__ << "string = EnumToString(enum);");
    31         if(true) _pprintLine_("");
     29        _pprintLine_("");
     30        _pprintLine_("   usage: " << __FUNCT__ << "string = EnumToString(enum);");
     31        _pprintLine_("");
    3232}
  • issm/trunk-jpl/src/modules/Exp2Kml/Exp2Kml.cpp

    r12517 r12518  
    7373
    7474void Exp2KmlUsage(void){
    75         if(true) _pprintLine_("Exp2Kml - exp to kml file conversion module:");
    76         if(true) _pprintLine_("");
    77         if(true) _pprintLine_("   This module converts a file from exp to kml format.");
    78         if(true) _pprintLine_("");
    79         if(true) _pprintLine_("   Usage:");
    80         if(true) _pprintLine_("      [ret]=Exp2Kml(filexp,filkml,sgn,'param name',param,...);");
    81         if(true) _pprintLine_("");
    82         if(true) _pprintLine_("      filexp      file name of exp file to be read (char)");
    83         if(true) _pprintLine_("      filkml      file name of kml file to be written (char)");
    84         if(true) _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    85         if(true) _pprintLine_("");
    86         if(true) _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    87         if(true) _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    88         if(true) _pprintLine_("      holes       flag for treatment of multiple profiles (char, optional, 'yes' for holes))");
    89         if(true) _pprintLine_("");
    90         if(true) _pprintLine_("      ret         return code (non-zero for warning)");
    91         if(true) _pprintLine_("");
    92         if(true) _pprintLine_("   Examples:");
    93         if(true) _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml', 1);");
    94         if(true) _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes','yes');");
    95         if(true) _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes','yes');");
    96         if(true) _pprintLine_("");
     75        _pprintLine_("Exp2Kml - exp to kml file conversion module:");
     76        _pprintLine_("");
     77        _pprintLine_("   This module converts a file from exp to kml format.");
     78        _pprintLine_("");
     79        _pprintLine_("   Usage:");
     80        _pprintLine_("      [ret]=Exp2Kml(filexp,filkml,sgn,'param name',param,...);");
     81        _pprintLine_("");
     82        _pprintLine_("      filexp      file name of exp file to be read (char)");
     83        _pprintLine_("      filkml      file name of kml file to be written (char)");
     84        _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
     85        _pprintLine_("");
     86        _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
     87        _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
     88        _pprintLine_("      holes       flag for treatment of multiple profiles (char, optional, 'yes' for holes))");
     89        _pprintLine_("");
     90        _pprintLine_("      ret         return code (non-zero for warning)");
     91        _pprintLine_("");
     92        _pprintLine_("   Examples:");
     93        _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml', 1);");
     94        _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes','yes');");
     95        _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes','yes');");
     96        _pprintLine_("");
    9797}
    9898
  • issm/trunk-jpl/src/modules/InternalFront/InternalFront.cpp

    r12516 r12518  
    9494
    9595void InternalFrontUsage(void) {
    96         if(true) _pprintLine_("");
    97         if(true) _pprintLine_("   usage: icefront = " << __FUNCT__ << "(md);");
    98         if(true) _pprintLine_("");
     96        _pprintLine_("");
     97        _pprintLine_("   usage: icefront = " << __FUNCT__ << "(md);");
     98        _pprintLine_("");
    9999}
  • issm/trunk-jpl/src/modules/InterpFromGridToMesh/InterpFromGridToMesh.cpp

    r12516 r12518  
    7575void InterpFromGridToMeshUsage(void)
    7676{
    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_("");
     77        _pprintLine_("INTERPFROMGRIDTOMESH - interpolation from a grid onto a list of points");
     78        _pprintLine_("");
     79        _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
     80        _pprintLine_("   defined on a grid onto a list of points");
     81        _pprintLine_("");
     82        _pprintLine_("   Usage:");
     83        _pprintLine_("      data_mesh=InterpFromGridToMesh(x,y,data,x_mesh,y_mesh,default_value);");
     84        _pprintLine_("");
     85        _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh.");
     86        _pprintLine_("      x,y: coordinates of matrix data. (x and y must be in increasing order)");
     87        _pprintLine_("      x_mesh,y_mesh: coordinates of the points onto which we interpolate.");
     88        _pprintLine_("      default_value: default value if no data is found (holes).");
     89        _pprintLine_("      data_mesh: vector of mesh interpolated data.");
     90        _pprintLine_("");
     91        _pprintLine_("   Example:");
     92        _pprintLine_("      load('velocities.mat');");
     93        _pprintLine_("      md.inversion.vx_obs=InterpFromGridToMesh(x_n,y_m,vx,md.mesh.x,md.mesh.y,0);");
     94        _pprintLine_("");
    9595}
  • issm/trunk-jpl/src/modules/InterpFromMesh2d/InterpFromMesh2d.cpp

    r12517 r12518  
    154154void InterpFromMesh2dUsage(void)
    155155{
    156         if(true) _pprintLine_("   usage:");
    157         if(true) _pprintLine_("         data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime);\n");
    158         if(true) _pprintLine_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value);\n");
    159         if(true) _pprintLine_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value,contourname);\n");
    160         if(true) _pprintLine_("   where:");
    161         if(true) _pprintLine_("      x,y: coordinates of the nodes where data is defined");
    162         if(true) _pprintLine_("      index: index of the mesh where data is defined");
    163         if(true) _pprintLine_("      data - vector holding the data to be interpolated onto the points.");
    164         if(true) _pprintLine_("      x_prime,y_prime: coordinates of the mesh vertices onto which we interpolate.");
    165         if(true) _pprintLine_("      default_value: a scalar or vector of size length(x_prime).");
    166         if(true) _pprintLine_("      contourname: linear interpolation will happen on all x_interp,y_interp inside the contour, default value will be adopted on the rest of the mesh.");
    167         if(true) _pprintLine_("      data_prime:  vector of prime interpolated data.");
    168         if(true) _pprintLine_("");
     156        _pprintLine_("   usage:");
     157        _pprintLine_("         data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime);\n");
     158        _pprintLine_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value);\n");
     159        _pprintLine_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value,contourname);\n");
     160        _pprintLine_("   where:");
     161        _pprintLine_("      x,y: coordinates of the nodes where data is defined");
     162        _pprintLine_("      index: index of the mesh where data is defined");
     163        _pprintLine_("      data - vector holding the data to be interpolated onto the points.");
     164        _pprintLine_("      x_prime,y_prime: coordinates of the mesh vertices onto which we interpolate.");
     165        _pprintLine_("      default_value: a scalar or vector of size length(x_prime).");
     166        _pprintLine_("      contourname: linear interpolation will happen on all x_interp,y_interp inside the contour, default value will be adopted on the rest of the mesh.");
     167        _pprintLine_("      data_prime:  vector of prime interpolated data.");
     168        _pprintLine_("");
    169169}
  • issm/trunk-jpl/src/modules/InterpFromMeshToGrid/InterpFromMeshToGrid.cpp

    r12516 r12518  
    6464void InterpFromMeshToGridUsage(void)
    6565{
    66         if(true) _pprintLine_("INTERPFROMMESHTOGRID - interpolation of a data defined on a mesh onto a grid");
    67         if(true) _pprintLine_("");
    68         if(true) _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    69         if(true) _pprintLine_("   defined on a triangular mesh onto a regular grid");
    70         if(true) _pprintLine_("");
    71         if(true) _pprintLine_("   Usage:");
    72         if(true) _pprintLine_("      [x_m,y_m,griddata]=InterpFromMeshToGrid(index,x,y,data,xmin,ymax,xposting,yposting,nlines,ncols,default_value)");
    73         if(true) _pprintLine_("");
    74         if(true) _pprintLine_("      index,x,y: delaunay triangulation defining the mesh.");
    75         if(true) _pprintLine_("      meshdata: vertex values of data to be interpolated.");
    76         if(true) _pprintLine_("      xmin,ymax,posting,nlines,ncols: parameters that define the grid");
    77         if(true) _pprintLine_("      default_value: value of points located out of the mesh.");
    78         if(true) _pprintLine_("");
     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_("");
    7979}
  • issm/trunk-jpl/src/modules/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp

    r12516 r12518  
    9393
    9494{
    95         if(true) _pprintLine_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point");
    96         if(true) _pprintLine_("");
    97         if(true) _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    98         if(true) _pprintLine_("   defined on a triangular mesh onto a list of point");
    99         if(true) _pprintLine_("");
    100         if(true) _pprintLine_("   Usage:");
    101         if(true) _pprintLine_("         data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);");
    102         if(true) _pprintLine_("      or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,default_value,contourname);");
    103         if(true) _pprintLine_("");
    104         if(true) _pprintLine_("      index: index of the mesh where data is defined");
    105         if(true) _pprintLine_("      x,y: coordinates of the nodes where data is defined");
    106         if(true) _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh. (one column per field)");
    107         if(true) _pprintLine_("      x_interp,y_interp: coordinates of the points onto which we interpolate.");
    108         if(true) _pprintLine_("      if default_value and contourname not specified: linear interpolation will happen on all x_interp,y_interp.");
    109         if(true) _pprintLine_("      if (default_value,contourname) specified: linear interpolation will happen on all x_interp,y_interp inside the contour, default value will be adopted on the rest of the mesh.");
    110         if(true) _pprintLine_("      note that default_value is either a scalar, or a vector of size  length(x_interp)");
    111         if(true) _pprintLine_("      data_interp: vector of mesh interpolated data.");
    112         if(true) _pprintLine_("");
    113         if(true) _pprintLine_("   Example:");
    114         if(true) _pprintLine_("      load('temperature.mat');");
    115         if(true) _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);");
    116         if(true) _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,253,'Contour.exp');");
    117         if(true) _pprintLine_("");
     95        _pprintLine_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point");
     96        _pprintLine_("");
     97        _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
     98        _pprintLine_("   defined on a triangular mesh onto a list of point");
     99        _pprintLine_("");
     100        _pprintLine_("   Usage:");
     101        _pprintLine_("         data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);");
     102        _pprintLine_("      or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,default_value,contourname);");
     103        _pprintLine_("");
     104        _pprintLine_("      index: index of the mesh where data is defined");
     105        _pprintLine_("      x,y: coordinates of the nodes where data is defined");
     106        _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh. (one column per field)");
     107        _pprintLine_("      x_interp,y_interp: coordinates of the points onto which we interpolate.");
     108        _pprintLine_("      if default_value and contourname not specified: linear interpolation will happen on all x_interp,y_interp.");
     109        _pprintLine_("      if (default_value,contourname) specified: linear interpolation will happen on all x_interp,y_interp inside the contour, default value will be adopted on the rest of the mesh.");
     110        _pprintLine_("      note that default_value is either a scalar, or a vector of size  length(x_interp)");
     111        _pprintLine_("      data_interp: vector of mesh interpolated data.");
     112        _pprintLine_("");
     113        _pprintLine_("   Example:");
     114        _pprintLine_("      load('temperature.mat');");
     115        _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);");
     116        _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,253,'Contour.exp');");
     117        _pprintLine_("");
    118118}
    119119//}}}
  • issm/trunk-jpl/src/modules/InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp

    r12516 r12518  
    9898void InterpFromMeshToMesh3dUsage(void)
    9999{
    100         if(true) _pprintLine_("INTERPFROMMESHTOMESH3D - interpolation from a 3d hexahedron mesh onto a list of point");
    101         if(true) _pprintLine_("");
    102         if(true) _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    103         if(true) _pprintLine_("   defined on a triangular mesh onto a list of point");
    104         if(true) _pprintLine_("");
    105         if(true) _pprintLine_("   Usage:");
    106         if(true) _pprintLine_("      data_prime=InterpFromMeshToMesh3d(index,x,y,z,data,x_prime,y_prime,z_prime,default_value);");
    107         if(true) _pprintLine_("");
    108         if(true) _pprintLine_("      index: index of the mesh where data is defined");
    109         if(true) _pprintLine_("      x,y,z: coordinates of the nodes where data is defined");
    110         if(true) _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh.");
    111         if(true) _pprintLine_("      x_prime,y_prime,z_prime: coordinates of the points onto which we interpolate.");
    112         if(true) _pprintLine_("      default_value: default value if no data is found (holes).");
    113         if(true) _pprintLine_("      data_prime: vector of mesh interpolated data.");
    114         if(true) _pprintLine_("");
    115         if(true) _pprintLine_("   Example:");
    116         if(true) _pprintLine_("      load('temperature.mat');");
    117         if(true) _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh3d(index,x,y,z,temperature,md.mesh.x,md.mesh.y,md.mesh.z,253);");
    118         if(true) _pprintLine_("");
     100        _pprintLine_("INTERPFROMMESHTOMESH3D - interpolation from a 3d hexahedron mesh onto a list of point");
     101        _pprintLine_("");
     102        _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
     103        _pprintLine_("   defined on a triangular mesh onto a list of point");
     104        _pprintLine_("");
     105        _pprintLine_("   Usage:");
     106        _pprintLine_("      data_prime=InterpFromMeshToMesh3d(index,x,y,z,data,x_prime,y_prime,z_prime,default_value);");
     107        _pprintLine_("");
     108        _pprintLine_("      index: index of the mesh where data is defined");
     109        _pprintLine_("      x,y,z: coordinates of the nodes where data is defined");
     110        _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh.");
     111        _pprintLine_("      x_prime,y_prime,z_prime: coordinates of the points onto which we interpolate.");
     112        _pprintLine_("      default_value: default value if no data is found (holes).");
     113        _pprintLine_("      data_prime: vector of mesh interpolated data.");
     114        _pprintLine_("");
     115        _pprintLine_("   Example:");
     116        _pprintLine_("      load('temperature.mat');");
     117        _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh3d(index,x,y,z,temperature,md.mesh.x,md.mesh.y,md.mesh.z,253);");
     118        _pprintLine_("");
    119119}
  • issm/trunk-jpl/src/modules/KMLFileRead/KMLFileRead.cpp

    r12517 r12518  
    107107
    108108void KMLFileReadUsage(void){
    109         if(true) _pprintLine_("KMLFileRead - KML file reader module:");
    110         if(true) _pprintLine_("");
    111         if(true) _pprintLine_("   This module reads a KML file.");
    112         if(true) _pprintLine_("");
    113         if(true) _pprintLine_("   Usage:");
    114         if(true) _pprintLine_("      [ierror]=KMLFileRead(kmlfile,'param name',param,...);");
    115         if(true) _pprintLine_("");
    116         if(true) _pprintLine_("      kmlfile      file name of kml file to be read (char)");
    117         if(true) _pprintLine_("");
    118         if(true) _pprintLine_("      echo         echo command (char, optional, 'off'/'on')");
    119         if(true) _pprintLine_("      deepecho     deep echo command (char, optional, 'off'/'on')");
    120         if(true) _pprintLine_("      write        write command (char, optional, 'off'/'stdout'/kmlfile)");
    121         if(true) _pprintLine_("");
    122         if(true) _pprintLine_("      ierror       return code (non-zero for error)");
    123         if(true) _pprintLine_("");
    124         if(true) _pprintLine_("   Examples:");
    125         if(true) _pprintLine_("      [ierror]=KMLFileRead('file.kml','deepecho','on');");
    126         if(true) _pprintLine_("      [ierror]=KMLFileRead('filin.kml','echo','on','write','filout.kml');");
    127         if(true) _pprintLine_("");
     109        _pprintLine_("KMLFileRead - KML file reader module:");
     110        _pprintLine_("");
     111        _pprintLine_("   This module reads a KML file.");
     112        _pprintLine_("");
     113        _pprintLine_("   Usage:");
     114        _pprintLine_("      [ierror]=KMLFileRead(kmlfile,'param name',param,...);");
     115        _pprintLine_("");
     116        _pprintLine_("      kmlfile      file name of kml file to be read (char)");
     117        _pprintLine_("");
     118        _pprintLine_("      echo         echo command (char, optional, 'off'/'on')");
     119        _pprintLine_("      deepecho     deep echo command (char, optional, 'off'/'on')");
     120        _pprintLine_("      write        write command (char, optional, 'off'/'stdout'/kmlfile)");
     121        _pprintLine_("");
     122        _pprintLine_("      ierror       return code (non-zero for error)");
     123        _pprintLine_("");
     124        _pprintLine_("   Examples:");
     125        _pprintLine_("      [ierror]=KMLFileRead('file.kml','deepecho','on');");
     126        _pprintLine_("      [ierror]=KMLFileRead('filin.kml','echo','on','write','filout.kml');");
     127        _pprintLine_("");
    128128}
    129129
  • issm/trunk-jpl/src/modules/KMLMeshWrite/KMLMeshWrite.cpp

    r12516 r12518  
    118118
    119119void KMLMeshWriteUsage(void){
    120         if(true) _pprintLine_("KMLMeshWrite - KML mesh writer module:");
    121         if(true) _pprintLine_("");
    122         if(true) _pprintLine_("   This module writes the mesh of a model as KML polygons into the specified KML file.");
    123         if(true) _pprintLine_("");
    124         if(true) _pprintLine_("   Usage:");
    125         if(true) _pprintLine_("      ierror=KMLMeshWrite(name,notes,elem,nodecon,lat,long,part,data,cmap,kmlfile);");
    126         if(true) _pprintLine_("");
    127         if(true) _pprintLine_("      name       model name (string, may be empty)");
    128         if(true) _pprintLine_("      notes      model notes (string or cell array of strings, may be empty)");
    129         if(true) _pprintLine_("      elem       elements (double array)");
    130         if(true) _pprintLine_("      nodecon    nodal connectivity array (double array, may be empty)");
    131         if(true) _pprintLine_("      lat        nodal latititudes (double vector)");
    132         if(true) _pprintLine_("      long       nodal longitudes (double vector)");
    133         if(true) _pprintLine_("      part       nodal partitions (double vector, may be empty)");
    134         if(true) _pprintLine_("      data       nodal or element data (double vector, may be empty)");
    135         if(true) _pprintLine_("      cmap       color map (double nx3 array, may be empty)");
    136         if(true) _pprintLine_("      kmlfile    KML file name (string)");
    137         if(true) _pprintLine_("");
    138         if(true) _pprintLine_("      ierror     error flag (double, non-zero for error)");
    139         if(true) _pprintLine_("");
    140         if(true) _pprintLine_("   Example:");
    141         if(true) _pprintLine_("      KMLMeshWrite(md.name,md.notes,md.elements,md.nodeconnectivity,md.lat,md.long,md.part,md.fm_criterion,options.cmap,filekml);");
    142         if(true) _pprintLine_("");
     120        _pprintLine_("KMLMeshWrite - KML mesh writer module:");
     121        _pprintLine_("");
     122        _pprintLine_("   This module writes the mesh of a model as KML polygons into the specified KML file.");
     123        _pprintLine_("");
     124        _pprintLine_("   Usage:");
     125        _pprintLine_("      ierror=KMLMeshWrite(name,notes,elem,nodecon,lat,long,part,data,cmap,kmlfile);");
     126        _pprintLine_("");
     127        _pprintLine_("      name       model name (string, may be empty)");
     128        _pprintLine_("      notes      model notes (string or cell array of strings, may be empty)");
     129        _pprintLine_("      elem       elements (double array)");
     130        _pprintLine_("      nodecon    nodal connectivity array (double array, may be empty)");
     131        _pprintLine_("      lat        nodal latititudes (double vector)");
     132        _pprintLine_("      long       nodal longitudes (double vector)");
     133        _pprintLine_("      part       nodal partitions (double vector, may be empty)");
     134        _pprintLine_("      data       nodal or element data (double vector, may be empty)");
     135        _pprintLine_("      cmap       color map (double nx3 array, may be empty)");
     136        _pprintLine_("      kmlfile    KML file name (string)");
     137        _pprintLine_("");
     138        _pprintLine_("      ierror     error flag (double, non-zero for error)");
     139        _pprintLine_("");
     140        _pprintLine_("   Example:");
     141        _pprintLine_("      KMLMeshWrite(md.name,md.notes,md.elements,md.nodeconnectivity,md.lat,md.long,md.part,md.fm_criterion,options.cmap,filekml);");
     142        _pprintLine_("");
    143143}
  • issm/trunk-jpl/src/modules/KMLOverlay/KMLOverlay.cpp

    r12517 r12518  
    113113
    114114void KMLOverlayUsage(void){
    115         if(true) _pprintLine_("KMLOverlay - KML file overlay module:");
    116         if(true) _pprintLine_("");
    117         if(true) _pprintLine_("   This module reads a list of image files and writes a KML or KMZ overlay file.");
    118         if(true) _pprintLine_("");
    119         if(true) _pprintLine_("   Usage:");
    120         if(true) _pprintLine_("      ierror=KMLOverlay(kmlfile,'param name',param,...);");
    121         if(true) _pprintLine_("");
    122         if(true) _pprintLine_("      kmlfile     KML or KMZ file name (string)");
    123         if(true) _pprintLine_("");
    124         if(true) _pprintLine_("      lataxis     latitude axis (double vector [south north], required)");
    125         if(true) _pprintLine_("      longaxis    longitude axis (double vector [west east], required)");
    126         if(true) _pprintLine_("      images      relative or http image file names (string or array of strings or cell array of strings, required)");
    127         if(true) _pprintLine_("      zip         flag to zip the doc.kml and image files into kmzfile (double, non-zero for kmz)");
    128         if(true) _pprintLine_("");
    129         if(true) _pprintLine_("      ierror     error flag (double, non-zero for error)");
    130         if(true) _pprintLine_("");
    131         if(true) _pprintLine_("   Example:");
    132         if(true) _pprintLine_("      KMLOverlay(kmlfile,'lataxis',[south north],'longaxis',[west east],'images',{'file1.png','http://issm/file2.png'},'zip',1);");
    133         if(true) _pprintLine_("");
     115        _pprintLine_("KMLOverlay - KML file overlay module:");
     116        _pprintLine_("");
     117        _pprintLine_("   This module reads a list of image files and writes a KML or KMZ overlay file.");
     118        _pprintLine_("");
     119        _pprintLine_("   Usage:");
     120        _pprintLine_("      ierror=KMLOverlay(kmlfile,'param name',param,...);");
     121        _pprintLine_("");
     122        _pprintLine_("      kmlfile     KML or KMZ file name (string)");
     123        _pprintLine_("");
     124        _pprintLine_("      lataxis     latitude axis (double vector [south north], required)");
     125        _pprintLine_("      longaxis    longitude axis (double vector [west east], required)");
     126        _pprintLine_("      images      relative or http image file names (string or array of strings or cell array of strings, required)");
     127        _pprintLine_("      zip         flag to zip the doc.kml and image files into kmzfile (double, non-zero for kmz)");
     128        _pprintLine_("");
     129        _pprintLine_("      ierror     error flag (double, non-zero for error)");
     130        _pprintLine_("");
     131        _pprintLine_("   Example:");
     132        _pprintLine_("      KMLOverlay(kmlfile,'lataxis',[south north],'longaxis',[west east],'images',{'file1.png','http://issm/file2.png'},'zip',1);");
     133        _pprintLine_("");
    134134}
  • issm/trunk-jpl/src/modules/Kml2Exp/Kml2Exp.cpp

    r12517 r12518  
    6666
    6767void Kml2ExpUsage(void){
    68         if(true) _pprintLine_("Kml2Exp - kml to exp file conversion module:");
    69         if(true) _pprintLine_("");
    70         if(true) _pprintLine_("   This module converts a file from kml to exp format.");
    71         if(true) _pprintLine_("");
    72         if(true) _pprintLine_("   Usage:");
    73         if(true) _pprintLine_("      [ret]=Kml2Exp(filexp,filkml,sgn,'param name',param,...);");
    74         if(true) _pprintLine_("");
    75         if(true) _pprintLine_("      filkml      file name of kml file to be read (char)");
    76         if(true) _pprintLine_("      filexp      file name of exp file to be written (char)");
    77         if(true) _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    78         if(true) _pprintLine_("");
    79         if(true) _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    80         if(true) _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    81         if(true) _pprintLine_("");
    82         if(true) _pprintLine_("      ret         return code (non-zero for warning)");
    83         if(true) _pprintLine_("");
    84         if(true) _pprintLine_("   Examples:");
    85         if(true) _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp', 1);");
    86         if(true) _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp', 1,'central_meridian',45,'standard_parallel',70);");
    87         if(true) _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp',-1,'central_meridian', 0,'standard_parallel',71);");
    88         if(true) _pprintLine_("");
     68        _pprintLine_("Kml2Exp - kml to exp file conversion module:");
     69        _pprintLine_("");
     70        _pprintLine_("   This module converts a file from kml to exp format.");
     71        _pprintLine_("");
     72        _pprintLine_("   Usage:");
     73        _pprintLine_("      [ret]=Kml2Exp(filexp,filkml,sgn,'param name',param,...);");
     74        _pprintLine_("");
     75        _pprintLine_("      filkml      file name of kml file to be read (char)");
     76        _pprintLine_("      filexp      file name of exp file to be written (char)");
     77        _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
     78        _pprintLine_("");
     79        _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
     80        _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
     81        _pprintLine_("");
     82        _pprintLine_("      ret         return code (non-zero for warning)");
     83        _pprintLine_("");
     84        _pprintLine_("   Examples:");
     85        _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp', 1);");
     86        _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp', 1,'central_meridian',45,'standard_parallel',70);");
     87        _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp',-1,'central_meridian', 0,'standard_parallel',71);");
     88        _pprintLine_("");
    8989}
    9090
  • issm/trunk-jpl/src/modules/Kriging/Kriging.cpp

    r12516 r12518  
    5454
    5555void KrigingUsage(void){
    56         if(true) _pprintLine_("");
    57         if(true) _pprintLine_("   usage: predictions=" << __FUNCT__ << "(x,y,observations,x_interp,y_interp,'options');");
    58         if(true) _pprintLine_("   available options:");
    59         if(true) _pprintLine_("      -'model': Available variogram models 'gaussian' (default),'spherical','power','exponential'");
    60         if(true) _pprintLine_("         -'nugget': nugget effect (default 0.2)");
    61         if(true) _pprintLine_("         -'range':  for gaussian, spherical and exponential models (default sqrt(3))");
    62         if(true) _pprintLine_("         -'sill':   for gaussian, spherical and exponential models (default 1)");
    63         if(true) _pprintLine_("         -'slope':  for power model (default 1)");
    64         if(true) _pprintLine_("         -'power':  for power model (default 1)");
    65         if(true) _pprintLine_("      -'searchradius': search radius for each prediction (default is observations span)");
    66         if(true) _pprintLine_("      -'boxlength':    minimum length of quadtree boxes (useful to decrease the number of observations)");
    67         if(true) _pprintLine_("      -'maxdata':      minimum number of observations for a prediction (default is 50)");
    68         if(true) _pprintLine_("      -'mindata':      maximum number of observations for a prediction (default is 1)");
    69         if(true) _pprintLine_("      -'maxtrimming':  maximum trimming value (default is -1.e+21)");
    70         if(true) _pprintLine_("      -'mintrimming':  minimum trimming value (default is +1.e+21)");
    71         if(true) _pprintLine_("      -'minspacing':   minimum distance between observation (default is 0.01)");
    72         if(true) _pprintLine_("");
     56        _pprintLine_("");
     57        _pprintLine_("   usage: predictions=" << __FUNCT__ << "(x,y,observations,x_interp,y_interp,'options');");
     58        _pprintLine_("   available options:");
     59        _pprintLine_("      -'model': Available variogram models 'gaussian' (default),'spherical','power','exponential'");
     60        _pprintLine_("         -'nugget': nugget effect (default 0.2)");
     61        _pprintLine_("         -'range':  for gaussian, spherical and exponential models (default sqrt(3))");
     62        _pprintLine_("         -'sill':   for gaussian, spherical and exponential models (default 1)");
     63        _pprintLine_("         -'slope':  for power model (default 1)");
     64        _pprintLine_("         -'power':  for power model (default 1)");
     65        _pprintLine_("      -'searchradius': search radius for each prediction (default is observations span)");
     66        _pprintLine_("      -'boxlength':    minimum length of quadtree boxes (useful to decrease the number of observations)");
     67        _pprintLine_("      -'maxdata':      minimum number of observations for a prediction (default is 50)");
     68        _pprintLine_("      -'mindata':      maximum number of observations for a prediction (default is 1)");
     69        _pprintLine_("      -'maxtrimming':  maximum trimming value (default is -1.e+21)");
     70        _pprintLine_("      -'mintrimming':  minimum trimming value (default is +1.e+21)");
     71        _pprintLine_("      -'minspacing':   minimum distance between observation (default is 0.01)");
     72        _pprintLine_("");
    7373}
  • issm/trunk-jpl/src/modules/Ll2xy/Ll2xy.cpp

    r12517 r12518  
    7474
    7575void Ll2xyUsage(void){
    76         if(true) _pprintLine_("Ll2xy - lat/long to x/y coordinate transformation module:");
    77         if(true) _pprintLine_("");
    78         if(true) _pprintLine_("   This module transforms lat/long to x/y coordinates.");
    79         if(true) _pprintLine_("");
    80         if(true) _pprintLine_("   Usage:");
    81         if(true) _pprintLine_("      [x,y]=Ll2xy(lat,lon,sgn,'param name',param,...);");
    82         if(true) _pprintLine_("");
    83         if(true) _pprintLine_("      lat         latitude coordinates (double vector)");
    84         if(true) _pprintLine_("      lon         longitude coordinates (double vector)");
    85         if(true) _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    86         if(true) _pprintLine_("");
    87         if(true) _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    88         if(true) _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    89         if(true) _pprintLine_("");
    90         if(true) _pprintLine_("      x           x coordinates (double vector)");
    91         if(true) _pprintLine_("      y           y coordinates (double vector)");
    92         if(true) _pprintLine_("");
    93         if(true) _pprintLine_("   Examples:");
    94         if(true) _pprintLine_("      [x,y]=Ll2xy(lat,lon, 1);");
    95         if(true) _pprintLine_("      [x,y]=Ll2xy(lat,lon, 1,'central_meridian',45,'standard_parallel',70);");
    96         if(true) _pprintLine_("      [x,y]=Ll2xy(lat,lon,-1,'central_meridian', 0,'standard_parallel',71);");
    97         if(true) _pprintLine_("");
     76        _pprintLine_("Ll2xy - lat/long to x/y coordinate transformation module:");
     77        _pprintLine_("");
     78        _pprintLine_("   This module transforms lat/long to x/y coordinates.");
     79        _pprintLine_("");
     80        _pprintLine_("   Usage:");
     81        _pprintLine_("      [x,y]=Ll2xy(lat,lon,sgn,'param name',param,...);");
     82        _pprintLine_("");
     83        _pprintLine_("      lat         latitude coordinates (double vector)");
     84        _pprintLine_("      lon         longitude coordinates (double vector)");
     85        _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
     86        _pprintLine_("");
     87        _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
     88        _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
     89        _pprintLine_("");
     90        _pprintLine_("      x           x coordinates (double vector)");
     91        _pprintLine_("      y           y coordinates (double vector)");
     92        _pprintLine_("");
     93        _pprintLine_("   Examples:");
     94        _pprintLine_("      [x,y]=Ll2xy(lat,lon, 1);");
     95        _pprintLine_("      [x,y]=Ll2xy(lat,lon, 1,'central_meridian',45,'standard_parallel',70);");
     96        _pprintLine_("      [x,y]=Ll2xy(lat,lon,-1,'central_meridian', 0,'standard_parallel',71);");
     97        _pprintLine_("");
    9898}
  • issm/trunk-jpl/src/modules/NodeConnectivity/NodeConnectivity.cpp

    r12516 r12518  
    3737
    3838void NodeConnectivityUsage(void) {
    39         if(true) _pprintLine_("");
    40         if(true) _pprintLine_("   usage: connectivity = " << __FUNCT__ << "(elements, numnodes);");
    41         if(true) _pprintLine_("");
     39        _pprintLine_("");
     40        _pprintLine_("   usage: connectivity = " << __FUNCT__ << "(elements, numnodes);");
     41        _pprintLine_("");
    4242}
  • issm/trunk-jpl/src/modules/Shp2Kml/Shp2Kml.cpp

    r12517 r12518  
    7777
    7878void Shp2KmlUsage(void){
    79         if(true) _pprintLine_("Shp2Kml - shp to kml file conversion module:");
    80         if(true) _pprintLine_("");
    81         if(true) _pprintLine_("   This module converts a file from shp to kml format.");
    82         if(true) _pprintLine_("");
    83         if(true) _pprintLine_("   Usage:");
    84         if(true) _pprintLine_("      [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);");
    85         if(true) _pprintLine_("");
    86         if(true) _pprintLine_("      filshp      file name of shp file to be read (char, extension optional)");
    87         if(true) _pprintLine_("      filkml      file name of kml file to be written (char)");
    88         if(true) _pprintLine_("      sgn         sign for hemisphere (double, +1 (north); -1 (south); or 0 (no translation))");
    89         if(true) _pprintLine_("");
    90         if(true) _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    91         if(true) _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    92         if(true) _pprintLine_("");
    93         if(true) _pprintLine_("      ret         return code (non-zero for warning)");
    94         if(true) _pprintLine_("");
    95         if(true) _pprintLine_("   Examples:");
    96         if(true) _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml', 0);");
    97         if(true) _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);");
    98         if(true) _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);");
    99         if(true) _pprintLine_("");
     79        _pprintLine_("Shp2Kml - shp to kml file conversion module:");
     80        _pprintLine_("");
     81        _pprintLine_("   This module converts a file from shp to kml format.");
     82        _pprintLine_("");
     83        _pprintLine_("   Usage:");
     84        _pprintLine_("      [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);");
     85        _pprintLine_("");
     86        _pprintLine_("      filshp      file name of shp file to be read (char, extension optional)");
     87        _pprintLine_("      filkml      file name of kml file to be written (char)");
     88        _pprintLine_("      sgn         sign for hemisphere (double, +1 (north); -1 (south); or 0 (no translation))");
     89        _pprintLine_("");
     90        _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
     91        _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
     92        _pprintLine_("");
     93        _pprintLine_("      ret         return code (non-zero for warning)");
     94        _pprintLine_("");
     95        _pprintLine_("   Examples:");
     96        _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml', 0);");
     97        _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);");
     98        _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);");
     99        _pprintLine_("");
    100100}
  • issm/trunk-jpl/src/modules/StringToEnum/StringToEnum.cpp

    r12516 r12518  
    2727void StringToEnumUsage(void)
    2828{
    29         if(true) _pprintLine_("");
    30         if(true) _pprintLine_("   usage: " << __FUNCT__ << "enum = StringToEnum(string);");
    31         if(true) _pprintLine_("");
     29        _pprintLine_("");
     30        _pprintLine_("   usage: " << __FUNCT__ << "enum = StringToEnum(string);");
     31        _pprintLine_("");
    3232}
  • issm/trunk-jpl/src/modules/TriaSearch/TriaSearch.cpp

    r12517 r12518  
    5656void TriaSearchUsage(void)
    5757{
    58         if(true) _pprintLine_("TriaSearch- find triangle holding a point (x0,y0) in a mesh");
    59         if(true) _pprintLine_("");
    60         if(true) _pprintLine_("   Usage:");
    61         if(true) _pprintLine_("         tria=TriaSearch(index,x,y,x0,y0);");
    62         if(true) _pprintLine_("      index,x,y: mesh triangulatrion");
    63         if(true) _pprintLine_("      x0,y0: coordinates of the point for which we are trying to find a triangle");
    64         if(true) _pprintLine_("      x0,y0 can be an array of points");
    65         if(true) _pprintLine_("");
     58        _pprintLine_("TriaSearch- find triangle holding a point (x0,y0) in a mesh");
     59        _pprintLine_("");
     60        _pprintLine_("   Usage:");
     61        _pprintLine_("         tria=TriaSearch(index,x,y,x0,y0);");
     62        _pprintLine_("      index,x,y: mesh triangulatrion");
     63        _pprintLine_("      x0,y0: coordinates of the point for which we are trying to find a triangle");
     64        _pprintLine_("      x0,y0 can be an array of points");
     65        _pprintLine_("");
    6666}
  • issm/trunk-jpl/src/modules/Xy2ll/Xy2ll.cpp

    r12517 r12518  
    7373
    7474void Xy2llUsage(void){
    75         if(true) _pprintLine_("Xy2ll - x/y to lat/long coordinate transformation module:");
    76         if(true) _pprintLine_("");
    77         if(true) _pprintLine_("   This module transforms x/y to lat/long coordinates.");
    78         if(true) _pprintLine_("");
    79         if(true) _pprintLine_("   Usage:");
    80         if(true) _pprintLine_("      [lat,lon]=Xy2ll(x,y,sgn,'param name',param,...);");
    81         if(true) _pprintLine_("");
    82         if(true) _pprintLine_("      x           x coordinates (double vector)");
    83         if(true) _pprintLine_("      y           y coordinates (double vector)");
    84         if(true) _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    85         if(true) _pprintLine_("");
    86         if(true) _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    87         if(true) _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    88         if(true) _pprintLine_("");
    89         if(true) _pprintLine_("      lat         latitude coordinates (double vector)");
    90         if(true) _pprintLine_("      lon         longitude coordinates (double vector)");
    91         if(true) _pprintLine_("");
    92         if(true) _pprintLine_("   Examples:");
    93         if(true) _pprintLine_("      [lat,lon]=Xy2ll(x,y, 1);");
    94         if(true) _pprintLine_("      [lat,lon]=Xy2ll(x,y, 1,'central_meridian',45,'standard_parallel',70);");
    95         if(true) _pprintLine_("      [lat,lon]=Xy2ll(x,y,-1,'central_meridian', 0,'standard_parallel',71);");
    96         if(true) _pprintLine_("");
     75        _pprintLine_("Xy2ll - x/y to lat/long coordinate transformation module:");
     76        _pprintLine_("");
     77        _pprintLine_("   This module transforms x/y to lat/long coordinates.");
     78        _pprintLine_("");
     79        _pprintLine_("   Usage:");
     80        _pprintLine_("      [lat,lon]=Xy2ll(x,y,sgn,'param name',param,...);");
     81        _pprintLine_("");
     82        _pprintLine_("      x           x coordinates (double vector)");
     83        _pprintLine_("      y           y coordinates (double vector)");
     84        _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
     85        _pprintLine_("");
     86        _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
     87        _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
     88        _pprintLine_("");
     89        _pprintLine_("      lat         latitude coordinates (double vector)");
     90        _pprintLine_("      lon         longitude coordinates (double vector)");
     91        _pprintLine_("");
     92        _pprintLine_("   Examples:");
     93        _pprintLine_("      [lat,lon]=Xy2ll(x,y, 1);");
     94        _pprintLine_("      [lat,lon]=Xy2ll(x,y, 1,'central_meridian',45,'standard_parallel',70);");
     95        _pprintLine_("      [lat,lon]=Xy2ll(x,y,-1,'central_meridian', 0,'standard_parallel',71);");
     96        _pprintLine_("");
    9797}
    9898
Note: See TracChangeset for help on using the changeset viewer.