Changeset f14a52
- Timestamp:
- Jun 23, 2008, 11:23:50 AM (17 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 1f066fe
- Parents:
- 256520
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/molecules.cpp
r256520 rf14a52 3123 3123 // *out << ", whose son is " << *SonList[OtherFather->nr] << "." << endl; 3124 3124 if (OtherFather->nr > FatherOfRunner->nr) { // add bond (nr check is for adding only one of both variants: ab, ba) 3125 // *out << Verbose(3) << "Adding Bond: " << Leaf->AddBond(Runner, SonList[OtherFather->nr], ListOfBondsPerAtom[FatherOfRunner->nr][i]->BondDegree) << "." << endl; 3125 // *out << Verbose(3) << "Adding Bond: "; 3126 // *out << 3127 Leaf->AddBond(Runner, SonList[OtherFather->nr], ListOfBondsPerAtom[FatherOfRunner->nr][i]->BondDegree); 3128 // *out << "." << endl; 3126 3129 //NumBonds[Runner->nr]++; 3127 3130 } else { … … 3743 3746 bool flag = true; 3744 3747 3745 //*out << Verbose(1) << "Begin of ScanForPeriodicCorrection." << endl;3748 *out << Verbose(1) << "Begin of ScanForPeriodicCorrection." << endl; 3746 3749 3747 3750 ColorList = (enum Shading *) Malloc(sizeof(enum Shading)*AtomCount, "molecule::ScanForPeriodicCorrection: *ColorList"); … … 3757 3760 for (int i=NDIM;i--;) { 3758 3761 tmp = fabs(Binder->leftatom->x.x[i] - Binder->rightatom->x.x[i]); 3759 //*out << Verbose(3) << "Checking " << i << "th distance of " << *Binder->leftatom << " to " << *Binder->rightatom << ": " << tmp << "." << endl;3762 *out << Verbose(3) << "Checking " << i << "th distance of " << *Binder->leftatom << " to " << *Binder->rightatom << ": " << tmp << "." << endl; 3760 3763 if (tmp > BondDistance) { 3761 3764 OtherBinder = Binder->next; // note down binding partner for later re-insertion 3762 3765 unlink(Binder); // unlink bond 3763 //*out << Verbose(2) << "Correcting at bond " << *Binder << "." << endl;3766 *out << Verbose(2) << "Correcting at bond " << *Binder << "." << endl; 3764 3767 flag = true; 3765 3768 break; … … 3775 3778 } 3776 3779 TranslationVector.MatrixMultiplication(matrix); 3777 //*out << "Translation vector is ";3778 //TranslationVector.Output(out);3779 //*out << endl;3780 *out << "Translation vector is "; 3781 TranslationVector.Output(out); 3782 *out << endl; 3780 3783 // apply to all atoms of first component via BFS 3781 3784 for (int i=AtomCount;i--;) … … 3799 3802 link(Binder, OtherBinder); 3800 3803 } else { 3801 //*out << Verbose(2) << "No corrections for this fragment." << endl;3804 *out << Verbose(2) << "No corrections for this fragment." << endl; 3802 3805 } 3803 3806 //delete(CompStack); … … 3808 3811 Free((void **)&ColorList, "molecule::ScanForPeriodicCorrection: *ColorList"); 3809 3812 Free((void **)&matrix, "molecule::ScanForPeriodicCorrection: *matrix"); 3810 //*out << Verbose(1) << "End of ScanForPeriodicCorrection." << endl;3813 *out << Verbose(1) << "End of ScanForPeriodicCorrection." << endl; 3811 3814 }; 3812 3815
Note:
See TracChangeset
for help on using the changeset viewer.