ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_EBAux.H
Go to the documentation of this file.
1 #ifndef ERF_EB_AUX_H_
2 #define ERF_EB_AUX_H_
3 
4 #include <AMReX_Geometry.H>
5 #include <AMReX_DistributionMapping.H>
6 #include <AMReX_BoxArray.H>
7 
8 #include <AMReX_EB2.H>
9 #include <AMReX_EBFabFactory.H>
10 
11 class eb_aux_
12 {
13  public:
14 
15  eb_aux_ ();
16  ~eb_aux_ ();
17 
18  void define ( int const& a_idim,
19  amrex::Geometry const& a_geom,
20  amrex::BoxArray const& a_grids,
21  amrex::DistributionMapping const& a_dmap,
22  amrex::Vector<int> const& a_ngrow,
23  amrex::EBFArrayBoxFactory const* a_factory);
24 
25  void set_verbose ( ) { m_verbose = 1; }
26 
27  private:
28 
29  int m_verbose;
30 
31  // int m_defined;
32 
33  amrex::FabArray<amrex::EBCellFlagFab>* m_cellflags = nullptr;
34 
35  amrex::MultiFab* m_volfrac = nullptr;
36 
37  // amrex::MultiCutFab* m_centroid = nullptr;
38  // amrex::MultiCutFab* m_bndrycent = nullptr;
39  // amrex::MultiCutFab* m_bndryarea = nullptr;
40  // amrex::MultiCutFab* m_bndrynorm = nullptr;
41 
42  // amrex::Array<amrex::MultiCutFab*,AMREX_SPACEDIM> m_areafrac {{AMREX_D_DECL(nullptr, nullptr, nullptr)}};
43  // amrex::Array<amrex::MultiCutFab*,AMREX_SPACEDIM> m_facecent {{AMREX_D_DECL(nullptr, nullptr, nullptr)}};
44  // amrex::Array<amrex::MultiCutFab*,AMREX_SPACEDIM> m_edgecent {{AMREX_D_DECL(nullptr, nullptr, nullptr)}};
45 
46 };
47 
48 #endif
Definition: ERF_EBAux.H:12
eb_aux_()
Definition: ERF_EBAux.cpp:12
~eb_aux_()
Definition: ERF_EBAux.cpp:7
amrex::FabArray< amrex::EBCellFlagFab > * m_cellflags
Definition: ERF_EBAux.H:33
void set_verbose()
Definition: ERF_EBAux.H:25
void define(int const &a_idim, amrex::Geometry const &a_geom, amrex::BoxArray const &a_grids, amrex::DistributionMapping const &a_dmap, amrex::Vector< int > const &a_ngrow, amrex::EBFArrayBoxFactory const *a_factory)
Definition: ERF_EBAux.cpp:19
int m_verbose
Definition: ERF_EBAux.H:29
amrex::MultiFab * m_volfrac
Definition: ERF_EBAux.H:35