Some parameters can be fixed or dynamic-length arrays of these types. For arrays, a list of values is required, for example, the stress parameter of the dynamics command, which can be used to set the stress parameters sxx, syy, etc.:
dynamics temperature = 300 time = 500 stress = {0.5 0.5 0.5 0.0 0.0 0.0}Some BTCL commands allow you to specify subcommands that are executed at specified instances from within a BTCL command. For example, assuming that a molecular system has already been set up:
BTCL > minimize iteration = 50 method = cascade newton method = bfgs \ execute +before command = "echo hello from minimizer" \ execute every = 2 command = "print output +energy_summary +nonbond_energy" \ execute every = 5 command = "print archive +velocity" \ execute +after command = "echo good-bye from minimizer"This command would set up a minimization run using the cascade method with BFGS Newton minimization over a maximum of 50 iterations. In addition, ``hello from minimizer'' and ``good-bye from minimizer'' would be printed at the start and end of the minimization, respectively, with instantaneous energy summary and nonbond energy values being printed every other step and velocities written to an archive file (run_name.arc) every 5 steps.
BTCL Language access
Commands and Utilities
Global Variables and Environment Variables
Copyright Biosym/MSI