|
WarpX
|
#include <AMReX_AmrCore.H>#include <AMReX_Extension.H>#include <AMReX_GpuDevice.H>#include <AMReX_GpuQualifiers.H>#include <AMReX_Vector.H>#include <vector>Go to the source code of this file.
Macros | |
| #define | PXRMP_WITH_GPU |
| #define | PXRMP_GPU_QUALIFIER AMREX_GPU_HOST_DEVICE |
| #define | PXRMP_RESTRICT AMREX_RESTRICT |
| #define | PXRMP_FORCE_INLINE AMREX_FORCE_INLINE |
Typedefs | |
| template<typename Real> | |
| using | PicsarQedVector = std::vector<Real> |
| #define PXRMP_FORCE_INLINE AMREX_FORCE_INLINE |
| #define PXRMP_GPU_QUALIFIER AMREX_GPU_HOST_DEVICE |
| #define PXRMP_RESTRICT AMREX_RESTRICT |
PICSAR uses internally some specifiers analogous to AMREX_RESTRICT and AMREX_FORCE_INLINE. These definitions set the aforementioned specifiers to AMREX_RESTRICT and AMREX_FORCE_INLINE.
| #define PXRMP_WITH_GPU |
PICSAR uses PXRMP_GPU to decorate methods which should be compiled for GPU. The user has to set it to the right value (AMREX_GPU_DEVICE in this case).
| using PicsarQedVector = std::vector<Real> |