Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

vhal.h

Go to the documentation of this file.
00001 
00051 #ifndef _VAPBSHAL_H_
00052 #define _VAPBSHAL_H_
00053 
00059 enum eVsurf_Meth {
00060         VSM_MOL=0, 
00064     VSM_MOLSMOOTH=1, 
00066         VSM_SPLINE=2     
00076 };
00077 
00082 typedef enum eVsurf_Meth Vsurf_Meth;
00083 
00088 enum eVhal_PBEType {
00089     PBE_LPBE,  
00090     PBE_NPBE,  
00091     PBE_LRPBE,  
00092     PBE_NRPBE  
00093 };
00094 
00099 typedef enum eVhal_PBEType Vhal_PBEType;
00100 
00101 
00107 enum eVbcfl {
00108     BCFL_ZERO=0,  
00109     BCFL_SDH=1,  
00111     BCFL_MDH=2,  
00113     BCFL_UNUSED=3,  
00114     BCFL_FOCUS=4  
00115 };
00116 
00121 typedef enum eVbcfl Vbcfl;
00122 
00128 enum eVchrg_Meth {
00129         VCM_TRIL=0,  
00132     VCM_BSPL2=1  
00135 };
00136 
00141 typedef enum eVchrg_Meth Vchrg_Meth;
00142 
00143 
00149 enum eVdata_Type {
00150     VDT_CHARGE, 
00151     VDT_POT,    
00152     VDT_SMOL,   
00154     VDT_SSPL,   
00156     VDT_VDW,    
00158     VDT_IVDW,   
00160     VDT_LAP,    
00161     VDT_EDENS,  
00163     VDT_NDENS,  
00165     VDT_QDENS,  
00167     VDT_DIELX,  
00169     VDT_DIELY,  
00171     VDT_DIELZ,  
00173     VDT_KAPPA   
00175 };
00176 
00181 typedef enum eVdata_Type Vdata_Type;
00182 
00188 enum eVdata_Format {
00189     VDF_DX=0,  
00190     VDF_UHBD=1, 
00191     VDF_AVS=2  
00192 };
00193 
00198 typedef enum eVdata_Format Vdata_Format;
00199 
00204 #define APBS_TIMER_WALL_CLOCK 26
00205 
00210 #define APBS_TIMER_SETUP 27
00211 
00216 #define APBS_TIMER_SOLVER 28
00217 
00222 #define APBS_TIMER_ENERGY 29
00223 
00228 #define APBS_TIMER_FORCE 30
00229 
00234 #define APBS_TIMER_TEMP1 31
00235 
00240 #define APBS_TIMER_TEMP2 32
00241 
00246 #define MAXMOL 5
00247 
00252 #define MAXION 10
00253 
00257 #define MAXFOCUS 5
00258 
00262 #define VMGNLEV 4
00263 
00267 #define VREDFRAC 0.25
00268 
00272 #define VAPBS_NVS 4
00273 
00277 #define VAPBS_DIM 3
00278 
00283 #define VAPBS_RIGHT 0
00284 
00289 #define VAPBS_FRONT 1
00290 
00295 #define VAPBS_UP    2
00296 
00301 #define VAPBS_LEFT  3
00302 
00307 #define VAPBS_BACK  4
00308 
00313 #define VAPBS_DOWN  5
00314 
00319 #define VPMGSMALL 1e-12
00320 
00321 
00322 #if defined(VDEBUG)
00323 #   if !defined(APBS_NOINLINE)
00324 #       define APBS_NOINLINE 1
00325 #   endif
00326 #endif
00327 
00328 #if !defined(APBS_NOINLINE)
00329 
00333 #   define VINLINE_VACC
00334 
00338 #   define VINLINE_VATOM
00339 
00343 #   define VINLINE_VCSM
00344 
00348 #   define VINLINE_VPBE
00349 
00353 #   define VINLINE_VPEE
00354 
00358 #   define VINLINE_VGREEN
00359 
00363 #   define VINLINE_VFETK
00364 
00368 #   define VINLINE_VPMG 
00369 
00374 #   define MAX_HASH_DIM 75
00375 
00376 #endif
00377 
00378 /* Fortran name mangling */
00379 #if defined(VF77_UPPERCASE)
00380 #   if defined(VF77_NOUNDERSCORE)
00381 #       define VF77_MANGLE(name,NAME) NAME
00382 #   elif defined(VF77_ONEUNDERSCORE)
00383 #       define VF77_MANGLE(name,NAME) NAME ## _
00384 #   else
00385 #       define VF77_MANGLE(name,NAME) name
00386 #   endif
00387 #else
00388 #   if defined(VF77_NOUNDERSCORE)
00389 #       define VF77_MANGLE(name,NAME) name
00390 #   elif defined(VF77_ONEUNDERSCORE)
00391 #       define VF77_MANGLE(name,NAME) name ## _
00392 #   else
00393 
00396 #       define VF77_MANGLE(name,NAME) name
00397 #   endif
00398 #endif
00399 
00400 /* Floating Point Error */
00401 #if defined(MACHINE_EPS)
00402 #     define VFLOOR(value) \
00403               ((floor(value) != floor(value + MACHINE_EPS)) ? \
00404               floor(value + MACHINE_EPS) : floor(value))
00405 #else
00406 
00411 #     define VFLOOR(value) floor(value)
00412 #endif
00413 
00414 /* String embedding for ident */
00415 #if defined(HAVE_EMBED)
00416 
00420 #    define VEMBED(rctag) \
00421          VPRIVATE const char* rctag; \
00422          static void* use_rcsid=(0 ? &use_rcsid : (void**)&rcsid);
00423 #else
00424 
00428 #    define VEMBED(rctag)
00429 #endif /* if defined(HAVE_EMBED) */
00430 
00431 #endif /* #ifndef _VAPBSHAL_H_ */
00432 

Generated on Tue Dec 6 10:05:31 2005 for APBS by doxygen 1.3.5