7 #include <Bittree_BittreeAmr.h>
24 static int btRefine (bittree::BittreeAmr* mesh,
25 std::vector<int>& btTags,
26 int max_crse,
int lbase,
39 static int getBitid (bittree::BittreeAmr* mesh,
bool updated,
40 int lev,
int idx_on_lev);
41 static int getIndex (bittree::BittreeAmr* mesh,
bool updated,
47 std::vector<int>& btTags,
48 int max_crse,
int lbase,
53 std::vector<int>& btTags,
54 int max_crse,
int lbase,
60 bittree::MortonTree::Block
b);
62 unsigned lev,
unsigned const* lcoord,
int MPI_Comm
Definition: AMReX_ccse-mpi.H:47
A collection of Boxes stored in an Array.
Definition: AMReX_BoxArray.H:550
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition: AMReX_Vector.H:27
Definition: AMReX_Bittree.H:21
static void btCheckDerefine(bittree::BittreeAmr *mesh, std::vector< int > &btTags, int max_crse, int lbase, Vector< BoxArray > &grids, Vector< DistributionMapping > &dmap, MPI_Comm comm)
Definition: AMReX_Bittree.cpp:225
static int btRefine(bittree::BittreeAmr *mesh, std::vector< int > &btTags, int max_crse, int lbase, Vector< BoxArray > &grids, Vector< DistributionMapping > &dmap, MPI_Comm comm)
Definition: AMReX_Bittree.cpp:33
static bool checkNeighborsRefine(bittree::BittreeAmr *mesh, bittree::MortonTree::Block b)
Definition: AMReX_Bittree.cpp:289
static int getIndex(bittree::BittreeAmr *mesh, bool updated, int lev, int bitid)
Definition: AMReX_Bittree.cpp:143
static std::vector< int > neighIntCoords(bittree::BittreeAmr *mesh, unsigned lev, unsigned const *lcoord, int const *gCell)
Definition: AMReX_Bittree.cpp:348
static int getBitid(bittree::BittreeAmr *mesh, bool updated, int lev, int idx_on_lev)
Definition: AMReX_Bittree.cpp:137
static bool bcPeriodic[AMREX_SPACEDIM]
Definition: AMReX_Bittree.H:68
static void btCalculateGrids(bittree::BittreeAmr *mesh, int lbase, int &new_finest, Vector< BoxArray > &new_grids, Vector< IntVect > const &max_grid_size)
Definition: AMReX_Bittree.cpp:82
static void btCalculateLevel(bittree::BittreeAmr *mesh, int lev, BoxArray &ba, IntVect const &max_grid_size)
Definition: AMReX_Bittree.cpp:102
static void btCheckRefine(bittree::BittreeAmr *mesh, std::vector< int > &btTags, int max_crse, int lbase, Vector< BoxArray > &grids, Vector< DistributionMapping > &dmap, MPI_Comm comm)
Definition: AMReX_Bittree.cpp:159
AMREX_EXPORT int max_grid_size
Definition: AMReX_EB2.cpp:23
Definition: AMReX_Amr.cpp:49