Changeset 11c057 in git


Ignore:
Timestamp:
Oct 13, 2008, 11:32:53 PM (15 years ago)
Author:
Thomas Markwig <keilen@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
0ebb922e88968aeb8c46d80e1e4f0e32a6039f3d
Parents:
e53182eb35f1f9b5aacabc078da3311f55eacc52
Message:
Aenderung in der Prozedur  plotRotatedFromCode. Der surfex-Pfad wurde nicht richtig gefunden, zumindest dann nicht, wenn in SingularLIB zwei Pfade angegeben sind. Entsprechende Aenderungen wurden von Oliver Labs und Thomas Markwig vorgenommen


git-svn-id: file:///usr/local/Singular/svn/trunk@11135 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/surfex.lib

    re53182 r11c057  
    11//last change: 2007/07/06 (Oliver Labs)
    22///////////////////////////////////////////////////////////////////////////////
    3 version="$Id: surfex.lib,v 1.6 2007-11-13 17:26:14 Singular Exp $";
     3version="$Id: surfex.lib,v 1.7 2008-10-13 21:32:53 keilen Exp $";
    44category="Visualization";
    55info="
     
    2323PROCEDURES:
    2424plotRotated(poly,coord); Plot the surface given by the polynomial p
    25                with the coordinates coords(list)
     25                         with the coordinates coords(list)
    2626plotRot(poly);           Similar to plotRotated,
    2727                         but guesses automatically
     
    517517       {
    518518         surfex_path2=surfex_path1[1..find(surfex_path1,":")-1];
     519         while(surfex_path2[size(surfex_path2)]==" ") {
     520           surfex_path2 = surfex_path2[1..(size(surfex_path2)-1)];
     521         }
     522         
    519523         if (status(surfex_path2+"/surfex","exists")=="yes") break;
    520524         surfex_path1=surfex_path1[find(surfex_path1,":")+1,size(surfex_path1)];
     525         surfex_path2=surfex_path1[1..(size(surfex_path1)-1)];
     526         while(surfex_path2[size(surfex_path2)]==" ") {
     527           surfex_path2 = surfex_path2[1..(size(surfex_path2)-1)];
     528         }
    521529       }
    522        surfex_path=surfex_path2;
    523     }
    524 
    525     int i=system("sh","surfex \""+surfex_path+"\" -d "+tmpd+" -i " + l +" >"+erg+" 2>/dev/null");
     530       surfex_path=surfex_path2+"/surfex";
     531    }
     532
     533     int i=system("sh","surfex \""+surfex_path+"\" -d "+tmpd+" -i " + l +" >"+erg+" 2>/dev/null");
    526534
    527535    // delete the temporary file
Note: See TracChangeset for help on using the changeset viewer.