Ignore:
Timestamp:
May 8, 2008, 4:18:07 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
a3ff7b2
Parents:
d88597
Message:

molecule::CheckOrderAtSite() returns bool and used as threshold criterium to break while in molecule::FragmentMolecule()

As we are now near the end of the switch to adaptive increase of the bond order, the first step was to increment the OrderAtSite on all sites equally. This is now implemented. CheckOrderAtSite() checks whether the order is still below the desired value at one site and if so continues. In this while-loop we fill the RootStack and call BOSSANOVA. The sequence of AssignKeySets.. and FillRootStack... was flipped for this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    rd88597 r461e93  
    340340  /// Fragment molecule by two different approaches:
    341341  void FragmentMolecule(ofstream *out, int Order, config *configuration);
    342   void CheckOrderAtSite(ofstream *out, bool &FragmentationToDo, int Order);
     342  bool CheckOrderAtSite(ofstream *out, int Order);
    343343  bool StoreAdjacencyToFile(ofstream *out, char *path);
    344344  bool CheckAdjacencyFileAgainstMolecule(ofstream *out, char *path, atom **ListOfAtoms);
Note: See TracChangeset for help on using the changeset viewer.