Changeset 6e51338 in git for kernel/gfan.cc
- Timestamp:
- Jul 4, 2009, 10:55:44 AM (14 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 9d46957d23b09bf46fb5ef240e8c05a7432fe1e1
- Parents:
- 52696b20f5e20bdcd5f1882fed6a5d8305356070
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.cc
r52696b r6e51338 2 2 Compute the Groebner fan of an ideal 3 3 $Author: monerjan $ 4 $Date: 2009-07-0 3 14:39:49$5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.7 1 2009-07-03 14:39:49monerjan Exp $6 $Id: gfan.cc,v 1.7 1 2009-07-03 14:39:49monerjan Exp $4 $Date: 2009-07-04 08:55:44 $ 5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.72 2009-07-04 08:55:44 monerjan Exp $ 6 $Id: gfan.cc,v 1.72 2009-07-04 08:55:44 monerjan Exp $ 7 7 */ 8 8 … … 318 318 */ 319 319 int numFacets; //#of facets of the cone 320 321 /** 322 * At least as a workaround we store the irredundant facets of a matrix here. 323 * Otherwise, since we throw away non-flippable facets, facets2Matrix will not 324 * yield all the necessary information 325 */ 326 dd_MatrixPtr ddFacets; //Matrix to store irredundant facets of the cone 320 327 321 328 /** Contains the Groebner basis of the cone. Is set by gcone::getGB(ideal I)*/ … … 613 620 ddrows = ddineq->rowsize; //Size of the matrix with redundancies removed 614 621 ddcols = ddineq->colsize; 622 623 //ddCreateMatrix(ddrows,ddcols+1); 624 ddFacets = dd_CopyMatrix(ddineq); 615 625 #ifdef gfan_DEBUG 616 626 // cout << "Having removed redundancies, the normals now read:" << endl; … … 741 751 dd_rowindex newpos; 742 752 743 ddineq = facets2Matrix(gc); //get a matrix representation of the cone 753 //ddineq = facets2Matrix(gc); //get a matrix representation of the cone 754 ddineq = dd_CopyMatrix(gc.ddFacets); 744 755 745 756 /*Now set appropriate linearity*/ … … 1954 1965 1955 1966 } 1956 sl2Act = sl2Act->next; 1967 else 1968 { 1969 sl2Act = sl2Act->next; 1970 codim2Act = codim2Act->next; 1971 } 1957 1972 } 1958 1973 if(doNotAdd==FALSE) 1959 1974 break; 1960 codim2Act = codim2Act->next;1975 //codim2Act = codim2Act->next; 1961 1976 } 1962 1977 if(doNotAdd==TRUE)
Note: See TracChangeset
for help on using the changeset viewer.