| 9 |
|
#include "SRI.hpp" |
| 10 |
|
#include "simError.h" |
| 11 |
|
|
| 12 |
– |
|
| 12 |
|
// Declare the structures that will be passed by the parser and MPI |
| 13 |
|
|
| 14 |
|
typedef struct{ |
| 24 |
|
int parseAtomLJ( char *lineBuffer, int lineNum, atomStruct &info ); |
| 25 |
|
|
| 26 |
|
#ifdef IS_MPI |
| 28 |
– |
|
| 27 |
|
#include "mpiForceField.h" |
| 28 |
|
|
| 29 |
|
MPI_Datatype mpiAtomStructType; |
| 71 |
|
// begins the actual forcefield stuff. |
| 72 |
|
//**************************************************************** |
| 73 |
|
|
| 74 |
+ |
|
| 75 |
|
LJ_FF::LJ_FF(){ |
| 76 |
|
|
| 77 |
|
char fileName[200]; |
| 437 |
|
|
| 438 |
|
#ifdef IS_MPI |
| 439 |
|
double tempBig = bigSigma; |
| 440 |
< |
MPI::COMM_WORLD::Allreduce( &tempBig, &bigSigma, 1, MPI_DOUBLE, MPI_MAX ); |
| 440 |
> |
MPI::COMM_WORLD.Allreduce( &tempBig, &bigSigma, 1, MPI_DOUBLE, MPI_MAX ); |
| 441 |
|
#endif //is_mpi |
| 442 |
|
|
| 443 |
|
//calc rCut and rList |