diff --git a/src/PartBunch/PartBunch.hpp b/src/PartBunch/PartBunch.hpp index b4aade3e1077763b2ca485219417ce9cca01e3e5..0efa58f6521b4f6857deb89dff4fa4ff7ebb8a6e 100644 --- a/src/PartBunch/PartBunch.hpp +++ b/src/PartBunch/PartBunch.hpp @@ -109,12 +109,6 @@ private: double rmsDensity_m; - /// step in a TRACK command - long long localTrackStep_m; - - /// if multiple TRACK commands - long long globalTrackStep_m; - std::shared_ptr<Distribution> OPALdist_m; diff --git a/src/PartBunch/ParticleContainer.hpp b/src/PartBunch/ParticleContainer.hpp index b0b5169ca2ede0e2a49fe441b99071e4d39e66fe..5f207f5e16efeee4a0a15aad84899c6ec2d78f5a 100644 --- a/src/PartBunch/ParticleContainer.hpp +++ b/src/PartBunch/ParticleContainer.hpp @@ -172,7 +172,7 @@ public: return distMoments_m.getPlasmaParameter(); } - void computeDebyeLength(double density){ + double computeDebyeLength(double density){ size_t Np = this->getTotalNum(); distMoments_m.computeDebyeLength(this->R.getView(), this->P.getView(), Np, density); return distMoments_m.getDebyeLength();