Next: Additional Simulation Parameters
Up: Basic Simulation Parameters
Previous: Full electrostatic integration
  Contents
Subsections
NAMD configuration parameters
- numsteps < number of timesteps >
Acceptable Values: positive integer
Description: The number of simulation timesteps to be performed.
An integer greater than 0 is acceptable.
The total amount of simulation
time is
.
- timestep < timestep size (fs) >
Acceptable Values: non-negative decimal
Default Value: 1.0
Description: The timestep size to use when integrating each step of the simulation.
The value is specified in femtoseconds.
- firsttimestep < starting timestep value >
Acceptable Values: non-negative integer
Default Value: 0
Description: The number of the first timestep. This value is typically used only
when a simulation is a continuation of a previous simulation. In this
case, rather than having the timestep restart at 0, a specific timestep
number can be specified.
- stepspercycle < timesteps per cycle >
Acceptable Values: positive integer
Default Value: 20
Description: Number of timesteps in each cycle. Each cycle represents the number
of timesteps between pairlist generation and atom reassignment.
If full electrostatics are active, it is also the number of timesteps
between full electrostatic evaluation unless fullElectFrequency is
also specified.
It is recommended that stepspercycle (fullElectFrequency) be chosen so that
the product of stepspercycle and timestep does
not exceed 4.0 unless rigidBonds all is specified,
in which case the upper limit is perhaps doubled.
For more details on the
use of full electrostatics, see Section 4.2.
For more details
on non-bonded force evaluation and pairlist generation, see
Section 4.1.
- cutoff < local interaction distance common to both electrostatic
and van der Waals calculations (Å) >
Acceptable Values: positive decimal
Description: See Section 4.1 for more information.
- switching < use switching function? >
Acceptable Values: on or off
Default Value: off
Description: If switching is
specified to be off, then a truncated cutoff is performed.
If switching is turned on, then smoothing functions
are applied to both the electrostatics and van der Waals forces.
For a complete description of the non-bonded force parameters see
Section 4.1. If switching is set to
on, then switchdist must also be defined.
- switchdist < distance at which to activate switching function
for electrostatic and van der Waals calculations (Å) >
Acceptable Values: positive decimal
cutoff
Description: Distance at which the switching function
should begin to take effect.
This parameter only has meaning if switching is
set to on.
The value of switchdist must be less than
or equal to the value of cutoff, since the switching function
is only applied on the range from switchdist to cutoff.
For a complete description of the non-bonded force parameters see
Section 4.1.
- pairlistdist < distance between pairs for inclusion in pair lists (Å) >
Acceptable Values: positive decimal
cutoff
Default Value: cutoff
Description:
A pair list is generated each cycle,
containing pairs of atoms for which
electrostatics and van der Waals interactions will be calculated.
This parameter is used when switching is set to on to
specify the allowable distance between atoms for inclusion in the
pair list.
This parameter is equivalent to the X-PLOR parameter CUTNb.
If no atom moves more than pairlistdist-cutoff during
one cycle, then there will be no jump in electrostatic or van der
Waals energies when the next pair list is built. Since such a jump
is unavoidable when truncation is used, this parameter may only
be specified when switching is set to on. If this
parameter is not specified and switching is set to on,
the value of cutoff is used.
A value of at least one greater than cutoff is recommended.
- splitPatch < how to assign atoms to patches >
Acceptable Values: position or hydrogen
Default Value: hydrogen
Description:
When set to hydrogen, hydrogen atoms are kept on the same patch as their parents, allowing faster distance checking and rigid bonds.
- hgroupCutoff (Å) < used for group-based distance testing >
Acceptable Values: positive decimal
Default Value: 2.5
Description:
This should be set to twice the largest distance which will ever occur between a hydrogen atom and its mother. Warnings will be printed if this is not the case. This value is also added to the margin.
- margin < extra length in patch dimension (Å) >
Acceptable Values: positive decimal
Default Value: 1.0
Description: An internal tuning parameter used in determining the size of the cubes
of space with which NAMD uses to partition the system. The value of
this parameter will not change the physical results of the simulation.
For more details about this parameter see the NAMD Programmer's Guide.
Unless you are very motivated to get the very best
possible performance, just leave this value at the default.
- exclude < exclusion policy to use >
Acceptable Values: none, 1-2, 1-3, 1-4, or scaled1-4
Description: This parameter specifies which pairs of bonded atoms should
be excluded from non-bonded
interactions. With the value of none, no bonded pairs of atoms
will be excluded. With the value of 1-2, all atom pairs that
are directly connected via a linear bond will be excluded. With the
value of 1-3, all 1-2 pairs will be excluded along with
all pairs of atoms that are bonded to a common
third atom (i.e., if atom A is bonded to atom B and atom B is bonded
to atom C, then the atom pair A-C would be excluded).
With the value of 1-4, all 1-3 pairs will be excluded along
with all pairs connected by a set of two bonds (i.e., if atom A is bonded
to atom B, and atom B is bonded to atom C, and atom C is bonded to
atom D, then the atom pair A-D would be excluded). With the value
of scaled1-4, all 1-3 pairs are excluded and all pairs
that match the 1-4 criteria are modified. The electrostatic
interactions for such pairs are modified by the constant factor
defined by 1-4scaling.
The van der Waals interactions are modified
by using the special 1-4 parameters defined in the parameter files.
- temperature < initial temperature (K) >
Acceptable Values: positive decimal
Description: Initial temperature value for the system.
Using this option will generate a random
velocity distribution for the initial velocities
for all the atoms such that the system
is at the desired temperature.
Either the temperature
or the velocities/binvelocities
option must be defined to determine an initial set of velocities.
Both options cannot be used together.
- COMmotion < allow center of mass motion? >
Acceptable Values: yes or no
Default Value: no
Description:
Specifies whether or not motion of
the center of mass of the entire system is allowed.
If this option is set to no, the initial velocities of the system
will be adjusted to remove center of mass motion of the system.
Note that this does not preclude later center-of-mass motion due to
external forces such as random noise in Langevin dynamics, boundary
potentials, and harmonic restraints.
- dielectric < dielectric constant for system >
Acceptable Values: decimal
1.0
Default Value: 1.0
Description: Dielectric constant for the system. A value of 1.0 implies no modification
of the electrostatic interactions. Any larger value will lessen the
electrostatic forces acting in the system.
- 1-4scaling < scaling factor for 1-4 interactions >
Acceptable Values: 0
decimal
1
Default Value: 1.0
Description: Scaling factor for 1-4 interactions. This factor is only used when the
exclude parameter is set to scaled1-4. In this case, this
factor is used to modify the electrostatic interactions between 1-4 atom
pairs. If the exclude parameter is set to anything but
scaled1-4, this parameter has no effect regardless of its value.
- seed < random number seed >
Acceptable Values: positive integer
Default Value: pseudo-random value based on current UNIX clock time
Description: Number used to seed the random number generator
if temperature or langevin is selected. This can be
used so that consecutive simulations produce the same results.
If no value is specified, NAMD will choose a pseudo-random
value based on the current UNIX clock time. The random number
seed will be output during the simulation startup so that
its value is known and can be reused for subsequent simulations.
Note that if Langevin dynamics are used in a parallel simulation
(i.e., a simulation using more than one processor)
even using the same seed will not guarantee reproducible results.
- rigidBonds < controls if and how ShakeH is used >
Acceptable Values: none,
water, all
Default Value: none
Description: When rigidBonds is all, the bond between each hydrogen
and its mother atom is fixed to the nominal bond length given in the
parameter file. When water is selected, only the bonds between
the hydrogens and the oxygen in water molecules are constrained.
For the default case none, no lengths are constrained.
- rigidTolerance < allowable bond-length error for ShakeH (Å) >
Acceptable Values: positive decimal
Default Value: 0.00001
Description:
The ShakeH algorithm is assumed to have converged when all constrained
bonds differ from the nominal bond length by less than this amount.
- rigidIterations < maximum ShakeH iterations >
Acceptable Values: positive integer
Default Value: 100
Description:
The maximum number of iterations ShakeH will perform before giving up
on constraining the bond lengths. If the bond lengths do not
converge, a warning message is printed, and the atoms are left at the
final value achieved by ShakeH.
Although the default value is 100,
convergence is usually reached after fewer than 10 iterations.
These parameters control the options to DPMTA, an algorithm
used to provide full electrostatic interactions. DPMTA is a
modified version of the FMA (Fast Multipole Algorithm) and,
unfortunately, most of the parameters still refer to FMA
rather than DPMTA for historical reasons. Don't be confused!
For a further description of how exactly full electrostatics
are incorporated into NAMD, see Section 4.2.
For a greater level of detail about DPMTA and the specific
meaning of its options, see the DPMTA distribution which is
available via anonymous FTP from the site ftp.ee.duke.edu
in the directory /pub/SciComp/src.
- FMA < use full electrostatics? >
Acceptable Values: on or off
Default Value: off
Description: Specifies whether or not
the DPMTA algorithm from Duke University should be used
to compute the full electrostatic interactions. If set to
on, DPMTA will be used with a multiple timestep integration scheme
to provide full electrostatic interactions as detailed in Section
4.2.
- FMALevels < number of levels to use in multipole expansion >
Acceptable Values: positive integer
Default Value: 5
Description: Number of levels to use for the multipole expansion. This parameter
is only used if FMA is set to on.
A value of 4 should be sufficient for systems with less than 10,000 atoms.
A value of 5 or greater should be used for larger systems.
- FMAMp < number of multipole terms to use for FMA >
Acceptable Values: positive integer
Default Value: 8
Description: Number of terms to use in the multipole expansion.
This parameter is only used if FMA is set to on.
If the FMAFFT is set to on, then this value must
be a multiple of 4. The default value of 8 should be suitable
for most applications.
- FMAFFT < use DPMTA FFT enhancement? >
Acceptable Values: on or off
Default Value: on
Description: Specifies whether or not the DPMTA code should use the FFT enhancement
feature. This parameter is only used if FMA is set to on.
If FMAFFT is set to on, the value of FMAMp must be
set to a multiple of 4.
This feature offers substantial benefits only for values
of FMAMp of 8 or greater. This feature will substantially
increase the amount of memory used by DPMTA.
- FMAtheta < DPMTA theta parameter (radians) >
Acceptable Values: decimal
Default Value: 0.715
Description: This parameter specifies the value of the theta parameter
used in the DPMTA calculation. The default value is based on
recommendations by the developers of the code.
- FMAFFTBlock < blocking factor for FMA FFT >
Acceptable Values: positive integer
Default Value: 4
Description: The blocking factor for the FFT enhancement to DPMTA.
This parameter is only used if both FMA and FMAFFT
are set to on. The default value of 4 should be suitable
for most applications.
DPME stands for Distributed Particle Mesh Ewald and is an efficient
full electrostatics method for use with periodic boundary conditions.
None of the parameters should affect energy conservation, although they may affect the accuracy of the results and momentum conservation.
- PME < Use particle mesh Ewald for electrostatics? >
Acceptable Values: yes or no
Default Value: no
Description: Turns on DPME.
- PMETolerance < PME direct space tolerance >
Acceptable Values: positive decimal
Default Value: 10-6
Description: Affects the value of the Ewald coefficient and the overall accuracy of the results.
- PMEInterpOrder < PME interpolation order >
Acceptable Values: positive integer
Default Value: 4 (cubic)
Description: Charges are interpolated onto the grid and forces are interpolated off using this many points, equal to the order of the interpolation function plus one.
- PMEGridSizeX < PME grid in x dimension >
Acceptable Values: positive integer
Description: The grid size partially determines the accuracy and efficiency of DPME.
For speed, PMEGridSizeX should have only small integer factors (2, 3 and 5).
- PMEGridSizeY < PME grid in y dimension >
Acceptable Values: positive integer
Description: The grid size partially determines the accuracy and efficiency of DPME.
For speed, PMEGridSizeY should have only small integer factors (2, 3 and 5).
- PMEGridSizeZ < PME grid in z dimension >
Acceptable Values: positive integer
Description: The grid size partially determines the accuracy and efficiency of DPME.
For speed, PMEGridSizeZ should have only small integer factors (2, 3 and 5).
The direct computation of electrostatics
is not intended to be used during
real calculations, but rather as a testing or
comparison measure. Because of the
computational complexity for performing
direct calculations, this is much
slower than using DPMTA or DPME to compute full
electrostatics for large systems.
In the case of periodic boundary conditions,
the nearest image convention is used rather than a
full Ewald sum.
- FullDirect < calculate full electrostatics directly? >
Acceptable Values: yes or no
Default Value: no
Description: Specifies whether or not direct computation of
full electrostatics should be performed.
One of the areas of current research being studied using NAMD is the
exploration of better methods for performing multiple timestep integration.
The parameters in this Section are part of this exploration. These parameters
are still rather experimental and are not fully documented yet, but the
brave at heart may try them. By default, the naive scheme described
in the NAMD Programmer's Guide is used.
- fullElectFrequency < number of timesteps between DPMTA calculations >
Acceptable Values: positive integer factor of stepspercycle
Default Value: stepspercycle
Description: This parameter specifies the number of timesteps between each full electrostatics evaluation.
It is recommended that fullElectFrequency be chosen so that
the product of fullElectFrequency and timestep does
not exceed 4.0 unless rigidBonds all is specified,
in which case the upper limit is perhaps doubled.
- nonbondedFreq < timesteps between nonbonded evaluation >
Acceptable Values: positive integer factor of fullElectFrequency
Default Value: 1
Description: This parameter specifies how often short-range nonbonded interactions should be calculated. Setting nonbondedFreq between 1 and fullElectFrequency allows triple timestepping where, for example, one could evaluate bonded forces every 1 fs, short-range nonbonded forces every 2 fs, and long-range electrostatics every 4 fs.
- MTSAlgorithm < MTS algorithm to be used >
Acceptable Values: verletI
Default Value: verletI
Description: Specifies the multiple timestep algorithm used to integrate the
long and short range forces. verletI is the same as r-RESPA.
- longSplitting < how should long and short range forces be split? >
Acceptable Values: xplor, c1
Default Value: c1
Description: Specifies the method used to split electrostatic forces between long
and short range potentials.
The xplor option uses the X-PLOR shifting function,
and the c1 splitting uses
the following C1 continuous shifting
function [6]:
-
SW(rij) = 0 if
-
SW(rij) = 1 if
-
if
where
-
is a constant defined using the configuration value
switchdist
-
is specified using the configuration value cutoff
Next: Additional Simulation Parameters
Up: Basic Simulation Parameters
Previous: Full electrostatic integration
  Contents
namd@ks.uiuc.edu