aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/GuardCellManager.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Parallelization/GuardCellManager.H')
-rw-r--r--Source/Parallelization/GuardCellManager.H40
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_