Changeset a68d44 for molecuilder/src/builder.cpp
- Timestamp:
- Nov 26, 2009, 11:40:01 AM (16 years ago)
- Children:
- 2c0e4e, 9600a7
- Parents:
- 013ad57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
r013ad57 ra68d44 1574 1574 else { 1575 1575 Log() << Verbose(2) << "File found and parsed." << endl; 1576 mol->SetNameFromFilename(argv[argptr]); 1577 molecules->ListOfMolecules.remove(mol); 1578 molecules->DissectMoleculeIntoConnectedSubgraphs(mol,&configuration); 1579 delete(mol); 1580 if (molecules->ListOfMolecules.size() != 0) { 1581 for (MoleculeList::iterator ListRunner = molecules->ListOfMolecules.begin(); ListRunner != molecules->ListOfMolecules.end(); ListRunner++) 1582 if ((*ListRunner)->ActiveFlag) { 1583 mol = *ListRunner; 1584 break; 1585 } 1586 } 1576 // @TODO rather do the dissection afterwards 1577 // mol->SetNameFromFilename(argv[argptr]); 1578 // molecules->ListOfMolecules.remove(mol); 1579 // molecules->DissectMoleculeIntoConnectedSubgraphs(mol,&configuration); 1580 // delete(mol); 1581 // if (molecules->ListOfMolecules.size() != 0) { 1582 // for (MoleculeList::iterator ListRunner = molecules->ListOfMolecules.begin(); ListRunner != molecules->ListOfMolecules.end(); ListRunner++) 1583 // if ((*ListRunner)->ActiveFlag) { 1584 // mol = *ListRunner; 1585 // break; 1586 // } 1587 // } 1587 1588 configPresent = present; 1588 1589 } … … 1803 1804 start = clock(); 1804 1805 LCList = new LinkedCell(Boundary, atof(argv[argptr])*2.); 1805 FindNonConvexBorder(Boundary, T, LCList, atof(argv[argptr]), argv[argptr+1]); 1806 if (!FindNonConvexBorder(Boundary, T, LCList, atof(argv[argptr]), argv[argptr+1])) 1807 ExitFlag = 255; 1806 1808 //FindDistributionOfEllipsoids(T, &LCList, N, number, filename.c_str()); 1807 1809 end = clock();
Note:
See TracChangeset
for help on using the changeset viewer.