aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2021-02-05 18:35:43 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-05 09:35:43 -0800
commit4dad73885c78a0d025da623ff5aba92bbbb0be2b (patch)
tree2dfd4900c13310cb2ee621f6b0a0b39864630ca4 /Source/Particles/ElementaryProcess
parent86f657fdeac78e2c0e6d3d5f709e175256e8a368 (diff)
downloadWarpX-4dad73885c78a0d025da623ff5aba92bbbb0be2b.tar.gz
WarpX-4dad73885c78a0d025da623ff5aba92bbbb0be2b.tar.zst
WarpX-4dad73885c78a0d025da623ff5aba92bbbb0be2b.zip
Set QED support ON by default (#1529)
* updated doc * updated cmake * fixed bug * updates to take into account modifications in picsar_qed folder structure * fixed bug * fixed bug * picsar/improve_makefile is now used for tests * use sycl fix with picsar_qed * update defines for picsar * Update PICSAR Git Links Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/ElementaryProcess')
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H4
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp4
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/QedChiFunctions.H2
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/QedWrapperCommons.H3
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H4
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp2
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/SchwingerProcessWrapper.H2
7 files changed, 11 insertions, 10 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H
index 0f9d3b625..0598d0b34 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H
+++ b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H
@@ -15,8 +15,8 @@
#include <AMReX_Vector.H>
#include <AMReX_Gpu.H>
-#include <physics/breit_wheeler/breit_wheeler_engine_tables.hpp>
-#include <physics/breit_wheeler/breit_wheeler_engine_core.hpp>
+#include <picsar_qed/physics/breit_wheeler/breit_wheeler_engine_tables.hpp>
+#include <picsar_qed/physics/breit_wheeler/breit_wheeler_engine_core.hpp>
#include <string>
#include <vector>
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp
index 4d12e2763..690469810 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp
+++ b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp
@@ -6,11 +6,11 @@
*/
#include "BreitWheelerEngineWrapper.H"
-#include <utils/serialization.hpp>
+#include <picsar_qed/utils/serialization.hpp>
//Functions needed to generate a new table
#ifdef WARPX_QED_TABLE_GEN
-# include <physics/breit_wheeler/breit_wheeler_engine_tables_generator.hpp>
+# include <picsar_qed/physics/breit_wheeler/breit_wheeler_engine_tables_generator.hpp>
#endif
#include <AMReX.H>
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QedChiFunctions.H b/Source/Particles/ElementaryProcess/QEDInternals/QedChiFunctions.H
index b6ac5c5e4..01852600c 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/QedChiFunctions.H
+++ b/Source/Particles/ElementaryProcess/QEDInternals/QedChiFunctions.H
@@ -15,7 +15,7 @@
#include "QedWrapperCommons.H"
-#include <physics/chi_functions.hpp>
+#include <picsar_qed/physics/chi_functions.hpp>
namespace QedUtils{
/**
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QedWrapperCommons.H b/Source/Particles/ElementaryProcess/QEDInternals/QedWrapperCommons.H
index 75fc2fd79..aa95486ae 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/QedWrapperCommons.H
+++ b/Source/Particles/ElementaryProcess/QEDInternals/QedWrapperCommons.H
@@ -22,7 +22,8 @@
* compiled for GPU. The user has to set it to the right value
* (AMREX_GPU_DEVICE in this case).
*/
-#define PXRMP_GPU AMREX_GPU_HOST_DEVICE
+#define PXRMP_WITH_GPU
+#define PXRMP_GPU_QUALIFIER AMREX_GPU_HOST_DEVICE
//_________________________
/**
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H
index 3ab0f106f..cc3d4eba1 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H
+++ b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H
@@ -15,8 +15,8 @@
#include <AMReX_Vector.H>
#include <AMReX_Gpu.H>
-#include <physics/quantum_sync/quantum_sync_engine_tables.hpp>
-#include <physics/quantum_sync/quantum_sync_engine_core.hpp>
+#include <picsar_qed/physics/quantum_sync/quantum_sync_engine_tables.hpp>
+#include <picsar_qed/physics/quantum_sync/quantum_sync_engine_core.hpp>
#include <string>
#include <vector>
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
index 3f839ce91..0019f042b 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
+++ b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
@@ -8,7 +8,7 @@
//Functions needed to generate a new table
#ifdef WARPX_QED_TABLE_GEN
-# include <physics/quantum_sync/quantum_sync_engine_tables_generator.hpp>
+# include <picsar_qed/physics/quantum_sync/quantum_sync_engine_tables_generator.hpp>
#endif
#include <AMReX.H>
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/SchwingerProcessWrapper.H b/Source/Particles/ElementaryProcess/QEDInternals/SchwingerProcessWrapper.H
index e7466985a..6638e1759 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/SchwingerProcessWrapper.H
+++ b/Source/Particles/ElementaryProcess/QEDInternals/SchwingerProcessWrapper.H
@@ -10,7 +10,7 @@
#include "QedWrapperCommons.H"
-#include <physics/schwinger/schwinger_pair_engine_core.hpp>
+#include <picsar_qed/physics/schwinger/schwinger_pair_engine_core.hpp>
#include <AMReX_Random.H>
#include <cmath>