Changeset f5724f for src/Actions/PotentialAction
- Timestamp:
- Aug 12, 2013, 11:30:33 AM (12 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:
- 93909a
- Parents:
- 24e19e
- git-author:
- Frederik Heber <heber@…> (07/26/13 09:08:31)
- git-committer:
- Frederik Heber <heber@…> (08/12/13 11:30:33)
- Location:
- src/Actions/PotentialAction
- Files:
-
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/PotentialAction/FitParticleChargesAction.cpp
r24e19e rf5724f 50 50 #include <string> 51 51 52 #include "Actions/ FragmentationAction/FitParticleChargesAction.hpp"52 #include "Actions/PotentialAction/FitParticleChargesAction.hpp" 53 53 54 54 #include "Potentials/PartialNucleiChargeFitter.hpp" … … 109 109 } 110 110 111 Action::state_ptr FragmentationFitParticleChargesAction::performCall() {111 Action::state_ptr PotentialFitParticleChargesAction::performCall() { 112 112 113 113 // fragment specifies the homology fragment to use … … 155 155 } 156 156 157 Action::state_ptr FragmentationFitParticleChargesAction::performUndo(Action::state_ptr _state) {157 Action::state_ptr PotentialFitParticleChargesAction::performUndo(Action::state_ptr _state) { 158 158 return Action::success; 159 159 } 160 160 161 Action::state_ptr FragmentationFitParticleChargesAction::performRedo(Action::state_ptr _state){161 Action::state_ptr PotentialFitParticleChargesAction::performRedo(Action::state_ptr _state){ 162 162 return Action::success; 163 163 } 164 164 165 bool FragmentationFitParticleChargesAction::canUndo() {165 bool PotentialFitParticleChargesAction::canUndo() { 166 166 return false; 167 167 } 168 168 169 bool FragmentationFitParticleChargesAction::shouldUndo() {169 bool PotentialFitParticleChargesAction::shouldUndo() { 170 170 return false; 171 171 } -
src/Actions/PotentialAction/FitParticleChargesAction.def
r24e19e rf5724f 33 33 34 34 // some defines for all the names, you may use ACTION, STATE and PARAMS 35 #define CATEGORY Fragmentation36 #define MENUNAME " fragmentation"37 #define MENUPOSITION 935 #define CATEGORY Potential 36 #define MENUNAME "potential" 37 #define MENUPOSITION 4 38 38 #define ACTIONNAME FitParticleCharges 39 39 #define TOKEN "fit-particle-charges" -
src/Actions/PotentialAction/FitPotentialAction.cpp
r24e19e rf5724f 47 47 #include <sstream> 48 48 49 #include "Actions/ FragmentationAction/FitPotentialAction.hpp"49 #include "Actions/PotentialAction/FitPotentialAction.hpp" 50 50 51 51 #include "CodePatterns/Log.hpp" … … 113 113 } 114 114 115 Action::state_ptr FragmentationFitPotentialAction::performCall() {115 Action::state_ptr PotentialFitPotentialAction::performCall() { 116 116 // fragment specifies the homology fragment to use 117 117 SerializablePotential::ParticleTypes_t fragmentnumbers; … … 211 211 FunctionModel *model = new CompoundPotential(graph); 212 212 ASSERT( model != NULL, 213 " FragmentationFitPotentialAction::performCall() - model is NULL.");213 "PotentialFitPotentialAction::performCall() - model is NULL."); 214 214 215 215 /******************** TRAINING ********************/ … … 339 339 } 340 340 341 Action::state_ptr FragmentationFitPotentialAction::performUndo(Action::state_ptr _state) {341 Action::state_ptr PotentialFitPotentialAction::performUndo(Action::state_ptr _state) { 342 342 return Action::success; 343 343 } 344 344 345 Action::state_ptr FragmentationFitPotentialAction::performRedo(Action::state_ptr _state){345 Action::state_ptr PotentialFitPotentialAction::performRedo(Action::state_ptr _state){ 346 346 return Action::success; 347 347 } 348 348 349 bool FragmentationFitPotentialAction::canUndo() {349 bool PotentialFitPotentialAction::canUndo() { 350 350 return false; 351 351 } 352 352 353 bool FragmentationFitPotentialAction::shouldUndo() {353 bool PotentialFitPotentialAction::shouldUndo() { 354 354 return false; 355 355 } -
src/Actions/PotentialAction/FitPotentialAction.def
r24e19e rf5724f 42 42 43 43 // some defines for all the names, you may use ACTION, STATE and PARAMS 44 #define CATEGORY Fragmentation45 #define MENUNAME " fragmentation"46 #define MENUPOSITION 644 #define CATEGORY Potential 45 #define MENUNAME "potential" 46 #define MENUPOSITION 3 47 47 #define ACTIONNAME FitPotential 48 48 #define TOKEN "fit-potential" -
src/Actions/PotentialAction/ParseHomologiesAction.cpp
r24e19e rf5724f 47 47 #include "World.hpp" 48 48 49 #include "Actions/ FragmentationAction/ParseHomologiesAction.hpp"49 #include "Actions/PotentialAction/ParseHomologiesAction.hpp" 50 50 51 51 using namespace MoleCuilder; … … 76 76 } 77 77 78 Action::state_ptr FragmentationParseHomologiesAction::performCall()78 Action::state_ptr PotentialParseHomologiesAction::performCall() 79 79 { 80 80 // append all keysets to homology file … … 91 91 } 92 92 93 Action::state_ptr FragmentationParseHomologiesAction::performUndo(Action::state_ptr _state) {93 Action::state_ptr PotentialParseHomologiesAction::performUndo(Action::state_ptr _state) { 94 94 return Action::success; 95 95 } 96 96 97 Action::state_ptr FragmentationParseHomologiesAction::performRedo(Action::state_ptr _state){97 Action::state_ptr PotentialParseHomologiesAction::performRedo(Action::state_ptr _state){ 98 98 return Action::success; 99 99 } 100 100 101 bool FragmentationParseHomologiesAction::canUndo() {101 bool PotentialParseHomologiesAction::canUndo() { 102 102 return false; 103 103 } 104 104 105 bool FragmentationParseHomologiesAction::shouldUndo() {105 bool PotentialParseHomologiesAction::shouldUndo() { 106 106 return false; 107 107 } -
src/Actions/PotentialAction/ParseHomologiesAction.def
r24e19e rf5724f 24 24 25 25 // some defines for all the names, you may use ACTION, STATE and PARAMS 26 #define CATEGORY Fragmentation27 #define MENUNAME " fragmentation"28 #define MENUPOSITION 726 #define CATEGORY Potential 27 #define MENUNAME "potential" 28 #define MENUPOSITION 1 29 29 #define ACTIONNAME ParseHomologies 30 30 #define TOKEN "parse-homologies" -
src/Actions/PotentialAction/SaveHomologiesAction.cpp
r24e19e rf5724f 47 47 #include "World.hpp" 48 48 49 #include "Actions/ FragmentationAction/SaveHomologiesAction.hpp"49 #include "Actions/PotentialAction/SaveHomologiesAction.hpp" 50 50 51 51 using namespace MoleCuilder; … … 79 79 } 80 80 81 Action::state_ptr FragmentationSaveHomologiesAction::performCall()81 Action::state_ptr PotentialSaveHomologiesAction::performCall() 82 82 { 83 83 if (!params.homology_file.get().empty()) { … … 93 93 } 94 94 95 Action::state_ptr FragmentationSaveHomologiesAction::performUndo(Action::state_ptr _state) {95 Action::state_ptr PotentialSaveHomologiesAction::performUndo(Action::state_ptr _state) { 96 96 return Action::success; 97 97 } 98 98 99 Action::state_ptr FragmentationSaveHomologiesAction::performRedo(Action::state_ptr _state){99 Action::state_ptr PotentialSaveHomologiesAction::performRedo(Action::state_ptr _state){ 100 100 return Action::success; 101 101 } 102 102 103 bool FragmentationSaveHomologiesAction::canUndo() {103 bool PotentialSaveHomologiesAction::canUndo() { 104 104 return false; 105 105 } 106 106 107 bool FragmentationSaveHomologiesAction::shouldUndo() {107 bool PotentialSaveHomologiesAction::shouldUndo() { 108 108 return false; 109 109 } -
src/Actions/PotentialAction/SaveHomologiesAction.def
r24e19e rf5724f 26 26 27 27 // some defines for all the names, you may use ACTION, STATE and PARAMS 28 #define CATEGORY Fragmentation29 #define MENUNAME " fragmentation"30 #define MENUPOSITION 828 #define CATEGORY Potential 29 #define MENUNAME "potential" 30 #define MENUPOSITION 2 31 31 #define ACTIONNAME SaveHomologies 32 32 #define TOKEN "save-homologies"
Note:
See TracChangeset
for help on using the changeset viewer.