Changeset 53e33d9 in git
- Timestamp:
- Mar 27, 2009, 1:21:27 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- e908810c8dd426652b64941fd24e8b2008c9393d
- Parents:
- a9431ce0768900f372ea152334160e89ebab527c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.cc
ra9431c r53e33d9 2 2 Compute the Groebner fan of an ideal 3 3 $Author: monerjan $ 4 $Date: 2009-03-2 6 10:30:21$5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.2 2 2009-03-26 10:30:21monerjan Exp $6 $Id: gfan.cc,v 1.2 2 2009-03-26 10:30:21monerjan Exp $4 $Date: 2009-03-27 12:21:27 $ 5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.23 2009-03-27 12:21:27 monerjan Exp $ 6 $Id: gfan.cc,v 1.23 2009-03-27 12:21:27 monerjan Exp $ 7 7 */ 8 8 … … 44 44 /** 45 45 *\brief Class facet 46 * Implements the facet structure 46 * Implements the facet structure as a linked list 47 47 * 48 48 */ … … 94 94 95 95 public: 96 /** Default constructor. */ 96 97 gcone() 97 98 { … … 101 102 gcone(int); //constructor with dimension 102 103 ~gcone(); //destructor 104 /** Pointer to the first facet */ 103 105 facet *facetPtr; //Will hold the adress of the first facet 104 106 poly gcMarkedTerm; //marked terms of the cone's Groebner basis 105 107 ideal gcBasis; //GB of the cone 106 108 gcone *next; //Pointer to *previous* cone in search tree 107 109 void getConeNormals(); //Compute 108 110 void flip(); //Compute "the other side" 109 111 void remRedFacets(); //Remove redundant facets of the cone NOT NEEDED since this is already done by cddlib while compunting the normals … … 322 324 #endif 323 325 ring rootRing; // The ring associated to the target ordering 324 rRingOrder_t t =ringorder_dp;326 rRingOrder_t t; 325 327 326 328 ideal res; … … 330 332 331 333 rootRing=rCopy0(currRing); 332 rootRing=rInit(0,numvar,t); 334 rootRing->order[0]=ringorder_dp; 335 //t=rootRing->order[0]; 336 rootRing=rInit(0,2,rootRing->order); 337 rootRing=rDefault(currRing->ch,numvar,currRing->names); 333 338 rComplete(rootRing); 334 339 rChangeCurrRing(rootRing); 335 340 cout << "The current ring is " << endl; 336 341 rWrite(rootRing); 337 342 338 343 gcone *gcRoot = new gcone(); //Instantiate the sink 339 344 gcone *gcAct;
Note: See TracChangeset
for help on using the changeset viewer.