From 4b38d3cccbf2ccb963612428973020b8193a6e28 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Fri, 9 Jul 2021 12:09:21 +0200
Subject: [PATCH] standard local var names

---
 Core/Computation/DWBASingleComputation.cpp | 14 +++++++-------
 Core/Computation/DWBASingleComputation.h   |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Core/Computation/DWBASingleComputation.cpp b/Core/Computation/DWBASingleComputation.cpp
index 158d6f5a145..ac48bf437ff 100644
--- a/Core/Computation/DWBASingleComputation.cpp
+++ b/Core/Computation/DWBASingleComputation.cpp
@@ -36,23 +36,23 @@ DWBASingleComputation::DWBASingleComputation(const ProcessedSample& sample,
 
 DWBASingleComputation::~DWBASingleComputation() = default;
 
-void DWBASingleComputation::setProgressHandler(ProgressHandler* p_progress)
+void DWBASingleComputation::setProgressHandler(ProgressHandler* progress)
 {
-    m_progress_counter = std::make_unique<DelayedProgressCounter>(p_progress, 100);
+    m_progress_counter = std::make_unique<DelayedProgressCounter>(progress, 100);
 }
 
-void DWBASingleComputation::compute(SimulationElement& elem) const
+void DWBASingleComputation::compute(SimulationElement& ele) const
 {
-    elem.setFresnelMap(m_fresnel_map);
+    ele.setFresnelMap(m_fresnel_map);
 
     for (auto& layout_comp : m_layout_comps)
-        layout_comp->compute(elem);
+        layout_comp->compute(ele);
 
     if (m_roughness_comp)
-        m_roughness_comp->compute(elem);
+        m_roughness_comp->compute(ele);
 
     if (m_spec_comp)
-        m_spec_comp->compute(elem);
+        m_spec_comp->compute(ele);
 
     if (m_progress_counter)
         m_progress_counter->stepProgress();
diff --git a/Core/Computation/DWBASingleComputation.h b/Core/Computation/DWBASingleComputation.h
index f1992d7b785..834e7fc661f 100644
--- a/Core/Computation/DWBASingleComputation.h
+++ b/Core/Computation/DWBASingleComputation.h
@@ -45,9 +45,9 @@ public:
     DWBASingleComputation(const DWBASingleComputation&) = delete;
     ~DWBASingleComputation();
 
-    void setProgressHandler(ProgressHandler* p_progress);
+    void setProgressHandler(ProgressHandler* progress);
 
-    void compute(SimulationElement& elem) const;
+    void compute(SimulationElement& ele) const;
 
 private:
     const IFresnelMap* const m_fresnel_map;
-- 
GitLab