#include <float.h>
#include "mdapi/mdtypes.h"
Go to the source code of this file.
Classes | |
struct | ForceParam_t |
Used to configure Force_t class. More... | |
Defines | |
#define | FORCE_DEFAULT_SHELL_WIDTH 3 |
#define | FORCE_DEFAULT_CUTOFF_RATIO (1./FORCE_DEFAULT_SHELL_WIDTH) |
#define | FORCE_DEFAULT_CELL_MARGIN FLT_EPSILON |
#define | FORCE_DEFAULT_PAIRLIST_DELTA_DIS 0.75 |
#define | FORCE_DEFAULT_GRIDCELL_DELTA_DIS 0.0 |
Typedefs | |
typedef ForceParam_t | ForceParam |
Used to configure Force_t class. | |
Enumerations | |
enum | ForceTypes_t { FORCE_NONE = 0x0000, FORCE_BOND = 0x0001, FORCE_ANGLE = 0x0002, FORCE_DIHED = 0x0004, FORCE_IMPR = 0x0008, FORCE_ELEC = 0x0010, FORCE_VDW = 0x0020, FORCE_BRES = 0x0040, FORCE_BONDED = FORCE_BOND | FORCE_ANGLE | FORCE_DIHED | FORCE_IMPR, FORCE_PAIRWISE = FORCE_ELEC | FORCE_VDW, FORCE_NONBONDED = FORCE_PAIRWISE | FORCE_BRES, FORCE_ALL = FORCE_BONDED | FORCE_NONBONDED } |
Types used for setting ForceParam_t::forcetype . The individual values are to be bitwise ORed together to select the types of forces to be computed. More... | |
enum | ForceExcl_t { FORCE_EXCL_NONE = 0x001, FORCE_EXCL_12, FORCE_EXCL_13, FORCE_EXCL_14, FORCE_EXCL_SCAL14, FORCE_MARKER_EXCL } |
enum | ForceElec_t { FORCE_ELEC_DIRECT = 0x001, FORCE_ELEC_GRIDCELLS = 0x002, FORCE_ELEC_PAIRLISTS = 0x004, FORCE_ELEC_STNDEXCL = 0x008, FORCE_ELEC_STANDARD = 0x010, FORCE_ELEC_SHIFTED = 0x020, FORCE_ELEC_EWALD = 0x040, FORCE_ELEC_GLASS = 0x080, FORCE_MASK_ELEC_METHOD = 0x00f, FORCE_MASK_ELEC_POTENTIAL = 0x0f0, FORCE_ELECOPTS_DIRECT = FORCE_ELEC_DIRECT | FORCE_ELEC_STANDARD, FORCE_ELECOPTS_CUTOFF = FORCE_ELEC_GRIDCELLS | FORCE_ELEC_SHIFTED, FORCE_ELECOPTS_LONGRNG = FORCE_ELEC_STNDEXCL } |
enum | ForceVdw_t { FORCE_VDW_DIRECT = 0x0001, FORCE_VDW_GRIDCELLS = 0x0002, FORCE_VDW_PAIRLISTS = 0x004, FORCE_VDW_STNDEXCL = 0x0008, FORCE_VDW_STANDARD = 0x0010, FORCE_VDW_SWITCHED = 0x0020, FORCE_VDW_BUCK = 0x0040, FORCE_VDW_SWITCHBUCK = 0x0080, FORCE_VDW_BUCKND = 0x0100, FORCE_VDW_SWITCHBUCKND = 0x0200, FORCE_VDW_BUCKSAFE = 0x0400, FORCE_VDW_SWITCHBUCKSAFE = 0x0800, FORCE_VDW_GLASS = 0x1000, FORCE_VDW_BUCKPRM_BKS = 0x10000, FORCE_VDW_BUCKPRM_TTAM = 0x20000, FORCE_VDW_BUCKPRM_FB = 0x40000, FORCE_VDW_GLASSPRM = 0x80000, FORCE_MASK_VDW_METHOD = 0x000f, FORCE_MASK_VDW_POTENTIAL = 0x1ff0, FORCE_MASK_VDW_BUCK = 0x1fc0, FORCE_MASK_VDW_BUCKPRM = 0xf0000, FORCE_VDWOPTS_DIRECT = FORCE_VDW_DIRECT | FORCE_VDW_STANDARD, FORCE_VDWOPTS_CUTOFF = FORCE_VDW_GRIDCELLS | FORCE_VDW_SWITCHED, FORCE_VDWOPTS_LONGRNG = FORCE_VDW_STNDEXCL } |
enum | ForceBrestype_t { FORCE_BRES_SPHERE = 0x001, FORCE_BRES_X_CYLINDER, FORCE_BRES_Y_CYLINDER, FORCE_BRES_Z_CYLINDER, FORCE_MARKER_BRES } |
Functions | |
ForceParam * | force_param_create (void) |
Constructor. | |
void | force_param_destroy (ForceParam *) |
Destructor. | |
int | force_param_initialize (ForceParam *) |
Alternative constructor. | |
void | force_param_cleanup (ForceParam *) |
Alternative destructor. |
ForceParam_t
container class specifies the force field parameters that define how the force will be computed. It is used to construct the Force_t
object.
|
Used to configure
User sets the internal fields of this class in order to configure the evaluation performed by the
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
The parameter The boundary restraint and nonbonded parameters follow the NAMD conventions, as described in its documentation.
The field
The remaining fields |
|
|
|
|
|
|
Types used for setting
|
|
|
|
Alternative destructor.
Use this to destroy a preallocated |
|
Constructor.
Creates dynamically allocated
|
|
Destructor.
Clears memory and destroys the dynamically allocated |
|
Alternative constructor.
Use this to construct a preallocated
|