00001
00049 #ifndef _VATOM_H_
00050 #define _VATOM_H_
00051
00052 #include "maloc/maloc.h"
00053 #include "apbs/vhal.h"
00054
00060 struct sVatom {
00061
00062 double position[3];
00063 double radius;
00064 double charge;
00065 int partID;
00068 };
00069
00074 typedef struct sVatom Vatom;
00075
00076
00077
00079
00080
00081
00088
00089
00096
00097
00104
00105
00113
00114
00122
00123
00130
00131
00138
00139
00147
00148
00149
00150 # define Vatom_getPosition(thee) ((thee)->position)
00151 # define Vatom_setRadius(thee, tRadius) ((thee)->radius = (tRadius))
00152 # define Vatom_getRadius(thee) ((thee)->radius)
00153 # define Vatom_setPartID(thee, tpartID) ((thee)->partID = (tpartID))
00154 # define Vatom_getPartID(thee) ((thee)->partID)
00155 # define Vatom_setCharge(thee, charge) ((thee)->charge = charge)
00156 # define Vatom_getCharge(thee) ((thee)->charge)
00157 # define Vatom_memChk(thee) (sizeof(Vatom))
00158 #endif
00159
00160
00161
00163
00169
00170
00177
00178
00184
00185
00191
00192
00199
00200
00208
00209
00217
00218
00219
00220