aboutsummaryrefslogtreecommitdiff
path: root/Source/QED/QuantumSyncEngineWrapper.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/QED/QuantumSyncEngineWrapper.H')
-rw-r--r--Source/QED/QuantumSyncEngineWrapper.H10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/QED/QuantumSyncEngineWrapper.H b/Source/QED/QuantumSyncEngineWrapper.H
index 1a6ffe4f3..fd1571720 100644
--- a/Source/QED/QuantumSyncEngineWrapper.H
+++ b/Source/QED/QuantumSyncEngineWrapper.H
@@ -79,7 +79,7 @@ class QuantumSynchrotronEvolveOpticalDepth
{
public:
/**
- * Constructor acquires a reference to control parameters and
+ * Constructor acquires pointers to control parameters and
* lookup tables data.
* lookup_table uses non-owning vectors under the hood. So no new data
* allocations should be triggered on GPU
@@ -152,7 +152,7 @@ class QuantumSynchrotronGeneratePhotonAndUpdateMomentum
{
public:
/**
- * Constructor acquires a reference to control parameters and
+ * Constructor acquires pointers to control parameters and
* lookup tables data.
* lookup_table uses non-owning vectors under the hood. So no new data
* allocations should be triggered on GPU
@@ -285,6 +285,12 @@ public:
*/
PicsarQuantumSynchrotronCtrl get_default_ctrl() const;
+ /**
+ * returns a constant reference to the control parameters
+ * @return const reference to control parameters
+ */
+ const PicsarQuantumSynchrotronCtrl& get_ref_ctrl() const;
+
private:
bool m_lookup_tables_initialized = false;