--- branches/development/src/brains/SimInfo.cpp 2012/05/22 21:55:31 1715 +++ branches/development/src/brains/SimInfo.cpp 2012/06/05 18:07:08 1744 @@ -59,7 +59,7 @@ #include "utils/simError.h" #include "selection/SelectionManager.hpp" #include "io/ForceFieldOptions.hpp" -#include "UseTheForce/ForceField.hpp" +#include "brains/ForceField.hpp" #include "nonbonded/SwitchingFunction.hpp" #ifdef IS_MPI #include @@ -259,6 +259,9 @@ namespace OpenMD { } } + ndfLocal_ = ndf_local; + cerr << "ndfLocal_ = " << ndfLocal_ << "\n"; + // n_constraints is local, so subtract them on each processor ndf_local -= nConstraints_;