Changeset 11c057 in git
- Timestamp:
- Oct 13, 2008, 11:32:53 PM (15 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cdfcdb8287f66bc6070028082cbbc6eff10e609b')
- Children:
- 0ebb922e88968aeb8c46d80e1e4f0e32a6039f3d
- Parents:
- e53182eb35f1f9b5aacabc078da3311f55eacc52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/surfex.lib
re53182 r11c057 1 1 //last change: 2007/07/06 (Oliver Labs) 2 2 /////////////////////////////////////////////////////////////////////////////// 3 version="$Id: surfex.lib,v 1. 6 2007-11-13 17:26:14 SingularExp $";3 version="$Id: surfex.lib,v 1.7 2008-10-13 21:32:53 keilen Exp $"; 4 4 category="Visualization"; 5 5 info=" … … 23 23 PROCEDURES: 24 24 plotRotated(poly,coord); Plot the surface given by the polynomial p 25 with the coordinates coords(list)25 with the coordinates coords(list) 26 26 plotRot(poly); Similar to plotRotated, 27 27 but guesses automatically … … 517 517 { 518 518 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 519 523 if (status(surfex_path2+"/surfex","exists")=="yes") break; 520 524 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 } 521 529 } 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"); 526 534 527 535 // delete the temporary file
Note: See TracChangeset
for help on using the changeset viewer.