ForceParam_tag Struct Reference
Used to configure Force_tag
class.
More...
#include <force.h>
List of all members.
Detailed Description
Used to configure Force_tag
class.
User sets the internal fields of this class in order to configure the evaluation performed by the Force_tag
class. The ForceParam_tag
class is intended to be setup once and used to initialize the Force_tag
class.
The user provides and retains ownership of memory buffer space for all arrays. The force field parameter and topology arrays all follow the MDAPI guidelines as defined by mdtypes.h
file. In particular, it is expected that the proper cross-indexing between topology and force field parameter arrays have been established. The best way to do this is to use the MDIO library for reading the relevant force field parameter and topology files.
The parameter atom_len
indicates the number of atoms in the system, providing the expected array length of the ForceResult_tag
arrays and the pos
and wrap
arrays passed to force_compute()
.
The boundary restraint and nonbonded parameters follow the NAMD conventions, as described in its documentation.
The flags
indicates what parts of the force field are to be evaluated. It is assigned a bitwise ORed collection of ForceFlags_tag
constants.
Member Data Documentation
|
Array of angle parameters. |
|
Length of angle parameters array. |
|
Array of atoms (contains mass and charge). |
|
Length of atom array (number of atoms in system). |
|
Array of atom parameters. |
|
Length of atom parameters array. |
|
Array of bond parameters. |
|
Length of bond parameters array. |
|
Cutoff distance used to define both electrostatics and van der Waals interactions. |
|
Dielectric constant, typically should be set to 1.0. |
|
Length of dihedral array. |
|
Array of dihedral parameters. |
|
Length of dihedral parameters array. |
|
Constant for electrostatic interactions, typically should be defined using MD_COULOMB from MDAPI mdtypes.h file. |
|
Cutoff distance for electrostatics. |
|
Array of nonbonded exclusions. |
|
Length of nonbonded exclusion array. |
|
Exponent for first harmonic potential. Should be an even positive integer. |
|
Exponent for second harmonic potential. Should be an even positive integer. |
|
Indicates what parts of force field are to be evaluated. See ForceFlags_tag for details. |
|
Length of improper array. |
|
Array of improper parameters. |
|
Length of improper parameters array. |
|
Constant for first harmonic potential. |
|
Constant for second harmonic potential. |
|
For cylindrical restraints: distance at which first potential takes effect along cylinder axis. |
|
For cylindrical restraints: distance at which second potential takes effect along cylinder axis. |
|
Array of nonbonded parameters to override the combined pairs of atom parameters. |
|
Length of nonbonded parameters array. |
|
Distance at which first potential boundary takes effect, measured as radius from center. |
|
Distance at which second potential boundary takes effect, measured as radius from center. |
|
Extra multiplicative constant for electrostatic interactions between 1-4 pairs, applied only if FORCE_EXCL_SCAL14 flag is set. |
|
Switching distance for van der Waals (needs to be strictly less than the cutoff). |
|
Cutoff distance for van der Waals. |
|
Size of periodic cell in x direction. |
|
Size of periodic cell in y direction. |
|
Size of periodic cell in z direction. |
The documentation for this struct was generated from the following file:
Generated on Mon Sep 26 10:55:20 2005 for MDX by
1.4.4