| 1 |
|
#include "Integrator.hpp" |
| 2 |
|
#include "simError.h" |
| 3 |
< |
#include <cmath> |
| 3 |
> |
#include <math.h> |
| 4 |
|
template<typename T> ZConstraint<T>::ZConstraint(SimInfo* theInfo, ForceFields* the_ff) |
| 5 |
|
: T(theInfo, the_ff), indexOfZConsMols(NULL), fz(NULL), curZPos(NULL), |
| 6 |
|
fzOut(NULL), curZconsTime(0), forcePolicy(NULL) |
| 244 |
|
|
| 245 |
|
} |
| 246 |
|
|
| 247 |
< |
MPI_Bcast(&COM[whichDirection], 1, MPI_DOUBLE_PRECISION, whichNode, MPI_COMM_WORLD); |
| 247 |
> |
MPI_Bcast(&COM[whichDirection], 1, MPI_DOUBLE, whichNode, MPI_COMM_WORLD); |
| 248 |
|
#endif |
| 249 |
|
|
| 250 |
|
(*parameters)[i].zPos = COM[whichDirection]; |