Changeset 5f697c for molecuilder/src/builder.cpp
- Timestamp:
- Oct 30, 2009, 9:05:30 AM (16 years ago)
- Children:
- b84ab4
- Parents:
- bc8155
- git-author:
- Frederik Heber <heber@…> (10/30/09 08:30:57)
- git-committer:
- Frederik Heber <heber@…> (10/30/09 09:05:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
rbc8155 r5f697c 53 53 #include "atom.hpp" 54 54 #include "bond.hpp" 55 #include "bondgraph.hpp" 55 56 #include "boundary.hpp" 56 57 #include "config.hpp" … … 840 841 } 841 842 if (mol->first->next != mol->last) // if connect matrix is present already, redo it 842 mol->CreateAdjacencyList((ofstream *)&cout, mol->BondDistance, configuration->GetIsAngstroem() );843 mol->CreateAdjacencyList((ofstream *)&cout, mol->BondDistance, configuration->GetIsAngstroem(), &BondGraph::CovalentMinMaxDistance, NULL); 843 844 // free memory 844 845 delete[](Elements); … … 896 897 cin >> bonddistance; 897 898 start = clock(); 898 mol->CreateAdjacencyList((ofstream *)&cout, bonddistance, configuration->GetIsAngstroem() );899 mol->CreateAdjacencyList((ofstream *)&cout, bonddistance, configuration->GetIsAngstroem(), &BondGraph::CovalentMinMaxDistance, NULL); 899 900 end = clock(); 900 901 cout << Verbose(0) << "Clocks for this operation: " << (end-start) << ", time: " << ((double)(end-start)/CLOCKS_PER_SEC) << "s." << endl; … … 1555 1556 class StackClass<bond *> *BackEdgeStack = NULL; 1556 1557 class StackClass<bond *> *LocalBackEdgeStack = NULL; 1557 mol->CreateAdjacencyList((ofstream *)&cout, atof(argv[argptr]), configuration.GetIsAngstroem() );1558 mol->CreateAdjacencyList((ofstream *)&cout, atof(argv[argptr]), configuration.GetIsAngstroem(), &BondGraph::CovalentMinMaxDistance, NULL); 1558 1559 Subgraphs = mol->DepthFirstSearchAnalysis((ofstream *)&cout, BackEdgeStack); 1559 1560 if (Subgraphs != NULL) { … … 1912 1913 cout << Verbose(0) << "Creating connection matrix..." << endl; 1913 1914 start = clock(); 1914 mol->CreateAdjacencyList((ofstream *)&cout, atof(argv[argptr++]), configuration.GetIsAngstroem() );1915 mol->CreateAdjacencyList((ofstream *)&cout, atof(argv[argptr++]), configuration.GetIsAngstroem(), &BondGraph::CovalentMinMaxDistance, NULL); 1915 1916 cout << Verbose(0) << "Fragmenting molecule with current connection matrix ..." << endl; 1916 1917 if (mol->first->next != mol->last) {
Note:
See TracChangeset
for help on using the changeset viewer.