--- branches/development/src/brains/SimInfo.cpp 2012/05/22 21:55:31 1715 +++ branches/development/src/brains/SimInfo.cpp 2012/06/07 12:53:46 1750 @@ -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,8 @@ namespace OpenMD { } } + ndfLocal_ = ndf_local; + // n_constraints is local, so subtract them on each processor ndf_local -= nConstraints_;