Changeset bd506d
- Timestamp:
- Mar 3, 2010, 2:45:28 PM (15 years ago)
- Children:
- a83171
- Parents:
- 9565ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/boundary.cpp
r9565ec rbd506d 832 832 filler->CenterEdge(&Inserter); 833 833 filler->Center.Zero(); 834 Log() << Verbose(2) << "INFO: Filler molecule has the following bonds:" << endl; 835 Binder = filler->first; 836 while(Binder->next != filler->last) { 837 Binder = Binder->next; 838 Log() << Verbose(2) << " " << *Binder << endl; 839 } 834 840 835 841 filler->CountAtoms(); … … 922 928 continue; 923 929 } 924 925 // go through all bonds and add as well 926 Binder = filler->first; 927 while(Binder->next != filler->last) { 928 Binder = Binder->next; 929 if ((CopyAtoms[Binder->leftatom->nr] != NULL) && (CopyAtoms[Binder->rightatom->nr] != NULL)) { 930 Log() << Verbose(3) << "Adding Bond between " << *CopyAtoms[Binder->leftatom->nr] << " and " << *CopyAtoms[Binder->rightatom->nr]<< "." << endl; 931 Filling->AddBond(CopyAtoms[Binder->leftatom->nr], CopyAtoms[Binder->rightatom->nr], Binder->BondDegree); 932 } 930 } 931 // go through all bonds and add as well 932 Binder = filler->first; 933 while(Binder->next != filler->last) { 934 Binder = Binder->next; 935 if ((CopyAtoms[Binder->leftatom->nr] != NULL) && (CopyAtoms[Binder->rightatom->nr] != NULL)) { 936 Log() << Verbose(3) << "Adding Bond between " << *CopyAtoms[Binder->leftatom->nr] << " and " << *CopyAtoms[Binder->rightatom->nr]<< "." << endl; 937 Filling->AddBond(CopyAtoms[Binder->leftatom->nr], CopyAtoms[Binder->rightatom->nr], Binder->BondDegree); 933 938 } 934 939 }
Note:
See TracChangeset
for help on using the changeset viewer.