Ignore:
Timestamp:
Oct 30, 2010, 6:44:29 PM (15 years ago)
Author:
Frederik Heber <heber@…>
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, Candidate_v1.7.0, 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:
fc192f
Parents:
2a6a2c
git-author:
Frederik Heber <heber@…> (10/26/10 10:43:36)
git-committer:
Frederik Heber <heber@…> (10/30/10 18:44:29)
Message:

All specialization of ActionTraits now contain specific information.

  • new defines in Action_impl_header.hpp: DEFAULTVALUE, DESCRiPTION, SHORTFORM, TYPEINFO.
  • i.e. removed the MapOfActions' short-wiring.
  • script used for extraction is in src/Actions/convert.sh.
  • we cause a compilation error if DESCRIPTION or TYPEINFO are missing.
  • FIX: added some typeinfos as void where missing.
Location:
src/Actions/MoleculeAction
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/BondFileAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "bond-file"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "name of the bond file"
     30#define SHORTFORM "A"
     31#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/ChangeNameAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "change-molname"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "change the name of a molecule"
     30#undef SHORTFORM
     31#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/CopyAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "copy-molecule"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "copies a molecule with all atoms and bonds"
     30#undef SHORTFORM
     31#define TYPEINFO &typeid(molecule)
  • src/Actions/MoleculeAction/FillVoidWithMoleculeAction.def

    r2a6a2c r24fbf3  
    2525#define TOKEN "fill-void"
    2626
     27
     28// finally the information stored in the ActionTrait specialization
     29#undef DEFAULTVALUE
     30#define DESCRIPTION "fill void space of box with a filler molecule"
     31#undef SHORTFORM
     32#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/FillWithMoleculeAction.def

    r2a6a2c r24fbf3  
    2525#define TOKEN "fill-molecule"
    2626
     27
     28// finally the information stored in the ActionTrait specialization
     29#undef DEFAULTVALUE
     30#define DESCRIPTION "fill around molecules' surface with a filler molecule"
     31#define SHORTFORM "F"
     32#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "linear-interpolate"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "linear interpolation in discrete steps between start and end position of a molecule"
     30#define SHORTFORM "L"
     31#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def

    r2a6a2c r24fbf3  
    2525#define TOKEN "rotate-self"
    2626
     27
     28// finally the information stored in the ActionTrait specialization
     29#undef DEFAULTVALUE
     30#define DESCRIPTION "rotates molecules by a specific angle around own center of gravity"
     31#undef SHORTFORM
     32#define TYPEINFO &typeid(double)
  • src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.def

    r2a6a2c r24fbf3  
    77
    88// all includes and forward declarations necessary for non-integral types below
     9#include "Actions/Values.hpp"
    910#include "LinearAlgebra/Vector.hpp"
     11
    1012class MoleculeListClass;
    1113
     
    2527#define TOKEN "rotate-to-pas"
    2628
     29
     30// finally the information stored in the ActionTrait specialization
     31#undef DEFAULTVALUE
     32#define DESCRIPTION "calculate the principal axis system of the specified molecule and rotate specified axis to align with main axis"
     33#define SHORTFORM "m"
     34#define TYPEINFO &typeid(VectorValue)
  • src/Actions/MoleculeAction/SaveAdjacencyAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "save-adjacency"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "name of the adjacency file to write to"
     30#define SHORTFORM "J"
     31#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/SaveBondsAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "save-bonds"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "name of the bonds file to write to"
     30#define SHORTFORM "j"
     31#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/SaveTemperatureAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "save-temperature"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "name of the temperature file to write to"
     30#define SHORTFORM "S"
     31#define TYPEINFO &typeid(std::string)
  • src/Actions/MoleculeAction/SuspendInWaterAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "suspend-in-water"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "suspend the given molecule in water such that in the domain the mean density is as specified"
     30#define SHORTFORM "u"
     31#define TYPEINFO &typeid(double)
  • src/Actions/MoleculeAction/VerletIntegrationAction.def

    r2a6a2c r24fbf3  
    2424#define TOKEN "verlet-integrate"
    2525
     26
     27// finally the information stored in the ActionTrait specialization
     28#undef DEFAULTVALUE
     29#define DESCRIPTION "perform verlet integration of a given force file"
     30#define SHORTFORM "P"
     31#define TYPEINFO &typeid(std::string)
Note: See TracChangeset for help on using the changeset viewer.