Changeset a83171 for molecuilder/src/moleculelist.cpp
- Timestamp:
- Mar 3, 2010, 2:53:07 PM (16 years ago)
- Children:
- 328418d, 3d575e
- Parents:
- bd506d
- git-author:
- Frederik Heber <heber@…> (03/03/10 14:46:13)
- git-committer:
- Frederik Heber <heber@…> (03/03/10 14:53:07)
- File:
-
- 1 edited
-
molecuilder/src/moleculelist.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/moleculelist.cpp
rbd506d ra83171 786 786 787 787 // 1. dissect the molecule into connected subgraphs 788 configuration->BG->ConstructBondGraph(mol); 788 if (configuration->BG->ConstructBondGraph(mol)) { 789 delete (mol); 790 eLog() << Verbose(1) << "There are no bonds." << endl; 791 return; 792 } 789 793 790 794 // 2. scan for connected subgraphs … … 793 797 Subgraphs = mol->DepthFirstSearchAnalysis(BackEdgeStack); 794 798 delete(BackEdgeStack); 799 if ((Subgraphs == NULL) || (Subgraphs->next == NULL)) { 800 delete (mol); 801 eLog() << Verbose(1) << "There are no atoms." << endl; 802 return; 803 } 795 804 796 805 // 3. dissect (the following construct is needed to have the atoms not in the order of the DFS, but in
Note:
See TracChangeset
for help on using the changeset viewer.
