Changeset f47e00b for src/Actions/FragmentationAction
- Timestamp:
- Apr 29, 2014, 12:42:43 PM (11 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:
- 9bac15
- Parents:
- 237f93
- git-author:
- Frederik Heber <heber@…> (01/11/14 20:57:55)
- git-committer:
- Frederik Heber <heber@…> (04/29/14 12:42:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FragmentationAction/MolecularDynamicsAction.hpp
r237f93 rf47e00b 21 21 22 22 #endif /* MOLECULARDYNAMICSACTION_HPP_ */ 23 24 //// some derived names: if CATEGORY is not given, we don't prefix with it25 //#ifdef CATEGORY26 //#define ACTION BOOST_PP_CAT(CATEGORY, BOOST_PP_CAT(ACTIONNAME, Action))27 //#define COMMAND BOOST_PP_CAT(CATEGORY, ACTIONNAME)28 //#define PARAMS BOOST_PP_CAT(CATEGORY, BOOST_PP_CAT(ACTIONNAME, Parameters))29 //#else30 //#define ACTION BOOST_PP_CAT(ACTIONNAME, Action)31 //#define COMMAND ACTIONNAME32 //#define PARAMS BOOST_PP_CAT(ACTIONNAME, Parameters)33 //#endif34 //// check if no lists given35 //#ifndef paramtypes36 //#define MAXPARAMTYPES 037 //#else38 //#define MAXPARAMTYPES BOOST_PP_SEQ_SIZE(paramtypes)39 //#endif40 //#ifndef paramdefaults41 //#define MAXPARAMDEFAULTS 042 //#else43 //#define MAXPARAMDEFAULTS BOOST_PP_SEQ_SIZE(paramdefaults)44 //#endif45 //46 //namespace MoleCuilder {47 //48 //// print a list of type ref followed, i.e. "int i, double position"49 //#define type_list(z,n,TYPELIST, VARLIST) \50 // BOOST_PP_COMMA_IF(n)\51 // BOOST_PP_SEQ_ELEM(n, TYPELIST) \52 // BOOST_PP_SEQ_ELEM(n, VARLIST)53 //54 //void COMMAND(55 //#if defined paramtypes && defined paramreferences56 //#define BOOST_PP_LOCAL_MACRO(n) type_list(~, n, paramtypes, paramreferences)57 //#define BOOST_PP_LOCAL_LIMITS (0, MAXPARAMTYPES-1)58 //#include BOOST_PP_LOCAL_ITERATE()59 //#endif60 // );61 //62 //class FragmentationMolecularDynamicsAction;63 //64 //template <>65 //class ActionTraits<ACTION> : public ActionTrait {66 //public:67 // ActionTraits() :68 //#ifndef SHORTFORM69 // ActionTrait(OptionTrait(TOKEN, &typeid(void), DESCRIPTION, std::string()))70 //#else71 // ActionTrait(OptionTrait(TOKEN, &typeid(void), DESCRIPTION, std::string(), SHORTFORM))72 //#endif /* SHORTFORM */73 // {74 // // initialize remainder of action info75 //#ifdef MENUNAME76 // MenuTitle = MENUNAME;77 //#endif78 //#ifdef MENUPOSITION79 // MenuPosition = MENUPOSITION;80 //#endif81 //82 // // we got no options to initialize83 // }84 //85 // virtual ~ActionTraits() {86 // //std::cout << "ActionTraits<" << BOOST_PP_STRINGIZE(ACTION) << ">::~ActionTraits() on instance " << this << " with name " << getName() << " called." << std::endl;87 // }88 //};89 //90 //class FragmentationMolecularDynamicsAction : public MakroAction91 //{92 //public:93 // FragmentationMolecularDynamicsAction();94 // virtual ~FragmentationMolecularDynamicsAction();95 //96 // // must be called after all primitive actions are present97 // void prepare(ActionRegistry &AR);98 // // must be called before alle primitive actions are removed99 // void unprepare(ActionRegistry &AR);100 //101 // virtual ActionState::ptr performCall();102 // virtual ActionState::ptr performUndo(ActionState::ptr);103 // virtual ActionState::ptr performRedo(ActionState::ptr);104 //105 //private:106 // //!> flag to check whether actions have been prepared107 // static bool isPrepared;108 // //!> sequence of actions for this macro action109 // static ActionSequence actions;110 //};111 //112 //}113 //114 //#undef ACTION115 //#undef COMMAND116 //#undef COMMANDFULL117 //#undef PARAMS118 //119 //#undef ACTIONNAME120 //#undef CATEGORY121 //#undef MENUNAME122 //#undef MENUPOSITION123 //#undef TOKEN124 //125 //#undef DESCRIPTION126 //#undef SHORTFORM127 //128 //#endif /* MOLECULARDYNAMICSACTION_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.