source: src/Actions/MoleculeAction/VerletIntegrationAction.def@ 88bb6b

Last change on this file since 88bb6b was 5eaa23, checked in by Frederik Heber <heber@…>, 12 years ago

Added sensible default values to MolecularDynamics sequence of Actions.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*
2 * VerletIntegrationAction.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
9class MoleculeListClass;
10
11#include "Parameters/Validators/DummyValidator.hpp"
12#include "Parameters/Validators/GenericValidators.hpp"
13#include "Parameters/Validators/Ops_Validator.hpp"
14#include "Parameters/Validators/Specific/FilePresentValidator.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)(double)(bool)
20#define paramtokens ("forces-file")("deltat")("keep-fixed-CenterOfMass")
21#define paramdescriptions ("file containing")("time step width")("whether forces and velocities shall be corrected such that center of mass remains at rest")
22#define paramdefaults (PARAM_DEFAULT(""))(PARAM_DEFAULT(0.1))(PARAM_DEFAULT(true))
23#define paramreferences (forcesfile)(Deltat)(FixedCenterOfMass)
24#define paramvalids \
25(DummyValidator< boost::filesystem::path >()) \
26(PositiveValidator< double >()) \
27(DummyValidator< bool >())
28
29#undef statetypes
30#undef statereferences
31
32// some defines for all the names, you may use ACTION, STATE and PARAMS
33#define CATEGORY Molecule
34#define MENUNAME "molecule"
35#define MENUPOSITION 14
36#define ACTIONNAME VerletIntegration
37#define TOKEN "verlet-integration"
38
39
40// finally the information stored in the ActionTrait specialization
41#define DESCRIPTION "perform verlet integration of a given force file"
42#define SHORTFORM "P"
Note: See TracBrowser for help on using the repository browser.