--- branches/development/src/brains/SimInfo.cpp 2012/05/22 21:55:31 1715 +++ branches/development/src/brains/SimInfo.cpp 2012/06/21 19:26:46 1760 @@ -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_; @@ -799,7 +801,7 @@ namespace OpenMD { usesDirectional |= (*i)->isDirectional(); usesFluctuatingCharges |= (*i)->isFluctuatingCharge(); } - + #ifdef IS_MPI int temp; temp = usesDirectional;