Changeset 992bd5


Ignore:
Timestamp:
May 18, 2012, 3:24:37 PM (13 years ago)
Author:
Michael Ankele <ankele@…>
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:
85d89b
Parents:
c513b7
git-author:
Michael Ankele <ankele@…> (04/10/12 12:53:06)
git-committer:
Michael Ankele <ankele@…> (05/18/12 15:24:37)
Message:

fixed some typoes in comments

Location:
src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Action.hpp

    rc513b7 r992bd5  
    185185
    186186  /**
    187    * This method is called by the Histor, when a redo is performed. It is
     187   * This method is called by the History, when a redo is performed. It is
    188188   * provided with the corresponding state produced by the undo method and
    189189   * needs to produce a State that can then be used for another undo.
     
    192192
    193193  /**
    194    * This special state can be used to indicate that the Action was successfull
     194   * This special state can be used to indicate that the Action was successful
    195195   * without providing a special state. Use this if your Action does not need
    196    * a speciallized state.
     196   * a specialized state.
    197197   */
    198198  static state_ptr success;
     
    200200  /**
    201201   * This special state can be returned, to indicate that the action could not do it's
    202    * work, was abborted by the user etc. If you return this state make sure to transactionize
     202   * work, was aborted by the user etc. If you return this state make sure to transactionize
    203203   * your Actions and unroll the complete transaction before this is returned.
    204204   */
     
    268268 * It is implementing a memento pattern. The base class is completely empty,
    269269 * since no general state internals can be given. The Action performing
    270  * the Undo should downcast to the apropriate type.
     270 * the Undo should downcast to the appropriate type.
    271271 */
    272272class ActionState{
  • src/Parameters/ContinuousValue_impl.hpp

    rc513b7 r992bd5  
    175175}
    176176
    177 /** Getter fot the set value.
     177/** Getter for the set value.
    178178 *
    179179 * We check whether it has been set, otherwise we throw an Assert::AssertionFailure.
  • src/UIElements/Menu/Menu.cpp

    rc513b7 r992bd5  
    106106void Menu::populateActions()
    107107{
    108   // go through all actions and add those beloning to this menu
     108  // go through all actions and add those belonging to this menu
    109109  ActionRegistry &AR = ActionRegistry::getInstance();
    110110  for (ActionRegistry::const_iterator iter = AR.getBeginIter();
  • src/World.cpp

    rc513b7 r992bd5  
    505505  const molecule *mol = _mol;
    506506  void (World::*func)(const atom*) = &World::unselectAtom; // needed for type resolution of overloaded function
    507   for_each(mol->begin(),mol->end(),bind1st(mem_fun(func),this)); // func is unsselect... see above
     507  for_each(mol->begin(),mol->end(),bind1st(mem_fun(func),this)); // func is unselect... see above
    508508}
    509509
  • src/World.hpp

    rc513b7 r992bd5  
    290290   * Unless you are calling this method from inside an atom don't fiddle with the third parameter.
    291291   *
    292    * Return value indicates wether the change could be done or not.
     292   * Return value indicates whether the change could be done or not.
    293293   */
    294294  bool changeAtomId(atomId_t oldId, atomId_t newId, atom* target=0);
     
    296296  /**
    297297   * used when changing an molecule Id.
    298    * Unless you are calling this method from inside an moleucle don't fiddle with the third parameter.
    299    *
    300    * Return value indicates wether the change could be done or not.
     298   * Unless you are calling this method from inside an molecule don't fiddle with the third parameter.
     299   *
     300   * Return value indicates whether the change could be done or not.
    301301   */
    302302  bool changeMoleculeId(moleculeId_t oldId, moleculeId_t newId, molecule* target=0);
Note: See TracChangeset for help on using the changeset viewer.