From a764f513307dbec5bfeff1e1fb8e7c80c86fe397 Mon Sep 17 00:00:00 2001 From: Andreas Adelmann <andreas.adelmann@psi.ch> Date: Sun, 23 Jun 2024 20:53:08 +0200 Subject: [PATCH] return Debye length --- src/PartBunch/ParticleContainer.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PartBunch/ParticleContainer.hpp b/src/PartBunch/ParticleContainer.hpp index 0b4b8a93b..5f207f5e1 100644 --- a/src/PartBunch/ParticleContainer.hpp +++ b/src/PartBunch/ParticleContainer.hpp @@ -175,6 +175,7 @@ public: double computeDebyeLength(double density){ size_t Np = this->getTotalNum(); distMoments_m.computeDebyeLength(this->R.getView(), this->P.getView(), Np, density); + return distMoments_m.getDebyeLength(); } private: -- GitLab