#include "colvarscript_commands_colvar.h"
#include "colvarscript_commands_bias.h"
Go to the source code of this file.
Defines | |||||
#define | CVSCRIPT_COMM_FNAME(COMM) cvscript_ ## COMM | ||||
#define | CVSCRIPT_COMM_FNAME(COMM) cvscript_ ## COMM | ||||
#define | CVSCRIPT_COMM_PROTO(COMM) int CVSCRIPT_COMM_FNAME(COMM)(void *, int, unsigned char *const *); | ||||
#define | CVSCRIPT(COMM, HELP, N_ARGS_MIN, N_ARGS_MAX, ARGS, FN_BODY) CVSCRIPT_COMM_PROTO(COMM) | ||||
Functions | |||||
int | cvscript_n_commands () | ||||
Get the number of colvarscript commands. More... | |||||
char const ** | cvscript_command_names () | ||||
Get the names of all commands (array of strings). More... | |||||
char const * | cvscript_command_help (char const *cmd) | ||||
Get the help summary of the given command
| |||||
char const * | cvscript_command_rethelp (char const *cmd) | ||||
Get description of the return value of a command
| |||||
char const * | cvscript_command_arghelp (char const *cmd, int i) | ||||
Get description of the arguments of a command (excluding prefix)
| |||||
char const * | cvscript_command_full_help (char const *cmd) | ||||
Get the full help string of a command
| |||||
int | cvscript_command_n_args_min (char const *cmd) | ||||
Get number of required arguments (excluding prefix)
| |||||
int | cvscript_command_n_args_max (char const *cmd) | ||||
Get number of total arguments (excluding prefix)
| |||||
CVSCRIPT (cv_addenergy,"Add an energy to the MD engine(no effect in VMD)", 1, 1,"E:float-Amount of energy to add", char const *Earg=script->obj_to_str(script->get_module_cmd_arg(0, objc, objv));cvm::main()->total_bias_energy+=strtod(Earg, NULL);return cvm::get_error();) CVSCRIPT(cv_bias | |||||
CVSCRIPT (cv_colvar,"Prefix for colvar-specific commands", 0, 0,"", return COLVARS_OK;) CVSCRIPT(cv_config | |||||
Variables | |||||
Prefix for bias specific | commands | ||||
Prefix for bias specific return | COLVARS_OK | ||||
Read configuration from the given | string | ||||
Read configuration from the given | conf |
|
Definition at line 59 of file colvarscript_commands.h. |
|
Definition at line 44 of file colvarscript_commands.h. |
|
Definition at line 44 of file colvarscript_commands.h. |
|
Definition at line 55 of file colvarscript_commands.h. |
|
|
|
|
|
Get description of the arguments of a command (excluding prefix)
Definition at line 53 of file colvarscript_commands.C. Referenced by cvscript_command_full_help. |
|
Get the full help string of a command
Definition at line 61 of file colvarscript_commands.C. References cvscript_command_arghelp, cvscript_command_help, cvscript_command_n_args_max, cvscript_command_n_args_min, cvscript_command_names, cvscript_command_rethelp, and cvscript_n_commands. |
|
Get the help summary of the given command
Definition at line 37 of file colvarscript_commands.C. Referenced by cvscript_command_full_help. |
|
Get number of total arguments (excluding prefix)
Definition at line 77 of file colvarscript_commands.C. Referenced by cvscript_command_full_help. |
|
Get number of required arguments (excluding prefix)
Definition at line 69 of file colvarscript_commands.C. Referenced by cvscript_command_full_help. |
|
Get the names of all commands (array of strings).
Definition at line 29 of file colvarscript_commands.C. |
|
Get description of the return value of a command
Definition at line 45 of file colvarscript_commands.C. Referenced by cvscript_command_full_help. |
|
Get the number of colvarscript commands.
Definition at line 22 of file colvarscript_commands.C. |
|
Definition at line 115 of file colvarscript_commands.h. |
|
Definition at line 115 of file colvarscript_commands.h. |
|
|