From 19aeed143e452825ee602feaa6a65eefa0c7b5bb Mon Sep 17 00:00:00 2001 From: Sadr Mohsen <sadr_m@merlin-l-001.psi.ch> Date: Mon, 24 Jun 2024 09:51:04 +0200 Subject: [PATCH] fix a few minor issues after the merge --- src/PartBunch/PartBunch.hpp | 6 ------ src/PartBunch/ParticleContainer.hpp | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/PartBunch/PartBunch.hpp b/src/PartBunch/PartBunch.hpp index b4aade3e1..0efa58f65 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 b0b5169ca..5f207f5e1 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(); -- GitLab