From c5304807d2169f3b4ad59e0609e02791cefc1215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JulienD=C3=B6rner?= Date: Mon, 2 Sep 2024 08:50:13 +0200 Subject: [PATCH] rename Deactivation module, add comment --- include/crpropa/Module.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/crpropa/Module.h b/include/crpropa/Module.h index eaa6e20b4..e21c6b555 100644 --- a/include/crpropa/Module.h +++ b/include/crpropa/Module.h @@ -64,7 +64,11 @@ class AbstractCondition: public Module { void printAcceptFlag(); }; -class DeactivateModule: public AbstractCondition { +/** + @class Deactivation + @brief Direct deactivation of the candidate. Can be used for debuging. +*/ +class Deactivation: public AbstractCondition { public: void process(Candidate *cand) const { reject(cand); } };