diff options
author | 2019-10-10 13:58:31 +0200 | |
---|---|---|
committer | 2019-10-10 13:58:31 +0200 | |
commit | 0c11a538def7e66cd6e09c09e206da5a5460f8cc (patch) | |
tree | b2a07af0bf5d86ec3d1bc05a72afa4d88e9e2489 /Source/QED/BreitWheelerEngineWrapper.h | |
parent | 431818ad7bb72bc5396c7a870024f310de6f055c (diff) | |
parent | 96ea487480fc7ce60eb20895ca4cc20cbba5888d (diff) | |
download | WarpX-0c11a538def7e66cd6e09c09e206da5a5460f8cc.tar.gz WarpX-0c11a538def7e66cd6e09c09e206da5a5460f8cc.tar.zst WarpX-0c11a538def7e66cd6e09c09e206da5a5460f8cc.zip |
merging with qed_phys_part_with_lambda
Diffstat (limited to 'Source/QED/BreitWheelerEngineWrapper.h')
-rw-r--r-- | Source/QED/BreitWheelerEngineWrapper.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/Source/QED/BreitWheelerEngineWrapper.h b/Source/QED/BreitWheelerEngineWrapper.h index 9aa897e8d..aaa94c0ec 100644 --- a/Source/QED/BreitWheelerEngineWrapper.h +++ b/Source/QED/BreitWheelerEngineWrapper.h @@ -1,9 +1,6 @@ #ifndef WARPX_breit_wheeler_engine_wrapper_h_ #define WARPX_breit_wheeler_engine_wrapper_h_ -//This file provides a wrapper aroud the breit_wheeler engine -//provided by the QED modules of the PICSAR library - #include "QedWrapperCommons.h" //BW ENGINE from PICSAR @@ -33,11 +30,12 @@ struct BreitWheelerEngineInnards // These functors provide the core elementary functions of the library // Can be included in GPU kernels -// Initialization of the optical depth +/* \brief Functor to initialize the optical depth of photons for the +* Breit-Wheeler process */ class BreitWheelerGetOpticalDepth { public: - BreitWheelerGetOpticalDepth() + BreitWheelerGetOpticalDepth () {}; AMREX_GPU_DEVICE @@ -66,22 +64,25 @@ private: }; // Factory class ============================= + +/* \brief Wrapper for the Breit Wheeler engine of the PICSAR library */ class BreitWheelerEngine { public: - BreitWheelerEngine(); + BreitWheelerEngine (); - //Builds the functor to initialize the optical depth - BreitWheelerGetOpticalDepth build_optical_depth_functor(); + /* \brief Builds the functor to initialize the optical depth */ + BreitWheelerGetOpticalDepth build_optical_depth_functor (); - //Builds the functor to evolve the optical depth - BreitWheelerEvolveOpticalDepth build_evolve_functor(); + /* \brief Builds the functor to evolve the optical depth */ + BreitWheelerEvolveOpticalDepth build_evolve_functor (); - //Computes the Lookup tables using the default settings - //provided by the library - void computes_lookup_tables_default(); + /* \brief Computes the Lookup tables using the default settings + * provided by the PICSAR library */ + void computes_lookup_tables_default (); - bool are_lookup_tables_initialized() const; + /* \brief Checks if lookup tables are properly initialized */ + bool are_lookup_tables_initialized () const; private: bool lookup_tables_initialized = false; @@ -89,10 +90,10 @@ private: BreitWheelerEngineInnards innards; //Private function which actually computes the lookup tables - void computes_lookup_tables( + void computes_lookup_tables ( WarpXBreitWheelerWrapperCtrl ctrl); }; //============================================ -#endif //WARPX_breit_wheeler_engine_wrapper_H_ +#endif //WARPX_breit_wheeler_engine_wrapper_H_
\ No newline at end of file |