#include "mdapi/mdtypes.h"
Go to the source code of this file.
Classes | |
struct | ForceDomain_t |
Used to define domain and boundary conditions of the molecular system. More... | |
Typedefs | |
typedef ForceDomain_t | ForceDomain |
Used to define domain and boundary conditions of the molecular system. | |
Functions | |
ForceDomain * | force_domain_create (void) |
Constructor. | |
void | force_domain_destroy (ForceDomain *) |
Destructor. | |
int | force_domain_initialize (ForceDomain *) |
Alternative constructor. | |
void | force_domain_cleanup (ForceDomain *) |
Alternative destructor. |
ForceDomain_t
container class specifies the domain and boundary conditions of the molecular system. It is separated from the ForceParam_t
container class because, unlike ForceParam_t
, it might change dynamically depending on the simulation method.
|
Used to define domain and boundary conditions of the molecular system.
User sets the internal fields of this class in order to specify the domain and boundary conditions. This needs to be done for initialization of Domains can be fully periodic, nonperiodic, or semi-periodic. The first three vectors specify the side lengths and orientation of a parallelepiped. The ForceDomain_t::center vector provides the center of this parallelepiped. Set a vector to zero in order to indicate a nonperiodic boundary along that "dimension." The length of any nonzero vector must be at least as long as the ForceParam_t::cutoff distance, and the parallelepiped defined must have opposite sides that are at least as far apart as the ForceParam_t::cutoff distance. |
|
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
|