- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FragmentationAction/FragmentationAction.cpp
rce7fdc r07a47e 25 25 #include "CodePatterns/Log.hpp" 26 26 #include "CodePatterns/Verbose.hpp" 27 #include "Fragmentation/Fragmentation.hpp" 28 #include "Fragmentation/HydrogenSaturation_enum.hpp" 27 29 #include "Graph/DepthFirstSearchAnalysis.hpp" 28 30 #include "molecule.hpp" … … 49 51 getParametersfromValueStorage(); 50 52 53 LOG(0, "STATUS: Fragmenting molecular system with current connection matrix maximum bond distance " 54 << params.distance << " up to " 55 << params.order << " order. Fragment files begin with " 56 << params.prefix << " and are stored as: " 57 << params.types << "." << std::endl); 58 51 59 DepthFirstSearchAnalysis DFS; 52 60 for (World::MoleculeSelectionConstIterator iter = World::getInstance().beginMoleculeSelection(); iter != World::getInstance().endMoleculeSelection(); ++iter) { … … 56 64 start = clock(); 57 65 if (mol->hasBondStructure()) { 58 LOG(1, "STAUS: Fragmenting molecule with current connection matrix ..."); 59 ExitFlag = mol->FragmentMolecule(params.order, params.path, DFS); 66 Fragmentation Fragmenter(mol, params.DoSaturation ? DoSaturate : DontSaturate); 67 Fragmenter.setOutputTypes(params.types); 68 ExitFlag = Fragmenter.FragmentMolecule(params.order, params.prefix, DFS); 60 69 } 61 70 World::getInstance().setExitFlag(ExitFlag);
Note:
See TracChangeset
for help on using the changeset viewer.