00001
00049 #ifndef _VOPOT_H_
00050 #define _VOPOT_H_
00051
00052
00053 #include "maloc/maloc.h"
00054 #include "apbs/vhal.h"
00055
00056
00057 #include "apbs/vatom.h"
00058 #include "apbs/valist.h"
00059 #include "apbs/vmgrid.h"
00060 #include "apbs/vunit.h"
00061 #include "apbs/vpbe.h"
00062 #include "apbs/pbeparm.h"
00063
00069 struct sVopot {
00070
00071 Vmgrid *mgrid;
00073 Vpbe *pbe;
00074 Vbcfl bcfl;
00076 };
00077
00082 typedef struct sVopot Vopot;
00083
00094 Vopot* Vopot_ctor(Vmgrid *mgrid, Vpbe *pbe, Vbcfl bcfl);
00095
00107 int Vopot_ctor2(Vopot *thee, Vmgrid *mgrid, Vpbe *pbe, Vbcfl bcfl);
00108
00117 int Vopot_pot(Vopot *thee, double x[3], double *pot);
00118
00124 void Vopot_dtor(Vopot **thee);
00125
00131 void Vopot_dtor2(Vopot *thee);
00132
00146 int Vopot_curvature(Vopot *thee, double pt[3], int cflag, double
00147 *curv);
00148
00157 int Vopot_gradient(Vopot *thee, double pt[3], double grad[3] );
00158
00159
00160 #endif
00161