diff options
author | 2019-10-27 13:38:48 -0700 | |
---|---|---|
committer | 2019-10-27 13:38:48 -0700 | |
commit | 74260bda9f4a8bc74fdafebcf649245c44c4d166 (patch) | |
tree | 614089e8e951833ce7693d16dbcf05d59f42400d /Source/Parallelization/GuardCellManager.H | |
parent | ea308866272ca09ad22efb733f4ac1d0fe5c4bae (diff) | |
download | WarpX-74260bda9f4a8bc74fdafebcf649245c44c4d166.tar.gz WarpX-74260bda9f4a8bc74fdafebcf649245c44c4d166.tar.zst WarpX-74260bda9f4a8bc74fdafebcf649245c44c4d166.zip |
forgot to add two files
Diffstat (limited to 'Source/Parallelization/GuardCellManager.H')
-rw-r--r-- | Source/Parallelization/GuardCellManager.H | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Source/Parallelization/GuardCellManager.H b/Source/Parallelization/GuardCellManager.H new file mode 100644 index 000000000..c1ba48b9b --- /dev/null +++ b/Source/Parallelization/GuardCellManager.H @@ -0,0 +1,40 @@ +#ifndef GUARDCELLMANAGER_H_ +#define GUARDCELLMANAGER_H_ + +#include <AMReX_IntVect.H> + +class guardCellManager{ + +public: + + void Init( + const bool do_subcycling, + const bool do_fdtd_nci_corr, + const bool do_nodal, + const bool do_moving_window, + const bool do_fft_mpi_dec, + const bool aux_is_nodal, + const int moving_window_dir, + const int nox, + const int nox_fft, const int noy_fft, const int noz_fft, + const int nci_corr_stencil, + const int maxwell_fdtd_solver_id, + const int max_level); + + // Guard cells to initialize multifabs + amrex::IntVect ngExtra; + amrex::IntVect ngE; + amrex::IntVect ngJ; + amrex::IntVect ngRho; + int ngF; + + // Guard cells to exchange data + amrex::IntVect ngB_FieldSolver; + amrex::IntVect ngE_FieldSolver; + amrex::IntVect ng_FieldGather; + amrex::IntVect ngJ_CurrentDepo; + amrex::IntVect ng_MovingWindow; + amrex::IntVect ng_NCIFilter; +}; + +#endif // GUARDCELLMANAGER_H_ |