Changeset e4afb4 for src/Actions/CommandAction
- Timestamp:
- Oct 30, 2010, 8:42:44 PM (14 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:
- 76cec6, c38826
- Parents:
- 23359f
- git-author:
- Frederik Heber <heber@…> (10/30/10 19:55:54)
- git-committer:
- Frederik Heber <heber@…> (10/30/10 20:42:44)
- Location:
- src/Actions/CommandAction
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/CommandAction/BondLengthTableAction.cpp
r23359f re4afb4 47 47 if (configuration->BG == NULL) { 48 48 configuration->BG = new BondGraph(configuration->GetIsAngstroem()); 49 if ((!params.BondGraphFileName.empty()) && (configuration->BG->LoadBondLengthTable(params.BondGraphFileName ))) {49 if ((!params.BondGraphFileName.empty()) && (configuration->BG->LoadBondLengthTable(params.BondGraphFileName.string()))) { 50 50 DoLog(0) && (Log() << Verbose(0) << "Bond length table loaded successfully." << endl); 51 51 return Action::success; … … 81 81 return false; 82 82 } 83 84 const string CommandBondLengthTableAction::getName() {85 return NAME;86 }87 83 /** =========== end of function ====================== */ -
src/Actions/CommandAction/BondLengthTableAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("bond-table") 16 #define paramdescriptions ("setting name of the bond length table file") 16 #define paramdescriptions ("name of the bond length table file") 17 #undef paramdefaults 17 18 #define paramreferences (BondGraphFileName) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE 32 #define DESCRIPTION "setting name of the bond length table file" 32 #define DESCRIPTION "specifying a table file with specific bond lengths to use in bond structure analysis" 33 33 #define SHORTFORM "g" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/CommandAction/ElementDbAction.cpp
r23359f re4afb4 46 46 // TODO: Make databasepath a std::string 47 47 config *configuration = World::getInstance().getConfig(); 48 strcpy(configuration->databasepath, params.databasepath. c_str());48 strcpy(configuration->databasepath, params.databasepath.branch_path().string().c_str()); 49 49 50 50 // load table … … 82 82 return false; 83 83 } 84 85 const string CommandElementDbAction::getName() {86 return NAME;87 }88 84 /** =========== end of function ====================== */ -
src/Actions/CommandAction/ElementDbAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("element-db") 16 #define paramdescriptions ("setting the path where the element databases can be found") 16 #define paramdescriptions ("path where the element databases can be found") 17 #undef paramdefaults 17 18 #define paramreferences (databasepath) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE 32 #define DESCRIPTION "setting the path where the element databases can be found" 32 #define DESCRIPTION "specify the path to a different element databases" 33 33 #define SHORTFORM "e" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/CommandAction/FastParsingAction.cpp
r23359f re4afb4 84 84 return true; 85 85 } 86 87 const string CommandFastParsingAction::getName() {88 return NAME;89 }90 86 /** =========== end of function ====================== */ -
src/Actions/CommandAction/FastParsingAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 14 #define paramtypes (bool) 15 15 #define paramtokens ("fastparsing") 16 16 #define paramdescriptions ("setting whether trajectories shall be parsed completely (n) or just first step (y)") 17 #undef paramdefaults 17 18 #define paramreferences (fastparsing) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #define DEFAULTVALUE "0"32 32 #define DESCRIPTION "setting whether trajectories shall be parsed completely (n) or just first step (y)" 33 33 #define SHORTFORM "n" 34 #define TYPEINFO &typeid(bool) -
src/Actions/CommandAction/HelpAction.cpp
r23359f re4afb4 19 19 20 20 #include "Helpers/MemDebug.hpp" 21 22 #include "CommandLineParser.hpp"23 21 24 22 #include <iostream> … … 55 53 return false; 56 54 } 57 58 const string CommandHelpAction::getName() {59 return NAME;60 }61 55 /** =========== end of function ====================== */ -
src/Actions/CommandAction/HelpAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 14 #undef paramtypes 15 15 #undef paramtokens 16 16 #undef paramdescriptions 17 #undef paramdefaults 17 18 #undef paramreferences 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "help screen" 33 33 #define SHORTFORM "h" 34 #define TYPEINFO &typeid(void) -
src/Actions/CommandAction/VerboseAction.cpp
r23359f re4afb4 76 76 return true; 77 77 } 78 79 const string CommandVerboseAction::getName() {80 return NAME;81 }82 78 /** =========== end of function ====================== */ -
src/Actions/CommandAction/VerboseAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 14 #define paramtypes (int) 15 15 #define paramtokens ("verbose") 16 16 #define paramdescriptions ("set verbosity level") 17 #undef paramdefaults 17 18 #define paramreferences (verbosity) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "set verbosity level" 33 33 #define SHORTFORM "v" 34 #define TYPEINFO &typeid(int) -
src/Actions/CommandAction/VersionAction.cpp
r23359f re4afb4 55 55 return false; 56 56 } 57 58 const string CommandVersionAction::getName() {59 return NAME;60 }61 57 /** =========== end of function ====================== */ -
src/Actions/CommandAction/VersionAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 14 #undef paramtypes 15 15 #undef paramtokens 16 16 #undef paramdescriptions 17 #undef paramdefaults 17 18 #undef paramreferences 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "show version" 33 33 #define SHORTFORM "V" 34 #define TYPEINFO &typeid(void) -
src/Actions/CommandAction/WarrantyAction.cpp
r23359f re4afb4 19 19 20 20 #include "Helpers/MemDebug.hpp" 21 22 #include "CommandLineParser.hpp"23 21 24 22 #include <iostream> … … 61 59 return false; 62 60 } 63 64 const string CommandWarrantyAction::getName() {65 return NAME;66 }67 61 /** =========== end of function ====================== */ -
src/Actions/CommandAction/WarrantyAction.def
r23359f re4afb4 10 10 // i.e. there is an integer with variable name Z that can be found in 11 11 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 12 // "undefine" if no parameters are required 12 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 13 13 #undef paramtypes 14 14 #undef paramtokens 15 15 #undef paramdescriptions 16 #undef paramdefaults 16 17 #undef paramreferences 17 18 … … 28 29 29 30 // finally the information stored in the ActionTrait specialization 30 #undef DEFAULTVALUE31 31 #define DESCRIPTION "statement concerning warranty of the software" 32 32 #undef SHORTFORM 33 #define TYPEINFO &typeid(void)
Note:
See TracChangeset
for help on using the changeset viewer.