Changeset 23958d for src/Actions/MoleculeAction
- Timestamp:
- Jun 13, 2012, 5:39:13 PM (13 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:
- 361805
- Parents:
- 8453b3
- git-author:
- Frederik Heber <heber@…> (05/10/12 13:24:59)
- git-committer:
- Frederik Heber <heber@…> (06/13/12 17:39:13)
- Location:
- src/Actions/MoleculeAction
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/BondFileAction.def
r8453b3 r23958d 10 10 11 11 #include "Parameters/Validators/DummyValidator.hpp" 12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 12 13 13 14 // i.e. there is an integer with variable name Z that can be found in … … 15 16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 17 #define paramtypes (boost::filesystem::path)(unsigned int)(unsigned int) 17 #define paramvalids (DummyValidator< boost::filesystem::path >())(DummyValidator< unsigned int >())(DummyValidator< unsigned int >())18 18 #define paramtokens ("bond-file")("skiplines")("offset") 19 19 #define paramdescriptions ("name of the bond file")("number of header lines to skip")("offset to add to each id") 20 20 #define paramdefaults (NODEFAULT)("1")("0") 21 21 #define paramreferences (bondfile)(skiplines)(id_offset) 22 #define paramvalids \ 23 (FilePresentValidator()) \ 24 (DummyValidator< unsigned int >()) \ 25 (DummyValidator< unsigned int >()) 22 26 23 27 #undef statetypes -
src/Actions/MoleculeAction/ChangeNameAction.def
r8453b3 r23958d 15 15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 16 #define paramtypes (std::string) 17 #define paramvalids (DummyValidator< std::string >())18 17 #define paramtokens ("change-molname") 19 18 #define paramdescriptions ("new name of molecule") 20 19 #undef paramdefaults 21 20 #define paramreferences (name) 21 #define paramvalids \ 22 (DummyValidator< std::string >()) 22 23 23 24 #define statetypes (molecule*) -
src/Actions/MoleculeAction/CopyAction.def
r8453b3 r23958d 9 9 #include <vector> 10 10 11 #include "Parameters/Validators/ DummyValidator.hpp"11 #include "Parameters/Validators/Specific/BoxVectorValidator.hpp" 12 12 13 13 // i.e. there is an integer with variable name Z that can be found in … … 15 15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 16 #define paramtypes (Vector) 17 #define paramvalids (DummyValidator< Vector >())18 17 #define paramtokens ("position") 19 18 #define paramdescriptions ("position in R^3 space") 20 19 #undef paramdefaults 21 20 #define paramreferences (position) 21 #define paramvalids \ 22 (BoxVectorValidator()) 22 23 23 24 #define statetypes (const std::vector<moleculeId_t>) -
src/Actions/MoleculeAction/FillVoidWithMoleculeAction.def
r8453b3 r23958d 8 8 // all includes and forward declarations necessary for non-integral types below 9 9 #include "LinearAlgebra/Vector.hpp" 10 class MoleculeListClass;11 10 11 #include "LinearAlgebra/defs.hpp" 12 12 #include "Parameters/Validators/DummyValidator.hpp" 13 #include "Parameters/Validators/Ops_Validator.hpp" 14 #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" 15 #include "Parameters/Validators/Specific/BoxVectorValidator.hpp" 16 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 17 #include "Parameters/Validators/Specific/ParserFileValidator.hpp" 13 18 14 19 // i.e. there is an integer with variable name Z that can be found in … … 16 21 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 17 22 #define paramtypes (boost::filesystem::path)(Vector)(double)(double)(double)(double)(bool) 18 #define paramvalids (DummyValidator< boost::filesystem::path >())(DummyValidator< Vector >())(DummyValidator< double >())(DummyValidator< double >())(DummyValidator< double >())(DummyValidator< double >())(DummyValidator< bool >())19 23 #define paramtokens ("fill-void")("distances")("distance-to-molecule")("random-atom-displacement")("random-molecule-displacement")("distance-to-boundary")("DoRotate") 20 24 #define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("minimum distance to present molecules")("magnitude of random atom displacement")("magnitude of random molecule displacement")("minimum distance to boundary")("whether to rotate or not") 21 25 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")("0.")("0") 22 26 #define paramreferences (fillername)(distances)(boundary)(RandAtomDisplacement)(RandMoleculeDisplacement)(MinDistance)(DoRotate) 27 #define paramvalids \ 28 (FilePresentValidator() && ParserFileValidator()) \ 29 (BoxVectorValidator()) \ 30 (BoxLengthValidator()) \ 31 (BoxLengthValidator()) \ 32 (BoxLengthValidator()) \ 33 (BoxLengthValidator()) \ 34 (DummyValidator< bool >()) 23 35 24 36 #define statetypes (std::vector<molecule *>) -
src/Actions/MoleculeAction/FillWithMoleculeAction.def
r8453b3 r23958d 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include <boost/assign.hpp> 9 10 #include <boost/filesystem/path.hpp> 11 #include <vector> 10 12 #include "LinearAlgebra/Vector.hpp" 11 class MoleculeListClass;12 13 14 #include "Parameters/Validators/DiscreteValidator.hpp" 13 15 #include "Parameters/Validators/DummyValidator.hpp" 16 #include "Parameters/Validators/Ops_Validator.hpp" 17 #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" 18 #include "Parameters/Validators/Specific/BoxVectorValidator.hpp" 19 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 20 #include "Parameters/Validators/Specific/ParserFileValidator.hpp" 14 21 15 22 // i.e. there is an integer with variable name Z that can be found in … … 17 24 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 18 25 #define paramtypes (boost::filesystem::path)(Vector)(double)(double)(double)(double)(bool) 19 #define paramvalids (DummyValidator< boost::filesystem::path >())(DummyValidator< Vector >())(DummyValidator< double >())(DummyValidator< double >())(DummyValidator< double >())(DummyValidator< double >())(DummyValidator< bool >())20 26 #define paramtokens ("fill-molecule")("distances")("distance-to-molecule")("random-atom-displacement")("random-molecule-displacement")("MaxDistance")("DoRotate") 21 27 #define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("minimum distance to present molecules")("magnitude of random atom displacement")("magnitude of random molecule displacement")("maximum spatial distance")("whether to rotate or not") 22 28 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")("0.")("0") 23 29 #define paramreferences (fillername)(distances)(boundary)(RandAtomDisplacement)(RandMoleculeDisplacement)(MaxDistance)(DoRotate) 30 #define paramvalids \ 31 (FilePresentValidator() && ParserFileValidator()) \ 32 (BoxVectorValidator()) \ 33 (BoxLengthValidator()) \ 34 (BoxLengthValidator()) \ 35 (BoxLengthValidator()) \ 36 (BoxLengthValidator() || DiscreteValidator<double>(std::vector<double>(1,-1.))) \ 37 (DummyValidator< bool >()) 24 38 25 39 #define statetypes (std::vector<molecule *>) -
src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.def
r8453b3 r23958d 10 10 11 11 #include "Parameters/Validators/DummyValidator.hpp" 12 #include "Parameters/Validators/GenericValidators.hpp" 12 13 13 14 // i.e. there is an integer with variable name Z that can be found in … … 15 16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 17 #define paramtypes (unsigned int)(unsigned int)(unsigned int)(bool) 17 #define paramvalids (DummyValidator< unsigned int >())(DummyValidator< unsigned int >())(DummyValidator< unsigned int >())(DummyValidator< bool >())18 18 #define paramtokens ("start-step")("interpolation-steps")("end-step")("id-mapping") 19 19 #define paramdescriptions ("first or start step")("number of steps to interpolate in between start and end step")("last or end step")("whether the identity shall be used in mapping atoms onto atoms or not") 20 20 #undef paramdefaults 21 21 #define paramreferences (start)(interpolation_steps)(end)(IdMapping) 22 #define paramvalids \ 23 (DummyValidator< unsigned int >()) \ 24 (NotZeroValidator< unsigned int >()) \ 25 (DummyValidator< unsigned int >()) \ 26 (DummyValidator< bool >()) 22 27 23 28 #undef statetypes -
src/Actions/MoleculeAction/LoadAction.def
r8453b3 r23958d 11 11 #include <boost/shared_ptr.hpp> 12 12 13 #include "Parameters/Validators/DummyValidator.hpp" 13 #include "Parameters/Validators/Ops_Validator.hpp" 14 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 15 #include "Parameters/Validators/Specific/ParserFileValidator.hpp" 14 16 15 17 // i.e. there is an integer with variable name Z that can be found in … … 17 19 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 18 20 #define paramtypes (boost::filesystem::path) 19 #define paramvalids (DummyValidator< boost::filesystem::path >())20 21 #define paramtokens ("load") 21 22 #define paramdescriptions ("name of molecule file") 22 23 #undef paramdefaults 23 24 #define paramreferences (filename) 25 #define paramvalids \ 26 (FilePresentValidator() && ParserFileValidator()) 24 27 25 28 #define statetypes (moleculeId_t)(std::string)(std::string)(boost::shared_ptr<FormatParser_Parameters>) -
src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def
r8453b3 r23958d 11 11 12 12 #include "Parameters/Validators/DummyValidator.hpp" 13 #include "Parameters/Validators/Specific/RotationAngleValidator.hpp" 13 14 14 15 // i.e. there is an integer with variable name Z that can be found in … … 16 17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 17 18 #define paramtypes (double)(Vector) 18 #define paramvalids (DummyValidator< double >())(DummyValidator< Vector >())19 19 #define paramtokens ("rotate-around-self")("axis") 20 20 #define paramdescriptions ("rotation angle in degrees")("direction rotation of rotation axis relative to molecule's center of gravity") 21 21 #undef paramdefaults 22 22 #define paramreferences (angle)(Axis) 23 #define paramvalids \ 24 (RotationAngleValidator()) \ 25 (DummyValidator< Vector >()) 23 26 24 27 #define statetypes (std::vector<molecule*>) -
src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.def
r8453b3 r23958d 18 18 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 19 19 #define paramtypes (Vector) 20 #define paramvalids (DummyValidator< Vector >())21 20 #define paramtokens ("rotate-to-principal-axis-system") 22 21 #define paramdescriptions ("vector to which to align the biggest eigenvector with") 23 22 #undef paramdefaults 24 23 #define paramreferences (Axis) 24 #define paramvalids \ 25 (DummyValidator< Vector >()) 25 26 26 27 #undef statetypes -
src/Actions/MoleculeAction/SaveAdjacencyAction.def
r8453b3 r23958d 9 9 class MoleculeListClass; 10 10 11 #include "Parameters/Validators/DummyValidator.hpp" 11 #include "Parameters/Validators/Ops_Validator.hpp" 12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 12 13 13 14 // i.e. there is an integer with variable name Z that can be found in … … 15 16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 17 #define paramtypes (boost::filesystem::path) 17 #define paramvalids (DummyValidator< boost::filesystem::path >())18 18 #define paramtokens ("save-adjacency") 19 19 #define paramdescriptions ("name of the adjacency file to write to") 20 20 #undef paramdefaults 21 21 #define paramreferences (adjacencyfile) 22 #define paramvalids \ 23 (!FilePresentValidator()) 22 24 23 25 #undef statetypes -
src/Actions/MoleculeAction/SaveBondsAction.def
r8453b3 r23958d 9 9 class MoleculeListClass; 10 10 11 #include "Parameters/Validators/DummyValidator.hpp" 11 #include "Parameters/Validators/Ops_Validator.hpp" 12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 12 13 13 14 // i.e. there is an integer with variable name Z that can be found in … … 15 16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 17 #define paramtypes (boost::filesystem::path) 17 #define paramvalids (DummyValidator< boost::filesystem::path >())18 18 #define paramtokens ("save-bonds") 19 19 #define paramdescriptions ("name of the bonds file to write to") 20 20 #undef paramdefaults 21 21 #define paramreferences (bondsfile) 22 #define paramvalids \ 23 (!FilePresentValidator()) 22 24 23 25 #undef statetypes -
src/Actions/MoleculeAction/SaveSelectedMoleculesAction.def
r8453b3 r23958d 9 9 10 10 11 #include "Parameters/Validators/DummyValidator.hpp" 11 #include "Parameters/Validators/Ops_Validator.hpp" 12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 13 #include "Parameters/Validators/Specific/ParserFileValidator.hpp" 12 14 13 15 // i.e. there is an integer with variable name Z that can be found in … … 15 17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 18 #define paramtypes (boost::filesystem::path) 17 #define paramvalids (DummyValidator< boost::filesystem::path >())18 19 #define paramtokens ("save-selected-molecules") 19 20 #define paramdescriptions ("file name of file") 20 21 #undef paramdefaults 21 22 #define paramreferences (filename) 23 #define paramvalids \ 24 (!FilePresentValidator() && ParserFileValidator()) 22 25 23 26 #undef statetypes -
src/Actions/MoleculeAction/SaveTemperatureAction.def
r8453b3 r23958d 9 9 class MoleculeListClass; 10 10 11 #include "Parameters/Validators/DummyValidator.hpp" 11 #include "Parameters/Validators/Ops_Validator.hpp" 12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 12 13 13 14 // i.e. there is an integer with variable name Z that can be found in … … 15 16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 17 #define paramtypes (boost::filesystem::path) 17 #define paramvalids (DummyValidator< boost::filesystem::path >())18 18 #define paramtokens ("save-temperature") 19 19 #define paramdescriptions ("name of the temperature file to write to") 20 20 #undef paramdefaults 21 21 #define paramreferences (temperaturefile) 22 #define paramvalids \ 23 (!FilePresentValidator()) 22 24 23 25 #undef statetypes -
src/Actions/MoleculeAction/SuspendInWaterAction.def
r8453b3 r23958d 9 9 class MoleculeListClass; 10 10 11 #include "Parameters/Validators/ DummyValidator.hpp"11 #include "Parameters/Validators/GenericValidators.hpp" 12 12 13 13 // i.e. there is an integer with variable name Z that can be found in … … 15 15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 16 #define paramtypes (double) 17 #define paramvalids (DummyValidator< double >())18 17 #define paramtokens ("suspend-in-water") 19 18 #define paramdescriptions ("desired final density") 20 19 #undef paramdefaults 21 20 #define paramreferences (density) 21 #define paramvalids \ 22 (PositiveValidator< double >()) 22 23 23 24 #undef statetypes -
src/Actions/MoleculeAction/VerletIntegrationAction.def
r8453b3 r23958d 10 10 11 11 #include "Parameters/Validators/DummyValidator.hpp" 12 #include "Parameters/Validators/GenericValidators.hpp" 13 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 12 14 13 15 // i.e. there is an integer with variable name Z that can be found in … … 15 17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 18 #define paramtypes (boost::filesystem::path)(double)(unsigned int)(bool) 17 #define paramvalids (DummyValidator< boost::filesystem::path >())(DummyValidator< double >())(DummyValidator< unsigned int >())(DummyValidator< bool >())18 19 #define paramtokens ("verlet-integration")("deltat")("MDSteps")("keep-fixed-CenterOfMass") 19 20 #define paramdescriptions ("perform verlet integration of a given force file")("time step width")("number of MDSteps to integrate")("whether forces and velocities shall be corrected such that center of mass remains at rest") 20 21 #undef paramdefaults 21 22 #define paramreferences (forcesfile)(Deltat)(MDSteps)(FixedCenterOfMass) 23 #define paramvalids \ 24 (FilePresentValidator()) \ 25 (PositiveValidator< double >()) \ 26 (NotZeroValidator< unsigned int >()) \ 27 (DummyValidator< bool >()) 22 28 23 29 #undef statetypes
Note:
See TracChangeset
for help on using the changeset viewer.