--- branches/development/src/parallel/ForceDecomposition.cpp 2011/07/08 20:25:32 1587 +++ branches/development/src/parallel/ForceDecomposition.cpp 2011/08/18 20:18:19 1613 @@ -89,7 +89,9 @@ namespace OpenMD { void ForceDecomposition::fillSelfData(SelfData &sdat, int atom1) { - sdat.atype = ff_->getAtomType(idents[atom1]); + sdat.atype = atypesLocal[atom1]; + + sdat.pot = &embeddingPot; // Still Missing skippedCharge if (storageLayout_ & DataStorage::dslElectroFrame) {