ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/config.h.in
(Generate patch)

Comparing trunk/src/config.h.in (file contents):
Revision 956 by gezelter, Tue May 16 02:06:37 2006 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 8 | Line 8
8   /* The file extension used for shared modules */
9   #undef MODULE_EXTENSION
10  
11 + /* Is defined if OOPSE should be compiled with single precision arithmetic. */
12 + #undef SINGLE_PRECISION
13 +
14   /* The CGAL version number. */
15   #undef CGAL_VERSION
16  
# Line 46 | Line 49
49   /* Define to 1 if you have the <dlfcn.h> header file. */
50   #undef HAVE_DLFCN_H
51  
52 < /* Disable all FFTW (and thus Undulation Spectrum) support */
53 < #undef WITHOUT_FFTW
52 > /* define if fftw3.h exists */
53 > #undef HAVE_FFTW3_H
54  
55 < /* Use the d prefix on fftw includes */
56 < #undef FFTW_NAME_DFFTW
55 > /* define if fftw.h exists */
56 > #undef HAVE_FFTW_H
57  
58 < /* Dont use any prefix on fftw includes */
59 < #undef FFTW_NAME_FFTW
57 <
58 < /* Use the s prefix on fftw includes */
59 < #undef FFTW_NAME_SFFTW
58 > /* define if dfftw.h exists */
59 > #undef HAVE_DFFTW_H
60  
61   /* Define to 1 if you have the `floor' function. */
62   #undef HAVE_FLOOR
# Line 375 | Line 375
375  
376   /* Define to `unsigned' if <sys/types.h> does not define. */
377   #undef size_t
378 +
379 + #ifdef SINGLE_PRECISION
380 + typedef float RealType;
381 + #ifdef IS_MPI
382 + #define MPI_REALTYPE MPI_FLOAT
383 + #endif
384 + #else
385 + typedef double RealType;
386 + #ifdef IS_MPI
387 + #define MPI_REALTYPE MPI_DOUBLE
388 + #endif
389 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines