Enas Yunis avatar Enas Yunis committed 35ddce6

added the environment from Gromacs Water Test

Comments (0)

Files changed (1)

unit_test/ewald_fmm.cxx

 #include "serialfmm.h"
 
 int main() {
-  const int numBodies = 2000;                                   // Number of bodies - DEF=1000.
+  const int numBodies = 3000;                                   // Number of bodies - DEF=1000.
   const real delBodies = pow(numBodies, 1.0/3.0)/10.0;         // change in numBodies
-  const real xmax = 100.0;                                      // Size of domain - DEF=100.0
+  const real xmax = 3.10736;                                      // Size of domain - DEF=100.0
   const real delXmax = 100.0/xmax;                             // Change in xmax
   const real ksize = 44.0*delBodies;                           // Ewald wave number
-  const real alpha = 0.2*delXmax*delBodies;                    // Ewald alpha value
+  const real alpha = 1.0/.289108; //0.2*delXmax*delBodies;                    // Ewald alpha value
   const real sigma = .25 / M_PI;                               // Ewald sigma value
   IMAGES = 8;                                                  // Level of periodic image tree (0 for non-periodic)
   THETA = 1 / sqrt(4);                                         // Multipole acceptance criteria
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.