4 #include <AMReX_Geometry.H>
5 #include <AMReX_DistributionMapping.H>
6 #include <AMReX_BoxArray.H>
9 #include <AMReX_EBFabFactory.H>
19 eb_ (amrex::Geometry
const& a_geom,
20 amrex::FArrayBox
const& terrain_fab,
21 amrex::Gpu::DeviceVector<amrex::Real>& a_dz_stretched,
26 amrex::Geometry
const& a_geom,
27 amrex::EB2::Level
const* a_eb_level,
31 amrex::Geometry
const& a_geom,
32 amrex::BoxArray
const& ba,
33 amrex::DistributionMapping
const& dm,
34 amrex::EB2::Level
const& a_eb_level);
37 amrex::Geometry
const& a_geom,
38 amrex::BoxArray
const& ba,
39 amrex::DistributionMapping
const& dm,
40 amrex::EB2::Level
const& a_eb_level);
51 const amrex::DistributionMapping & dmap,
52 const amrex::Geometry & geom,
53 const amrex::EBFArrayBoxFactory * ebf,
76 std::unique_ptr<amrex::EBFArrayBoxFactory>
m_factory =
nullptr;
82 void make_box (amrex::Geometry
const& a_geom);
88 amrex::EB2::GeometryShop<F> a_gshop)
93 amrex::EB2::Build(a_gshop, a_geom, req_lev, max_lev);
94 const amrex::EB2::IndexSpace& ebis = amrex::EB2::IndexSpace::top();
99 inline amrex::FabArray<amrex::EBCellFlagFab>&
102 const amrex::FabArray<amrex::EBCellFlagFab>& flags_const = ebfact.getMultiEBCellFlagFab();
103 return const_cast<amrex::FabArray<amrex::EBCellFlagFab>&
>(flags_const);
amrex::FabArray< amrex::EBCellFlagFab > & getNonConstEBCellFlags(const amrex::EBFArrayBoxFactory &ebfact)
Definition: ERF_EB.H:100
eb_()
Definition: ERF_EB.cpp:26
void define(int level, amrex::Geometry const &a_geom, amrex::EB2::Level const *a_eb_level, bool is_anelastic)
void make_terrain(amrex::Geometry const &a_geom)
eb_aux_ const * get_w_const_factory() const noexcept
Definition: ERF_EB.H:58
void build_level(amrex::Geometry const &a_geom, amrex::EB2::GeometryShop< F > a_gshop)
Construct EB levels from Geometry shop.
Definition: ERF_EB.H:87
void WriteEBSurface(const amrex::BoxArray &ba, const amrex::DistributionMapping &dmap, const amrex::Geometry &geom, const amrex::EBFArrayBoxFactory *ebf, const int level)
Definition: ERF_EB.cpp:136
amrex::EB2::Level const * m_eb_level
EB level constructed from building GeometryShop.
Definition: ERF_EB.H:74
void make_all_factories(int level, amrex::Geometry const &a_geom, amrex::BoxArray const &ba, amrex::DistributionMapping const &dm, amrex::EB2::Level const &a_eb_level)
Definition: ERF_EB.cpp:33
amrex::FabArray< amrex::EBCellFlagFab > * m_cellflags
Definition: ERF_EB.H:71
const std::unique_ptr< amrex::EBFArrayBoxFactory > & get_const_factory() const noexcept
Definition: ERF_EB.H:46
eb_aux_ m_w_factory
Definition: ERF_EB.H:80
std::unique_ptr< amrex::EBFArrayBoxFactory > m_factory
Definition: ERF_EB.H:76
amrex::EBSupport m_support_level
Definition: ERF_EB.H:67
int nghost_volume() const
Definition: ERF_EB.H:43
void make_cc_factory(int level, amrex::Geometry const &a_geom, amrex::BoxArray const &ba, amrex::DistributionMapping const &dm, amrex::EB2::Level const &a_eb_level)
Definition: ERF_EB.cpp:77
eb_aux_ m_u_factory
Definition: ERF_EB.H:78
~eb_()
Definition: ERF_EB.cpp:21
eb_(amrex::Geometry const &a_geom, amrex::FArrayBox const &terrain_fab, amrex::Gpu::DeviceVector< amrex::Real > &a_dz_stretched, bool is_anelastic)
eb_aux_ const * get_v_const_factory() const noexcept
Definition: ERF_EB.H:57
eb_aux_ m_v_factory
Definition: ERF_EB.H:79
int m_has_eb
Definition: ERF_EB.H:60
int nghost_full() const
Definition: ERF_EB.H:44
int nghost_basic() const
Definition: ERF_EB.H:42
int m_write_eb_surface
Definition: ERF_EB.H:69
void make_box(amrex::Geometry const &a_geom)
Definition: ERF_EBBox.cpp:22
eb_aux_ const * get_u_const_factory() const noexcept
Definition: ERF_EB.H:56
std::string m_type
Definition: ERF_EB.H:65
void set_connection_flags()
Definition: ERF_EB.cpp:99
Definition: ERF_EBAux.H:12