33 #include <AMReX_AmrMesh.H>
93 static std::unique_ptr<AmrBoxLib>
create(
const AmrInfo&
info,
102 std::vector<int>& gridsPerLevel)
const;
111 double getRho(
int x,
int y,
int z);
amr::AmrField_t AmrField_t
amrex::Vector< AmrVectorField_t > AmrVectorFieldContainer_t
amrex::DistributionMapping AmrProcMap_t
amrex::Geometry AmrGeometry_t
amrex::RealBox AmrDomain_t
amrex::Vector< AmrGeometry_t > AmrGeomContainer_t
amrex::IntVect AmrIntVect_t
amrex::MultiFab AmrField_t
amrex::Vector< std::unique_ptr< AmrField_t > > AmrScalarFieldContainer_t
amrex::Vector< int > AmrIntArray_t
amrex::BoxArray AmrGrid_t
amrex::Vector< AmrGrid_t > AmrGridContainer_t
amrex::Vector< AmrProcMap_t > AmrProcMapContainer_t
amr::AmrGeometry_t AmrGeometry_t
amr::AmrProcMap_t AmrProcMap_t
Vector_t meshScaling_m
in particle rest frame, the longitudinal length enlarged
const Vector_t & getMeshScaling() const
void redistributeGrids(int how)
void MakeNewLevelFromScratch(int lev, AmrReal_t time, const AmrGrid_t &ba, const AmrProcMap_t &dm)
virtual void ErrorEst(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow) override
const int & maxLevel() const
AmrBoxLib(const AmrDomain_t &domain, const AmrIntArray_t &nGridPts, int maxLevel, AmrPartBunch *bunch_p)
AmrScalarFieldContainer_t rho_m
charge density on the grid for all levels
void tagForPotentialStrength_m(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow)
VectorPair_t getEExtrema()
void getGridStatistics(std::map< int, long > &gridPtsPerCore, std::vector< int > &gridsPerLevel) const
void tagForMaxNumParticles_m(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow)
void postRegrid_m(int old_finest)
amr::AmrVectorFieldContainer_t AmrVectorFieldContainer_t
void RemakeLevel(int lev, AmrReal_t time, const AmrGrid_t &new_grids, const AmrProcMap_t &new_dmap)
AmrScalarFieldContainer_t phi_m
scalar potential on the grid for all levels
amr::AmrField_t AmrField_t
amr::AmrIntArray_t AmrIntArray_t
std::vector< bool > isFirstTagging_m
void computeSelfFields_cycl(double gamma)
amrex::FArrayBox FArrayBox_t
amr::AmrProcMapContainer_t AmrProcMapContainer_t
AmrPartBunch * bunch_mp
bunch used for tagging strategies
amr::AmrScalarFieldContainer_t AmrScalarFieldContainer_t
void MakeNewLevel(int lev, AmrReal_t time, const AmrGrid_t &new_grids, const AmrProcMap_t &new_dmap)
void tagForEfield_m(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow)
void tagForMinNumParticles_m(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow)
amrex::TagBoxArray TagBoxArray_t
void initBaseLevel_m(const AmrIntArray_t &nGridPts)
void MakeNewLevelFromCoarse(int lev, AmrReal_t time, const AmrGrid_t &ba, const AmrProcMap_t &dm)
amr::AmrGeomContainer_t AmrGeomContainer_t
const int & finestLevel() const
void doRegrid_m(int lbase, double time)
void tagForMomenta_m(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow)
void fillPhysbc_m(AmrField_t &mf, int lev=0)
static std::unique_ptr< AmrBoxLib > create(const AmrInfo &info, AmrPartBunch *bunch_p)
void tagForChargeDensity_m(int lev, TagBoxArray_t &tags, AmrReal_t time, int ngrow)
amr::AmrDomain_t AmrDomain_t
AmrVectorFieldContainer_t efield_m
vector field on the grid for all levels
static void initParmParse_m(const AmrInfo &info, AmrLayout_t *layout_p)
Vektor< int, 3 > getBaseLevelGridPoints() const
amr::AmrGridContainer_t AmrGridContainer_t
amr::AmrIntVect_t AmrIntVect_t
double getRho(int x, int y, int z)
std::pair< Vector_t, Vector_t > VectorPair_t