#include "force/fparam.h"
Go to the source code of this file.
Classes | |
struct | ForceResult_t |
Holds the arrays for computed forces and energies. More... | |
Typedefs | |
typedef ForceResult_t | ForceResult |
Holds the arrays for computed forces and energies. | |
Enumerations | |
enum | ForceResultFlags_t { FORCE_RESULT_F_BOND = 0x0001, FORCE_RESULT_F_ANGLE = 0x0002, FORCE_RESULT_F_DIHED = 0x0004, FORCE_RESULT_F_IMPR = 0x0008, FORCE_RESULT_F_ELEC = 0x0010, FORCE_RESULT_F_VDW = 0x0020, FORCE_RESULT_F_BRES = 0x0040, FORCE_RESULT_E_BOND = 0x0100, FORCE_RESULT_E_ANGLE = 0x0200, FORCE_RESULT_E_DIHED = 0x0400, FORCE_RESULT_E_IMPR = 0x0800, FORCE_RESULT_E_ELEC = 0x1000, FORCE_RESULT_E_VDW = 0x2000, FORCE_RESULT_E_BRES = 0x4000, FORCE_RESULT_E_EPOT = 0x8000, FORCE_RESULT_ALL_F = 0x007f, FORCE_RESULT_ALL_E = 0xff00, FORCE_RESULT_ALL = FORCE_RESULT_ALL_F | FORCE_RESULT_ALL_E } |
Functions | |
ForceResult * | force_result_create (const ForceParam *fprm, int32 alloc_flags) |
Constructor. | |
void | force_result_destroy (ForceResult *) |
Destructor. | |
int | force_result_initialize (ForceResult *, const ForceParam *fprm, int32 alloc_flags) |
Alternative constructor. | |
void | force_result_cleanup (ForceResult *) |
Alternative destructor. |
ForceResult_t
container class holds the arrays for the computed forces and energies.
|
Holds the arrays for computed forces and energies.
The memory buffer space is allocated by the constructor based on the bitwise ORing of
The computation of the potential energy reductions ( |
|
|
Alternative destructor.
Use this to destroy a preallocated |
|
Constructor.
ForceResult_t container object that holds the arrays for the computed forces and energies. The memory buffer space is allocated based on the value of alloc_flags , set by bitwise ORing of ForceResultFlags_t , with the array lengths determined by topology data in ForceParam_t object.
|
|
Destructor.
Frees memory buffer arrays and destroys the dynamically allocated |
|
Alternative constructor.
ForceResult_t object. The internal memory buffer space is allocated based on the value of alloc_flags , set by bitwise ORing of ForceResultFlags_t , with the array lengths determined by topology data in ForceParam_t object.
|