Changeset 85c8c60 in git
- Timestamp:
- Jun 3, 2020, 10:54:58 PM (3 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- e71151310cf4ea51a0b407491e6e91880cf38900
- Parents:
- 6645dd011a1c3421072bb043781cd8f48ac790f2
- git-author:
- Sachin <sachinkm308@gmail.com>2020-06-03 22:54:58+02:00
- git-committer:
- Sachin <sachinkm308@gmail.com>2020-06-06 10:23:12+02:00
- Location:
- Singular/LIB
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/atkins.lib
r6645dd r85c8c60 567 567 s3=string(t); 568 568 569 execute("a1="+s1+";");570 execute("b1="+s2+";");571 execute("t1="+s3+";");569 a1=int(a); 570 b1=int(b); 571 t1=int(t); 572 572 g1=gcd(gcd(a1,b1),t1 div a1); 573 573 setring C; -
Singular/LIB/chern.lib
r6645dd r85c8c60 201 201 } 202 202 ring r@ = create_ring(ringlist(basering)[1], l2, "dp", "no_minpoly"); 203 execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 204 ideal V=F(V); 205 poly f=F(f); 203 ideal V = fetch(br@,V);// define the corresponding inclusion of rings 204 poly f = fetch(br@,f); 206 205 int i; 207 206 for(i=1; i<=nV; i++) … … 705 704 } 706 705 ring r@ = create_ring(ringlist(basering)[1], l3, "lp", "no_minpoly"); 707 execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 708 list c=F(c); // embed c in the bigger ring 706 // execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 707 // list c=F(c); // embed c in the bigger ring 708 list c= fetch(br@,c); 709 709 poly rez; 710 710 list A=a@(1..n); … … 721 721 rez = -subst(I[1], c@, 0); 722 722 setring br@; // come back to the initial base ring 723 execute( "map FF= r@,0,"+varstr(br@)+";" ); // define the specialization homomorphism724 poly rez= FF(rez); // bring the result to the base ring723 //execute( "map FF= r@,0,"+varstr(br@)+";" ); // define the specialization homomorphism 724 poly rez=fetch(r@,rez); // bring the result to the base ring 725 725 return( (1/factorial(n))*rez); 726 726 } -
Singular/LIB/dmod.lib
r6645dd r85c8c60 459 459 tmp = 0; 460 460 // block ord (dp(N),dp); 461 s = "iv="; 462 for (i=1; i<=Nnew-1; i++) 463 { 464 s = s+"1,"; 465 } 466 s[size(s)]=";"; 467 execute(s); 461 iv = 1:(Nnew-1); 468 462 tmp[1] = "dp"; // string 469 463 tmp[2] = iv; // intvec … … 471 465 // continue with dp 1,1,1,1... 472 466 tmp[1] = "dp"; // string 473 s[size(s)] = ","; 474 s = s+"1;"; 475 execute(s); 467 iv = 1:Nnew; 476 468 kill s; 477 469 kill NName; … … 601 593 // continue with dp 1,1,1,1... 602 594 tmp[1] = "dp"; // string 603 s = "iv="; 604 for (i=1; i<=Nnew; i++) 605 { 606 s = s+"1,"; 607 } 608 s[size(s)]= ";"; 609 execute(s); 595 iv=1:Nnew; 610 596 kill s; 611 597 tmp[2] = iv; … … 670 656 L[2] = NName; 671 657 // dp ordering; 672 string s = "iv="; 673 for (i=1; i<=Nnew; i++) 674 { 675 s = s+"1,"; 676 } 677 s[size(s)] = ";"; 678 execute(s); 658 iv=1:Nnew; 679 659 kill s; 680 660 tmp = 0; … … 711 691 export LD; 712 692 return(@R2); 693 string strr1 = "Printing from ALTannfsBM"; // comment by sachin 694 strr1; // comment by sachin 713 695 } 714 696 example … … 791 773 // continue with dp 1,1,1,1... 792 774 tmp[1] = "dp"; // string 793 s = "iv="; 794 for (i=1; i<=Nnew; i++) 795 { 796 s = s+"1,"; 797 } 798 s[size(s)]= ";"; 799 execute(s); 775 iv=1:(Nnew-1); 800 776 kill s; 801 777 tmp[2] = iv; … … 859 835 tmp = 0; 860 836 // block ord (dp(N),dp); 861 string s = "iv="; 862 for (i=1; i<=Nnew-1; i++) 863 { 864 s = s+"1,"; 865 } 866 s[size(s)]=";"; 867 execute(s); 837 iv=1:(Nnew-1); 868 838 tmp[1] = "dp"; //string 869 839 tmp[2] = iv; //intvec … … 871 841 // continue with dp 1,1,1,1... 872 842 tmp[1] = "dp"; //string 873 s[size(s)] = ","; 874 s = s+"1;"; 875 execute(s); 876 kill s; 843 iv=1:Nnew; 877 844 kill NName; 878 845 tmp[2] = iv; … … 1021 988 // continue with dp 1,1,1,1... 1022 989 tmp[1] = "dp"; // string 1023 s = "iv="; 1024 for (i=1; i<=Nnew; i++) 1025 { 1026 s = s+"1,"; 1027 } 1028 s[size(s)]= ";"; 1029 execute(s); 990 iv=1:Nnew; 1030 991 kill s; 1031 992 tmp[2] = iv; … … 1089 1050 tmp = 0; 1090 1051 // block ord (dp(N),dp); 1091 string s = "iv="; 1092 for (i=1; i<=Nnew-1; i++) 1093 { 1094 s = s+"1,"; 1095 } 1096 s[size(s)]=";"; 1097 execute(s); 1052 iv=1:(Nnew-1); 1098 1053 tmp[1] = "dp"; //string 1099 1054 tmp[2] = iv; //intvec … … 1101 1056 // continue with dp 1,1,1,1... 1102 1057 tmp[1] = "dp"; //string 1103 s[size(s)] = ","; 1104 s = s+"1;"; 1105 execute(s); 1106 kill s; 1058 iv=1:Nnew; 1107 1059 kill NName; 1108 1060 tmp[2] = iv; … … 1185 1137 L[2] = NName; 1186 1138 // dp ordering; 1187 string s = "iv="; 1188 for (i=1; i<=Nnew; i++) 1189 { 1190 s = s+"1,"; 1191 } 1192 s[size(s)] = ";"; 1193 execute(s); 1194 kill s; 1139 iv=1:Nnew; 1195 1140 tmp = 0; 1196 1141 tmp[1] = "dp"; //string … … 1344 1289 L[2] = NName; 1345 1290 // dp ordering; 1346 string s = "iv="; 1347 for (i=1; i<=Nnew; i++) 1348 { 1349 s = s+"1,"; 1350 } 1351 s[size(s)] = ";"; 1352 execute(s); 1291 iv=1:Nnew; 1353 1292 tmp = 0; 1354 1293 tmp[1] = "dp"; // string 1355 1294 tmp[2] = iv; // intvec 1356 1295 Lord[1] = tmp; 1357 kill s;1358 1296 tmp[1] = "C"; 1359 1297 iv = 0; … … 1539 1477 L[2] = NName; 1540 1478 // dp ordering; 1541 string s = "iv="; 1542 for (i=1; i<=Nnew; i++) 1543 { 1544 s = s+"1,"; 1545 } 1546 s[size(s)] = ";"; 1547 execute(s); 1479 iv=1:Nnew; 1548 1480 tmp = 0; 1549 1481 tmp[1] = "dp"; // string 1550 1482 tmp[2] = iv; // intvec 1551 1483 Lord[1] = tmp; 1552 kill s;1553 1484 tmp[1] = "C"; 1554 1485 iv = 0; … … 1675 1606 // continue with dp 1,1,1,1... 1676 1607 tmp[1] = "dp"; // string 1677 s = "iv="; 1678 for (i=1; i<=Nnew; i++) 1679 { 1680 s = s+"1,"; 1681 } 1682 s[size(s)]= ";"; 1683 execute(s); 1608 iv=1:Nnew; 1684 1609 kill s; 1685 1610 tmp[2] = iv; … … 1743 1668 tmp = 0; 1744 1669 // block ord (dp(N),dp); 1745 string s = "iv="; 1746 for (i=1; i<=Nnew-1; i++) 1747 { 1748 s = s+"1,"; 1749 } 1750 s[size(s)]=";"; 1751 execute(s); 1670 iv=1:(Nnew-1); 1752 1671 tmp[1] = "dp"; //string 1753 1672 tmp[2] = iv; //intvec … … 1755 1674 // continue with dp 1,1,1,1... 1756 1675 tmp[1] = "dp"; //string 1757 s[size(s)] = ","; 1758 s = s+"1;"; 1759 execute(s); 1760 kill s; 1676 iv=1:Nnew; 1761 1677 kill NName; 1762 1678 tmp[2] = iv; … … 1840 1756 L[2] = NName; 1841 1757 // dp ordering; 1842 string s = "iv="; 1843 for (i=1; i<=Nnew; i++) 1844 { 1845 s = s+"1,"; 1846 } 1847 s[size(s)] = ";"; 1848 execute(s); 1849 kill s; 1758 iv=1:Nnew; 1850 1759 tmp = 0; 1851 1760 tmp[1] = "dp"; //string … … 2129 2038 // continue with dp 1,1,1,1... 2130 2039 tmp[1] = "dp"; // string 2131 s = "iv="; 2132 for (i=1; i<=Nnew; i++) 2133 { 2134 s = s+"1,"; 2135 } 2136 s[size(s)]= ";"; 2137 execute(s); 2040 iv=1:Nnew; 2138 2041 kill s; 2139 2042 tmp[2] = iv; … … 2223 2126 L[2] = NName; 2224 2127 // dp ordering; 2225 string s = "iv="; 2226 for (i=1; i<=Nnew; i++) 2227 { 2228 s = s+"1,"; 2229 } 2230 s[size(s)] = ";"; 2231 execute(s); 2232 kill s; 2128 iv=1:Nnew; 2233 2129 tmp = 0; 2234 2130 tmp[1] = "dp"; //string … … 2400 2296 // block ord (lp(P),dp); 2401 2297 tmp[1] = "lp"; //string 2402 s = "iv="; 2403 for (i=1; i<=2*P; i++) 2404 { 2405 s = s+"1,"; 2406 } 2407 s[size(s)]= ";"; 2408 execute(s); 2298 iv=1:(2*P); 2409 2299 tmp[2] = iv; //intvec 2410 2300 Lord[1] = tmp; 2411 2301 // continue with dp 1,1,1,1... 2412 2302 tmp[1] = "dp"; //string 2413 s = "iv="; 2414 for (i=1; i<=Nnew; i++) //actually i<=2*N 2415 { 2416 s = s+"1,"; 2417 } 2418 s[size(s)]= ";"; 2419 execute(s); 2303 iv=1:Nnew; 2420 2304 kill s; 2421 2305 tmp[2] = iv; … … 2529 2413 tmp = 0; 2530 2414 // block ord (dp(N),dp); 2531 string s = "iv="; 2532 for (i=1; i<=Nnew-P; i++) 2533 { 2534 s = s+"1,"; 2535 } 2536 s[size(s)]=";"; 2537 execute(s); 2415 iv=1:(Nnew-P); 2538 2416 tmp[1] = "dp"; //string 2539 2417 tmp[2] = iv; //intvec … … 2541 2419 // continue with dp 1,1,1,1... 2542 2420 tmp[1] = "dp"; //string 2543 s[size(s)] = ","; 2544 for (j=1; j<=P; j++) 2545 { 2546 s = s+"1,"; 2547 } 2548 s[size(s)]=";"; 2549 execute(s); 2550 kill s; 2421 iv=1:P; 2551 2422 kill NName; 2552 2423 tmp[2] = iv; … … 2660 2531 tmp = 0; 2661 2532 // dp ordering; 2662 string s = "iv="; 2663 for (i=1; i<=Nnew; i++) 2664 { 2665 s = s+"1,"; 2666 } 2667 s[size(s)]=";"; 2668 execute(s); 2669 kill s; 2533 iv=1:Nnew; 2670 2534 kill NName; 2671 2535 tmp[1] = "dp"; //string … … 2815 2679 // continue with dp 1,1,1,1... 2816 2680 tmp[1] = "dp"; // string 2817 s = "iv="; 2818 for(i=1;i<=Nnew;i++) 2819 { 2820 s = s+"1,"; 2821 } 2822 s[size(s)]= ";"; 2823 execute(s); 2681 iv=1:Nnew; 2824 2682 tmp[2] = iv; 2825 2683 Lord[2] = tmp; … … 2892 2750 // continue with a(1,1,1,1)... 2893 2751 tmp[1] = "dp"; s = "iv="; 2894 for(i=1; i<= Nnew; i++) 2895 { 2896 s = s+"1,"; 2897 } 2898 s[size(s)]= ";"; execute(s); 2752 iv=1:Nnew; 2899 2753 kill NName; 2900 2754 tmp[2] = iv; … … 2955 2809 tmp = 0; 2956 2810 // block ord (a(1,1...),dp); 2957 string s = "iv="; 2958 for(i=1; i<=Nnew-1; i++) 2959 { 2960 s = s+"1,"; 2961 } 2962 s[size(s)]= ";"; 2963 execute(s); 2811 iv=1:(Nnew-1); 2964 2812 tmp[1] = "a"; // string 2965 2813 tmp[2] = iv; //intvec … … 2967 2815 // continue with dp 1,1,1,1... 2968 2816 tmp[1] = "dp"; // string 2969 s[size(s)]=","; s= s+"1;";2970 execute(s);2971 kill s;2972 2817 kill NName; 2973 2818 tmp[2] = iv; … … 3051 2896 L[2] = NName; 3052 2897 // dp ordering; 3053 string s = "iv=";3054 for(i=1;i<=Nnew;i++)3055 {3056 s = s+"1,";3057 }3058 s[size(s)]= ";";3059 execute(s);3060 2898 tmp = 0; 3061 2899 tmp[1] = "dp"; // string 3062 2900 tmp[2] = iv; //intvec 3063 2901 Lord[1] = tmp; 3064 kill s;3065 2902 tmp[1] = "C"; 3066 2903 iv = 0; … … 3193 3030 // continue with dp 1,1,1,1... 3194 3031 tmp[1] = "dp"; // string 3195 s = "iv="; 3196 for(i=1;i<=Nnew;i++) 3197 { 3198 s = s+"1,"; 3199 } 3200 s[size(s)]= ";"; 3201 execute(s); 3032 iv=1:Nnew; 3202 3033 tmp[2] = iv; 3203 3034 Lord[2] = tmp; … … 3270 3101 // continue with a(1,1,1,1)... 3271 3102 tmp[1] = "dp"; s = "iv="; 3272 for(i=1; i<= Nnew; i++) 3273 { 3274 s = s+"1,"; 3275 } 3276 s[size(s)]= ";"; execute(s); 3103 iv=1:Nnew; 3277 3104 kill NName; 3278 3105 tmp[2] = iv; … … 3329 3156 tmp = 0; 3330 3157 // block ord (dp(N),dp); 3331 string s = "iv="; 3332 for (i=1; i<=Nnew-1; i++) 3333 { 3334 s = s+"1,"; 3335 } 3336 s[size(s)]=";"; 3337 execute(s); 3158 iv=1:(Nnew-1); 3338 3159 tmp[1] = "dp"; // string 3339 3160 tmp[2] = iv; // intvec … … 3341 3162 // continue with dp 1,1,1,1... 3342 3163 tmp[1] = "dp"; // string 3343 s[size(s)] = ","; 3344 s = s+"1;"; 3345 execute(s); 3346 kill s; 3164 iv=1:Nnew; 3347 3165 kill NName; 3348 3166 tmp[2] = iv; … … 3365 3183 dbprint(ppl-1, @R3); 3366 3184 ideal MM = maxideal(1); 3185 string strr1 = "printing s"; // comment by sachin 3186 strr1; // comment by sachin 3187 s; 3367 3188 MM = 0,s,MM; 3368 3189 map R01 = @R2, MM; … … 3465 3286 // continue with dp 1,1,1,1... 3466 3287 tmp[1] = "dp"; // string 3467 s = "iv="; 3468 for(i=1;i<=Nnew;i++) 3469 { 3470 s = s+"1,"; 3471 } 3472 s[size(s)]= ";"; 3473 execute(s); 3288 iv=1:Nnew; 3474 3289 kill s; 3475 3290 tmp[2] = iv; … … 3537 3352 tmp = 0; 3538 3353 // block ord (dp(N),dp); 3539 string s = "iv="; 3540 for (i=1; i<=Nnew-1; i++) 3541 { 3542 s = s+"1,"; 3543 } 3544 s[size(s)]=";"; 3545 execute(s); 3354 iv=1:(Nnew-1); 3546 3355 tmp[1] = "dp"; // string 3547 3356 tmp[2] = iv; // intvec … … 3549 3358 // continue with dp 1,1,1,1... 3550 3359 tmp[1] = "dp"; // string 3551 s[size(s)] = ","; 3552 s = s+"1;"; 3553 execute(s); 3554 kill s; 3360 iv=1:Nnew; 3555 3361 kill NName; 3556 3362 tmp[2] = iv; … … 3981 3787 // continue with dp 1,1,1,1... 3982 3788 tmp[1] = "dp"; // string 3983 s = "iv="; 3984 for(i=1;i<=Nnew;i++) 3985 { 3986 s = s+"1,"; 3987 } 3988 s[size(s)]= ";"; 3989 execute(s); 3789 iv=1:Nnew; 3990 3790 kill s; 3991 3791 tmp[2] = iv; … … 4054 3854 // just dp 4055 3855 // block ord (dp(N),dp); 4056 string s = "iv="; 4057 for (i=1; i<=Nnew; i++) 4058 { 4059 s = s+"1,"; 4060 } 4061 s[size(s)]=";"; 4062 execute(s); 3856 iv=1:Nnew; 4063 3857 tmp[1] = "dp"; // string 4064 3858 tmp[2] = iv; // intvec … … 4218 4012 // continue with dp 1,1,1,1... 4219 4013 tmp[1] = "dp"; // string 4220 s = "iv="; 4221 for(i=1;i<=Nnew;i++) 4222 { 4223 s = s+"1,"; 4224 } 4225 s[size(s)]= ";"; 4226 execute(s); 4014 iv=1:Nnew; 4227 4015 tmp[2] = iv; 4228 4016 Lord[3] = tmp; … … 4297 4085 // block ord (dp(N),dp); 4298 4086 // string s is already defined 4299 s = "iv="; 4300 for (i=1; i<=Nnew-1; i++) 4301 { 4302 s = s+"1,"; 4303 } 4304 s[size(s)]=";"; 4305 execute(s); 4087 iv=1:(Nnew-1); 4306 4088 tmp[1] = "dp"; // string 4307 4089 tmp[2] = iv; // intvec … … 4309 4091 // continue with dp 1,1,1,1... 4310 4092 tmp[1] = "dp"; // string 4311 s[size(s)] = ","; 4312 s = s+"1;"; 4313 execute(s); 4093 iv=1:Nnew; 4314 4094 kill s; 4315 4095 kill NName; … … 4443 4223 // continue with dp 1,1,1,1... 4444 4224 tmp[1] = "dp"; // string 4445 s = "iv="; 4446 for(i=1;i<=Nnew;i++) 4447 { 4448 s = s+"1,"; 4449 } 4450 s[size(s)]= ";"; 4451 execute(s); 4225 iv=1:Nnew; 4452 4226 tmp[2] = iv; 4453 4227 Lord[2] = tmp; … … 4522 4296 // block ord (dp(N),dp); 4523 4297 // string s is already defined 4524 s = "iv="; 4525 for (i=1; i<=Nnew-1; i++) 4526 { 4527 s = s+"1,"; 4528 } 4529 s[size(s)]=";"; 4530 execute(s); 4298 iv=1:(Nnew-1); 4531 4299 tmp[1] = "dp"; // string 4532 4300 tmp[2] = iv; // intvec … … 4534 4302 // continue with dp 1,1,1,1... 4535 4303 tmp[1] = "dp"; // string 4536 s[size(s)] = ","; 4537 s = s+"1;"; 4538 execute(s); 4539 kill s; 4304 iv=1:Nnew; 4305 kill s; 4540 4306 kill NName; 4541 4307 tmp[2] = iv; … … 4727 4493 L[2] = NName; 4728 4494 // dp ordering; 4729 string s = "iv="; 4730 for (i=1; i<=Nnew; i++) 4731 { 4732 s = s+"1,"; 4733 } 4734 s[size(s)] = ";"; 4735 execute(s); 4495 iv=1:Nnew; 4736 4496 tmp = 0; 4737 4497 tmp[1] = "dp"; // string 4738 4498 tmp[2] = iv; // intvec 4739 4499 Lord[1] = tmp; 4740 kill s;4741 4500 tmp[1] = "C"; 4742 4501 iv = 0; … … 5367 5126 // block ord (dp); 5368 5127 tmp[1] = "dp"; // string 5369 s = "iv="; 5370 for (i=1; i<=Nnew; i++) 5371 { 5372 s = s+"1,"; 5373 } 5374 s[size(s)]=";"; 5375 execute(s); 5128 iv=1:Nnew; 5376 5129 kill s; 5377 5130 tmp[2] = iv; … … 5502 5255 // block ord (dp); 5503 5256 tmp[1] = "dp"; // string 5504 s = "iv="; 5505 for (i=1; i<=N; i++) 5506 { 5507 s = s+"1,"; 5508 } 5509 s[size(s)]=";"; 5510 execute(s); 5257 iv=1:N; 5511 5258 kill s; 5512 5259 tmp[2] = iv; … … 5799 5546 tmp=0; 5800 5547 // dp ordering; 5801 string s = "iv="; 5802 for (i=1; i<=Nnew; i++) 5803 { 5804 s = s+"1,"; 5805 } 5806 s[size(s)] = ";"; 5807 execute(s); 5548 iv=1:Nnew; 5808 5549 tmp = 0; 5809 5550 tmp[1] = "dp"; // string 5810 5551 tmp[2] = iv; // intvec 5811 5552 Lord[2] = tmp; 5812 kill s;5813 5553 tmp = 0; 5814 5554 L[3] = Lord; -
Singular/LIB/finitediff.lib
r6645dd r85c8c60 583 583 svars=svars+","+strvar; ////variables 584 584 string sord="(c,lp)"; ////ordering 585 string sring="ring Q="+scf+","+svars+","+sord+";"; 586 execute(sring); 585 ring Q = create_ring(scf, svars, sord); 587 586 ideal Id=i**2+1; 588 587 int j; -
Singular/LIB/finvar.lib
r6645dd r85c8c60 719 719 execute 720 720 ("ring newring=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"); 721 string strr2 = "First else"; // comment by sachin722 strr2; // comment by sachin723 ringlist(newring);724 721 725 722 } -
Singular/LIB/lejeune.lib
r6645dd r85c8c60 422 422 ERROR("n must range between 1 and 26!"); 423 423 } 424 string s="ring r=0,("+A_Z("a",n)+"),ds;"; 425 execute(s); 424 ring r = create_ring(0, A_Z_L("a",n), "ds"); 426 425 return (string(var(n))); 427 426 } -
Singular/LIB/ncrat.lib
r6645dd r85c8c60 716 716 string s; 717 717 718 s = " ring NCRING = (0, I),(";718 s = "("; 719 719 for (i = 1; i <= size(NCVARIABLES); i++) 720 720 { … … 728 728 } 729 729 } 730 s = s + "), dp; minpoly = I^2+1;"; 731 execute(s); 730 s = s + ")"; 731 ring NCRING = create_ring("(0, I)", s, "dp"); 732 minpoly = I^2+1; 732 733 short = 0; 733 734 exportto(Top, NCRING); -
Singular/LIB/polymake.lib
r6645dd r85c8c60 617 617 // create a ring whose variables are indexed by the points in 618 618 // boundary resp. by interior 619 string rst=" ring cyclering=0,(u"+string(interior[1])+string(interior[2]);619 string rst="(u"+string(interior[1])+string(interior[2]); 620 620 for (j=1;j<=size(boundary);j++) 621 621 { 622 622 rst=rst+",u"+string(boundary[j][1])+string(boundary[j][2]); 623 623 } 624 rst=rst+"),lp;"; 625 execute(rst); 626 /*string rst="(u"+string(interior[1])+string(interior[2]); 627 for (j=1;j<=size(boundary);j++) 628 { 629 rst=rst+",u"+string(boundary[j][1])+string(boundary[j][2]); 630 } 631 rst=rst+")"; 632 ring cyclering = create_ring(0, rst, "lp"); */ 624 rst=rst+")"; 625 ring cyclering = create_ring(0, rst, "lp"); 633 626 // add the first and second point at the end of boundary 634 627 boundary[size(boundary)+1]=boundary[1];
Note: See TracChangeset
for help on using the changeset viewer.