Changeset d48a16 for src/UIElements/Qt4/InstanceBoard/QtObservedBond.cpp
- Timestamp:
- Apr 20, 2016, 11:04:53 PM (9 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:
- e4b13a
- Parents:
- 96f14a
- git-author:
- Frederik Heber <heber@…> (03/23/16 10:02:43)
- git-committer:
- Frederik Heber <heber@…> (04/20/16 23:04:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/InstanceBoard/QtObservedBond.cpp
r96f14a rd48a16 128 128 boost::ref(subjectKilledCount), _1); 129 129 130 const boost::function<void ( const ObservedValue_Index_t)> bondSubjectKilled(130 const boost::function<void ()> bondSubjectKilled( 131 131 boost::bind(&QtObservedBond::countValuesSubjectKilled, 132 132 boost::ref(*this), … … 134 134 boost::bind(accessor, 135 135 getObservable(_bond.get())))); 136 const boost::function<void ( const ObservedValue_Index_t)> leftatomSubjectKilled(136 const boost::function<void ()> leftatomSubjectKilled( 137 137 boost::bind(&QtObservedBond::countValuesSubjectKilled, 138 138 boost::ref(*this), … … 140 140 boost::bind(accessor, 141 141 getObservable(_bond->leftatom)))); 142 const boost::function<void ( const ObservedValue_Index_t)> rightatomSubjectKilled(142 const boost::function<void ()> rightatomSubjectKilled( 143 143 boost::bind(&QtObservedBond::countValuesSubjectKilled, 144 144 boost::ref(*this), … … 146 146 boost::bind(accessor, 147 147 getObservable(_bond->rightatom)))); 148 const boost::function<void ( const ObservedValue_Index_t)> moleculeSubjectKilled(148 const boost::function<void ()> moleculeSubjectKilled( 149 149 boost::bind(&QtObservedBond::countValuesSubjectKilled, 150 150 boost::ref(*this), … … 588 588 const bondId_t _id, 589 589 const bond::ptr _bondref, 590 const boost::function<void( const ObservedValue_Index_t)> &_bondsubjectKilled,591 const boost::function<void( const ObservedValue_Index_t)> &_leftatomsubjectKilled,592 const boost::function<void( const ObservedValue_Index_t)> &_rightatomsubjectKilled,593 const boost::function<void( const ObservedValue_Index_t)> &_moleculesubjectKilled)590 const boost::function<void()> &_bondsubjectKilled, 591 const boost::function<void()> &_leftatomsubjectKilled, 592 const boost::function<void()> &_rightatomsubjectKilled, 593 const boost::function<void()> &_moleculesubjectKilled) 594 594 { 595 595 // fill ObservedValues: index first … … 622 622 BondDegreeUpdater(), 623 623 BondDegreeChannels, 624 _bondsubjectKilled, 625 BondIndexGetter); 624 _bondsubjectKilled); 626 625 _ObservedValues[leftAtomIndex] = new ObservedValue_wCallback<atomId_t, ObservedValue_Index_t>( 627 626 _bondref->leftatom, … … 630 629 leftAtomIndexUpdater(), 631 630 Observable::channels_t(1, AtomObservable::IndexChanged), 632 _leftatomsubjectKilled, 633 BondIndexGetter); 631 _leftatomsubjectKilled); 634 632 _ObservedValues[leftAtomElement] = new ObservedValue_wCallback<atomicNumber_t, ObservedValue_Index_t>( 635 633 _bondref->leftatom, … … 638 636 leftAtomElementUpdater(), 639 637 Observable::channels_t(1, AtomObservable::ElementChanged), 640 _leftatomsubjectKilled, 641 BondIndexGetter); 638 _leftatomsubjectKilled); 642 639 _ObservedValues[leftAtomPosition] = new ObservedValue_wCallback<Vector, ObservedValue_Index_t>( 643 640 _bondref->leftatom, … … 646 643 leftAtomPositionUpdater(), 647 644 Observable::channels_t(1, AtomObservable::PositionChanged), 648 _leftatomsubjectKilled, 649 BondIndexGetter); 645 _leftatomsubjectKilled); 650 646 _ObservedValues[rightAtomIndex] = new ObservedValue_wCallback<atomId_t, ObservedValue_Index_t>( 651 647 _bondref->rightatom, … … 654 650 rightAtomIndexUpdater(), 655 651 Observable::channels_t(1, AtomObservable::IndexChanged), 656 _rightatomsubjectKilled, 657 BondIndexGetter); 652 _rightatomsubjectKilled); 658 653 _ObservedValues[rightAtomElement] = new ObservedValue_wCallback<atomicNumber_t, ObservedValue_Index_t>( 659 654 _bondref->rightatom, … … 662 657 rightAtomElementUpdater(), 663 658 Observable::channels_t(1, AtomObservable::ElementChanged), 664 _rightatomsubjectKilled, 665 BondIndexGetter); 659 _rightatomsubjectKilled); 666 660 _ObservedValues[rightAtomPosition] = new ObservedValue_wCallback<Vector, ObservedValue_Index_t>( 667 661 _bondref->rightatom, … … 670 664 rightAtomPositionUpdater(), 671 665 Observable::channels_t(1, AtomObservable::PositionChanged), 672 _rightatomsubjectKilled, 673 BondIndexGetter); 666 _rightatomsubjectKilled); 674 667 _ObservedValues[moleculeIndex] = new ObservedValue_wCallback<moleculeId_t, ObservedValue_Index_t>( 675 668 _bondref->leftatom->getMolecule(), … … 678 671 MoleculeIndexUpdater(), 679 672 Observable::channels_t(1, AtomObservable::PositionChanged), 680 _moleculesubjectKilled, 681 BondIndexGetter); 673 _moleculesubjectKilled); 682 674 } 683 675
Note:
See TracChangeset
for help on using the changeset viewer.