|
Gromacs
2026.0-dev-20251106-2ba968f
|
#include <gromacs/topology/idef.h>
Collaboration diagram for t_idef:Deprecated interation definitions, used in t_topology.
The struct t_idef defines all the interactions for the complete simulation. The structure is setup in such a way that the multinode version of the program can use it as easy as the single node version.
Public Attributes | |
| int | ntypes |
| Defines the number of elements in functype[] and param[]. | |
| int | atnr |
| The number of atomtypes. | |
| InteractionFunction * | functype |
| t_iparams * | iparams |
| real | fudgeQQ |
| t_iparams * | iparams_posres |
| t_iparams * | iparams_fbposres |
| gmx::EnumerationArray < InteractionFunction, t_ilist > | il |
| int | ilsort |
| The state of the sorting of il, values are provided above. | |
| InteractionFunction* t_idef::functype |
Array of length ntypes, defines for every force type what type of function to use. Every "bond" with the same function but different force parameters is a different force type. The type identifier in the forceatoms[] array is an index in this array.
| gmx::EnumerationArray<InteractionFunction, t_ilist> t_idef::il |
The list of interactions for each type. Note that some, such as LJ and COUL will have 0 entries.
| t_iparams* t_idef::iparams |
Array of length ntypes, defines the parameters for every interaction type. The type identifier in the actual interaction list (ilist[ftype].iatoms[]) is an index in this array.
| t_iparams* t_idef::iparams_posres |
Defines the parameters for position restraints only. Position restraints are the only interactions that have different parameters (reference positions) for different molecules of the same type. ilist[InteractionFunction::PositionRestraints].iatoms[] is an index in this array.
1.8.5