source: src/Actions/CommandAction/BondLengthTableAction.def@ 3c9ac3

Action_Thermostats Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision
Last change on this file since 3c9ac3 was 95cfac, checked in by Frederik Heber <heber@…>, 10 years ago

Added FileSuffixValidator to all Actions where missing but appropriate.

  • also clean up some unnecessary includes.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
2 * BondLengthTableAction.def
3 *
4 * Created on: Aug 26, 2010
5 * Author: heber
6 */
7
8// all includes and forward declarations necessary for non-integral types below
9
10#include "Graph/BondGraph.hpp"
11
12#include "Parameters/Validators/Ops_Validator.hpp"
13#include "Parameters/Validators/Specific/FilePresentValidator.hpp"
14#include "Parameters/Validators/Specific/FileSuffixValidator.hpp"
15
16// i.e. there is an integer with variable name Z that can be found in
17// ValueStorage by the token "Z" -> first column: int, Z, "Z"
18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
19#define paramtypes (boost::filesystem::path)
20#define paramtokens ("bond-table")
21#define paramdescriptions ("name of the bond length table file")
22#undef paramdefaults
23#define paramreferences (BondGraphFileName)
24#define paramvalids \
25(FilePresentValidator() && (FileSuffixValidator("dat") || FileSuffixValidator("db")))
26
27#define statetypes (std::string)
28#define statereferences (undostring)
29
30// some defines for all the names, you may use ACTION, STATE and PARAMS
31#define CATEGORY Command
32#define MENUNAME "command"
33#define MENUPOSITION 1
34#define ACTIONNAME BondLengthTable
35#define TOKEN "bond-table"
36
37
38// finally the information stored in the ActionTrait specialization
39#define DESCRIPTION "specifying a table file with specific bond lengths to use in bond structure analysis"
40#define SHORTFORM "g"
Note: See TracBrowser for help on using the repository browser.