Ignore:
Timestamp:
May 8, 2008, 12:04:42 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
255d13
Parents:
b8eb3a
Message:

new function molecule::CheckOrderAtSite and molecule::FragmentMolecule() abstractized

molecule::CheckOrderAtSite() just checks a given order against atom:AdaptiveOrder and whether there's still something to do for the fragmentation.
MoleculeLeafClass::FillBondStructureFromReference, CreateFatherLookupTable, along with the molecule::CheckOrderAtSite are used to make the structure of molecule::FragmentMolecule clearer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    rb8eb3a r9c3496  
    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);
    342343  bool StoreAdjacencyToFile(ofstream *out, char *path);
    343344  bool CheckAdjacencyFileAgainstMolecule(ofstream *out, char *path, atom **ListOfAtoms);
     
    408409
    409410  bool AddLeaf(molecule *ptr, MoleculeLeafClass *Previous);
     411  bool FillBondStructureFromReference(ofstream *out, molecule *reference, int &FragmentCounter, atom ***&ListOfLocalAtoms, bool FreeList = false);
    410412};
    411413
Note: See TracChangeset for help on using the changeset viewer.