7 #ifndef GUARDCELLMANAGER_H_ 8 #define GUARDCELLMANAGER_H_ 10 #include <AMReX_Array.H> 11 #include <AMReX_IntVect.H> 12 #include <AMReX_REAL.H> 13 #include <AMReX_RealVect.H> 42 const amrex::RealVect
dx,
43 const bool do_subcycling,
44 const bool do_fdtd_nci_corr,
46 const bool do_moving_window,
47 const int moving_window_dir,
49 const int nox_fft,
const int noy_fft,
const int noz_fft,
50 const int nci_corr_stencil,
51 const int maxwell_solver_id,
53 const amrex::Array<amrex::Real,3> v_galilean,
54 const amrex::Array<amrex::Real,3> v_comoving,
55 const bool safe_guard_cells,
56 const int do_electrostatic);
61 amrex::IntVect
ng_alloc_J = amrex::IntVect::TheZeroVector();
65 amrex::IntVect
ng_alloc_F = amrex::IntVect::TheZeroVector();
67 amrex::IntVect
ng_alloc_G = amrex::IntVect::TheZeroVector();
87 amrex::IntVect
ng_depos_J = amrex::IntVect::TheZeroVector();
91 #endif // GUARDCELLMANAGER_H_ void Init(const amrex::Real dt, const amrex::RealVect dx, const bool do_subcycling, const bool do_fdtd_nci_corr, const bool do_nodal, const bool do_moving_window, 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_solver_id, const int max_level, const amrex::Array< amrex::Real, 3 > v_galilean, const amrex::Array< amrex::Real, 3 > v_comoving, const bool safe_guard_cells, const int do_electrostatic)
Initialize number of guard cells depending on the options used.
Definition: GuardCellManager.cpp:32
amrex::IntVect ng_FieldSolverF
Definition: GuardCellManager.H:74
amrex::IntVect ng_afterPushPSATD
Definition: GuardCellManager.H:84
int dx
Definition: compute_domain.py:35
amrex::IntVect ng_depos_rho
Definition: GuardCellManager.H:88
amrex::IntVect ng_FieldSolverG
Definition: GuardCellManager.H:76
amrex::IntVect ng_alloc_G
Definition: GuardCellManager.H:67
amrex::IntVect ng_alloc_J
Definition: GuardCellManager.H:61
amrex::IntVect ng_alloc_Rho
Definition: GuardCellManager.H:63
amrex::IntVect ng_alloc_F
Definition: GuardCellManager.H:65
amrex::IntVect ng_FieldGather
Definition: GuardCellManager.H:78
amrex::IntVect ng_alloc_EB
Definition: GuardCellManager.H:59
amrex::IntVect ng_UpdateAux
Definition: GuardCellManager.H:80
amrex::IntVect ng_MovingWindow
Definition: GuardCellManager.H:82
amrex::IntVect ng_FieldSolver
Definition: GuardCellManager.H:72
This class computes and stores the number of guard cells needed for the allocation of the MultiFabs a...
Definition: GuardCellManager.H:19
amrex::IntVect ng_depos_J
Definition: GuardCellManager.H:87