ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERFPhysBCFunct_u Class Reference

#include <ERF_PhysBCFunct.H>

Collaboration diagram for ERFPhysBCFunct_u:

Public Member Functions

 ERFPhysBCFunct_u (const int lev, const amrex::Geometry &geom, const amrex::Vector< amrex::BCRec > &domain_bcs_type, const amrex::Gpu::DeviceVector< amrex::BCRec > &domain_bcs_type_d, amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > bc_extdir_vals, amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > bc_neumann_vals, const TerrainType &terrain_type, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &mapfac_lev, std::unique_ptr< amrex::MultiFab > &z_phys_nd, const bool use_real_bcs, amrex::Real *u_bc_data)
 
 ~ERFPhysBCFunct_u ()
 
void set_inflow_profiles (const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > *profiles)
 
void impose_inflow_profile_xvel (const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Box &bx, const amrex::Box &domain, int bccomp)
 
void operator() (amrex::MultiFab &mf, amrex::MultiFab &xvel, amrex::MultiFab &yvel, amrex::IntVect const &nghost, const double time, int bccomp, bool do_fb)
 
void impose_lateral_xvel_bcs (const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Box &bx, const amrex::Box &domain, int bccomp, const double time)
 
void impose_vertical_xvel_bcs (const amrex::Array4< amrex::Real > &dest_arr, const amrex::Box &bx, const amrex::Box &domain, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Array4< amrex::Real const > &mf_x, const amrex::Array4< amrex::Real const > &mf_y, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > dxInv, int bccomp, const double time)
 

Private Attributes

int m_lev
 
amrex::Geometry m_geom
 
amrex::Vector< amrex::BCRec > m_domain_bcs_type
 
amrex::Gpu::DeviceVector< amrex::BCRec > m_domain_bcs_type_d
 
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_extdir_vals
 
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_neumann_vals
 
TerrainType m_terrain_type
 
amrex::MultiFab * m_mapfac_x
 
amrex::MultiFab * m_mapfac_y
 
amrex::MultiFab * m_z_phys_nd
 
bool m_use_real_bcs
 
amrex::Real * m_u_bc_data
 
const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > * m_inflow_profiles = nullptr
 
BelowGroundGhostSync m_below_ground_sync
 

Constructor & Destructor Documentation

◆ ERFPhysBCFunct_u()

ERFPhysBCFunct_u::ERFPhysBCFunct_u ( const int  lev,
const amrex::Geometry &  geom,
const amrex::Vector< amrex::BCRec > &  domain_bcs_type,
const amrex::Gpu::DeviceVector< amrex::BCRec > &  domain_bcs_type_d,
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max >  bc_extdir_vals,
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max >  bc_neumann_vals,
const TerrainType &  terrain_type,
amrex::Vector< std::unique_ptr< amrex::MultiFab >> &  mapfac_lev,
std::unique_ptr< amrex::MultiFab > &  z_phys_nd,
const bool  use_real_bcs,
amrex::Real *  u_bc_data 
)
inline

Construct the x-velocity physical boundary-condition functor.

Parameters
[in]levlevel index
[in]geomgeometry for the level
[in]domain_bcs_typehost boundary-condition records
[in]domain_bcs_type_ddevice boundary-condition records
[in]bc_extdir_valsexternal Dirichlet values for boundary faces
[in]bc_neumann_valsNeumann values for boundary faces
[in]terrain_typeterrain type for the level
[in]mapfac_levmap-factor MultiFabs for the level
[in]z_phys_ndnodal physical height MultiFab
[in]use_real_bcswhether real-data boundary conditions are active
[in]u_bc_dataoptional x-velocity boundary data
259  : m_lev(lev), m_geom(geom),
260  m_domain_bcs_type(domain_bcs_type),
261  m_domain_bcs_type_d(domain_bcs_type_d),
262  m_bc_extdir_vals(bc_extdir_vals),
263  m_bc_neumann_vals(bc_neumann_vals),
264  m_terrain_type(terrain_type),
265  m_z_phys_nd(z_phys_nd.get()),
266  m_use_real_bcs(use_real_bcs),
267  m_u_bc_data(u_bc_data)
268  {
269  m_mapfac_x = mapfac_lev[MapFacType::u_x].get();
270  m_mapfac_y = mapfac_lev[MapFacType::u_y].get();
271  }
@ u_y
Definition: ERF_DataStruct.H:41
@ u_x
Definition: ERF_DataStruct.H:40
amrex::Geometry m_geom
Definition: ERF_PhysBCFunct.H:345
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_extdir_vals
Definition: ERF_PhysBCFunct.H:348
amrex::MultiFab * m_mapfac_y
Definition: ERF_PhysBCFunct.H:352
amrex::Gpu::DeviceVector< amrex::BCRec > m_domain_bcs_type_d
Definition: ERF_PhysBCFunct.H:347
bool m_use_real_bcs
Definition: ERF_PhysBCFunct.H:354
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_neumann_vals
Definition: ERF_PhysBCFunct.H:349
amrex::Real * m_u_bc_data
Definition: ERF_PhysBCFunct.H:355
int m_lev
Definition: ERF_PhysBCFunct.H:344
amrex::Vector< amrex::BCRec > m_domain_bcs_type
Definition: ERF_PhysBCFunct.H:346
amrex::MultiFab * m_mapfac_x
Definition: ERF_PhysBCFunct.H:351
amrex::MultiFab * m_z_phys_nd
Definition: ERF_PhysBCFunct.H:353
TerrainType m_terrain_type
Definition: ERF_PhysBCFunct.H:350

◆ ~ERFPhysBCFunct_u()

ERFPhysBCFunct_u::~ERFPhysBCFunct_u ( )
inline

Destroy the x-velocity physical boundary-condition functor.

276 {}

Member Function Documentation

◆ impose_inflow_profile_xvel()

void ERFPhysBCFunct_u::impose_inflow_profile_xvel ( const amrex::Array4< amrex::Real > &  dest_arr,
const amrex::Array4< amrex::Real const > &  xvel_arr,
const amrex::Array4< amrex::Real const > &  yvel_arr,
const amrex::Array4< amrex::Real const > &  z_nd,
const amrex::Box &  bx,
const amrex::Box &  domain,
int  bccomp 
)

Overwrite the boundary and ghost faces of profiled inflow faces

38 {
39  if (m_inflow_profiles == nullptr) { return; }
40  BL_PROFILE("impose_inflow_profile_xvel()");
41 
42  const auto dom_lo = lbound(domain);
43  const auto dom_hi = ubound(domain);
44  const bool terrain = static_cast<bool>(z_nd);
45  const Real dz = m_geom.CellSize(2);
46 
47  for (int dir = 0; dir < 2; ++dir) {
48  if (m_geom.isPeriodic(dir)) { continue; }
49  for (const auto side : {Orientation::low, Orientation::high}) {
50  const Orientation ori(dir, side);
51  const int bct = profile_bc_type(m_inflow_profiles, m_domain_bcs_type, bccomp, ori);
52  if (bct < 0) { continue; }
53 
54  const auto& prof = (*m_inflow_profiles)[ori];
55  const Real* zt = prof.z_d.data();
56  const Real* ft = prof.u_d.data();
57  const int nt = static_cast<int>(prof.z_d.size());
58  const bool upwind = (bct == ERFBCType::ext_dir_upwind);
59  const bool low = ori.isLow();
60 
61  // x-velocity is normal to an x-face (the face and the ghost faces
62  // beyond it) and tangential to a y-face (the ghost rows)
63  Box b(bx);
64  if (dir == 0) {
65  if (low) { b.setBig(0, dom_lo.x); } else { b.setSmall(0, dom_hi.x+1); }
66  } else {
67  if (low) { b.setBig(1, dom_lo.y-1); } else { b.setSmall(1, dom_hi.y+1); }
68  }
69  if (!b.ok()) { continue; }
70 
71  const int iface = low ? dom_lo.x : dom_hi.x+1;
72  const int jcol = low ? dom_lo.y : dom_hi.y;
73  const int jface = low ? dom_lo.y : dom_hi.y+1;
74 
75  // The loop box carries one more ghost than the velocity arrays (and is nodal
76  // where they are cell centered), so clamp the upwind read to the array read,
77  // as the lateral fills do (kk is clamped to the domain only: it also sets zq)
78  const auto ulo = lbound(xvel_arr), uhi = ubound(xvel_arr);
79  const auto vlo = lbound(yvel_arr), vhi = ubound(yvel_arr);
80 
81  ParallelFor(b, [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
82  {
83  const int kk = amrex::max(dom_lo.z, amrex::min(k, dom_hi.z));
84  if (upwind) {
85  const Real un = (dir == 0) ? xvel_arr(iface, amrex::Clamp(j,ulo.y,uhi.y), amrex::Clamp(kk,ulo.z,uhi.z))
86  : yvel_arr(amrex::Clamp(i,vlo.x,vhi.x), jface, amrex::Clamp(kk,vlo.z,vhi.z));
87  if (low ? (un < Real(0.0)) : (un > Real(0.0))) { return; }
88  }
89  Real zq;
90  if (dir == 0) {
91  const int jj = amrex::max(dom_lo.y, amrex::min(j, dom_hi.y));
92  zq = (terrain) ? height_above_ground(z_nd, iface, iface, jj, jj+1, kk, dom_lo.z)
93  : (static_cast<Real>(kk - dom_lo.z) + Real(0.5)) * dz;
94  } else {
95  const int ii = amrex::max(dom_lo.x, amrex::min(i, dom_hi.x+1));
96  zq = (terrain) ? height_above_ground(z_nd, ii, ii, jcol, jcol+1, kk, dom_lo.z)
97  : (static_cast<Real>(kk - dom_lo.z) + Real(0.5)) * dz;
98  }
99  dest_arr(i,j,k) = inflow_profile_value(zt, ft, nt, zq);
100  });
101  }
102  }
103 }
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real inflow_profile_value(const amrex::Real *z, const amrex::Real *f, const int n, const amrex::Real zq) noexcept
Definition: ERF_InflowProfile.H:64
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real height_above_ground(const amrex::Array4< const amrex::Real > &z_nd, int ilo, int ihi, int jlo, int jhi, const int k, const int klo) noexcept
Definition: ERF_InflowProfile.H:86
ParallelFor(fab_box, [=] AMREX_GPU_DEVICE(int i, int j, int k) { qrcuten_arr(i, j, k)=Real(0);qscuten_arr(i, j, k)=Real(0);qicuten_arr(i, j, k)=Real(0);})
const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > * m_inflow_profiles
Definition: ERF_PhysBCFunct.H:356
@ ext_dir_upwind
Definition: ERF_IndexDefines.H:325
@ dz
Definition: ERF_AdvanceWDM6.cpp:273
Here is the call graph for this function:

◆ impose_lateral_xvel_bcs()

void ERFPhysBCFunct_u::impose_lateral_xvel_bcs ( const amrex::Array4< amrex::Real > &  dest_arr,
const amrex::Array4< amrex::Real const > &  xvel_arr,
const amrex::Array4< amrex::Real const > &  yvel_arr,
const amrex::Box &  bx,
const amrex::Box &  domain,
int  bccomp,
const double  time 
)

Impose lateral boundary conditions on x velocity.

Parameters
[in,out]dest_arrx-velocity data to be filled
[in]xvel_arrx-velocity used to determine upwind inflow
[in]yvel_arry-velocity used to determine upwind inflow
[in]bxbox holding data to be filled
[in]domainsimulation domain
[in]bccompboundary-condition component
[in]timetime at which data should be filled

Impose lateral boundary conditions on x-component of velocity

Parameters
[in,out]dest_arrArray4 of the quantity to be filled
[in]xvel_arrx-velocity used to determine upwind Dirichlet inflow
[in]yvel_arry-velocity used to determine upwind Dirichlet inflow
[in]bxbox associated with this data
[in]domaincomputational domain
[in]bccompindex into m_domain_bcs_type
[in]timetime at which the data should be filled
23 {
24  BL_PROFILE_VAR("impose_lateral_xvel_bcs()",impose_lateral_xvel_bcs);
25  const auto& dom_lo = lbound(domain);
26  const auto& dom_hi = ubound(domain);
27 
28  //
29  // An ext_dir_upwind face decides inflow against the face velocity, but the box we
30  // loop over does not always have a face velocity at every one of its cells: the
31  // state carries one more lateral ghost than the velocities do (ngrow_state =
32  // ComputeGhostCells()+1 against ngrow_vels = ComputeGhostCells()), and a velocity
33  // box is nodal in its own direction where the array being read is cell centered.
34  // Either way the outermost ghost cells have no velocity of their own, so sample
35  // the nearest one that exists. Cells already inside the velocity array are
36  // unaffected; only that outermost layer changes, and it previously read out of
37  // bounds.
38  //
39  const auto& xvel_lo = lbound(xvel_arr);
40  const auto& xvel_hi = ubound(xvel_arr);
41  const auto& yvel_lo = lbound(yvel_arr);
42  const auto& yvel_hi = ubound(yvel_arr);
43 
44  // xlo: ori = 0
45  // ylo: ori = 1
46  // zlo: ori = 2
47  // xhi: ori = 3
48  // yhi: ori = 4
49  // zhi: ori = 5
50 
51  // Based on BCRec for the domain, we need to make BCRec for this Box
52  // bccomp is used as starting index for m_domain_bcs_type
53  // 0 is used as starting index for bcrs
54  Vector<BCRec> bcrs(1);
55  setBC(enclosedCells(bx), domain, bccomp, 0, 1, m_domain_bcs_type, bcrs);
56 
57  Gpu::DeviceVector<BCRec> bcrs_d(1);
58  Gpu::copyAsync(Gpu::hostToDevice, bcrs.begin(), bcrs.end(), bcrs_d.begin());
59  const BCRec* bc_ptr = bcrs_d.data();
60 
61  GpuArray<GpuArray<Real, AMREX_SPACEDIM*2>,1> l_bc_extdir_vals_d;
62 
63  for (int ori = 0; ori < 2*AMREX_SPACEDIM; ori++) {
64  l_bc_extdir_vals_d[0][ori] = m_bc_extdir_vals[bccomp][ori];
65  }
66 
67  GeometryData const& geomdata = m_geom.data();
68  bool is_periodic_in_x = geomdata.isPeriodic(0);
69  bool is_periodic_in_y = geomdata.isPeriodic(1);
70 
71  // First do all ext_dir bcs
72  if (!is_periodic_in_x)
73  {
74  Real* xvel_bc_ptr = m_u_bc_data;
75  Box bx_xlo(bx); bx_xlo.setBig (0,dom_lo.x-1);
76  Box bx_xhi(bx); bx_xhi.setSmall(0,dom_hi.x+2);
77  Box bx_xlo_face(bx); bx_xlo_face.setSmall(0,dom_lo.x ); bx_xlo_face.setBig(0,dom_lo.x );
78  Box bx_xhi_face(bx); bx_xhi_face.setSmall(0,dom_hi.x+1); bx_xhi_face.setBig(0,dom_hi.x+1);
79  ParallelFor(bx_xlo, bx_xlo_face,
80  [=] AMREX_GPU_DEVICE (int i, int j, int k)
81  {
82  int iflip = 2*dom_lo.x - i;
83  if (bc_ptr[0].lo(0) == ERFBCType::ext_dir) {
84  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][0];
85  } else if (bc_ptr[0].lo(0) == ERFBCType::ext_dir_upwind && xvel_arr(dom_lo.x,Clamp(j,xvel_lo.y,xvel_hi.y),Clamp(k,xvel_lo.z,xvel_hi.z)) >= zero) {
86  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][0];
87  } else if (bc_ptr[0].lo(0) == ERFBCType::foextrap ||
88  bc_ptr[0].lo(0) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
89  dest_arr(i,j,k) = dest_arr(dom_lo.x,j,k);
90  } else if (bc_ptr[0].lo(0) == ERFBCType::open) {
91  dest_arr(i,j,k) = dest_arr(dom_lo.x,j,k);
92  } else if (bc_ptr[0].lo(0) == ERFBCType::reflect_even) {
93  dest_arr(i,j,k) = dest_arr(iflip,j,k);
94  } else if (bc_ptr[0].lo(0) == ERFBCType::reflect_odd) {
95  dest_arr(i,j,k) = -dest_arr(iflip,j,k);
96  } else if (bc_ptr[0].lo(0) == ERFBCType::neumann_int) {
97  dest_arr(i,j,k) = (Real(4.0)*dest_arr(dom_lo.x+1,j,k) - dest_arr(dom_lo.x+2,j,k))/three;
98  } else if (bc_ptr[0].lo(0) == ERFBCType::hoextrap) {
99  Real delta_i = (dom_lo.x - i);
100  dest_arr(i,j,k) = (one + delta_i)*dest_arr(dom_lo.x,j,k) - delta_i*dest_arr(dom_lo.x+1,j,k);
101  }
102  },
103  // We only set the values on the domain faces themselves if EXT_DIR or neumann_int
104  [=] AMREX_GPU_DEVICE (int i, int j, int k)
105  {
106  if (bc_ptr[0].lo(0) == ERFBCType::ext_dir) {
107  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][0];
108  } else if (bc_ptr[0].lo(0) == ERFBCType::ext_dir_upwind && xvel_arr(dom_lo.x,Clamp(j,xvel_lo.y,xvel_hi.y),Clamp(k,xvel_lo.z,xvel_hi.z)) >= zero) {
109  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][0];
110  } else if (bc_ptr[0].lo(0) == ERFBCType::neumann_int) {
111  dest_arr(i,j,k) = (Real(4.0)*dest_arr(dom_lo.x+1,j,k) - dest_arr(dom_lo.x+2,j,k))/three;
112  }
113  }
114  );
115  ParallelFor(bx_xhi, bx_xhi_face,
116  [=] AMREX_GPU_DEVICE (int i, int j, int k)
117  {
118  int iflip = 2*(dom_hi.x + 1) - i;
119  if (bc_ptr[0].hi(0) == ERFBCType::ext_dir) {
120  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][3];
121  } else if (bc_ptr[0].hi(0) == ERFBCType::ext_dir_upwind && xvel_arr(dom_hi.x+1,Clamp(j,xvel_lo.y,xvel_hi.y),Clamp(k,xvel_lo.z,xvel_hi.z)) <= zero) {
122  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][3];
123  } else if (bc_ptr[0].hi(0) == ERFBCType::foextrap ||
124  bc_ptr[0].hi(0) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
125  dest_arr(i,j,k) = dest_arr(dom_hi.x+1,j,k);
126  } else if (bc_ptr[0].hi(0) == ERFBCType::open) {
127  dest_arr(i,j,k) = dest_arr(dom_hi.x+1,j,k);
128  } else if (bc_ptr[0].hi(0) == ERFBCType::reflect_even) {
129  dest_arr(i,j,k) = dest_arr(iflip,j,k);
130  } else if (bc_ptr[0].hi(0) == ERFBCType::reflect_odd) {
131  dest_arr(i,j,k) = -dest_arr(iflip,j,k);
132  } else if (bc_ptr[0].hi(0) == ERFBCType::neumann_int) {
133  dest_arr(i,j,k) = (Real(4.0)*dest_arr(dom_hi.x,j,k) - dest_arr(dom_hi.x-1,j,k))/three;
134  } else if (bc_ptr[0].hi(0) == ERFBCType::hoextrap) {
135  Real delta_i = (i - dom_hi.x - 1);
136  dest_arr(i,j,k) = (one + delta_i)*dest_arr(dom_hi.x+1,j,k) - delta_i*dest_arr(dom_hi.x,j,k);
137  }
138  },
139  // We only set the values on the domain faces themselves if EXT_DIR or neumann_int
140  [=] AMREX_GPU_DEVICE (int i, int j, int k)
141  {
142  if (bc_ptr[0].hi(0) == ERFBCType::ext_dir) {
143  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][3];
144  } else if (bc_ptr[0].hi(0) == ERFBCType::ext_dir_upwind && xvel_arr(dom_hi.x+1,Clamp(j,xvel_lo.y,xvel_hi.y),Clamp(k,xvel_lo.z,xvel_hi.z)) <= zero) {
145  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][3];
146  } else if (bc_ptr[0].hi(0) == ERFBCType::neumann_int) {
147  dest_arr(i,j,k) = (Real(4.0)*dest_arr(dom_hi.x,j,k) - dest_arr(dom_hi.x-1,j,k))/three;
148  }
149  }
150  );
151  } // not periodic in x
152 
153  if (!is_periodic_in_y)
154  {
155  // Populate ghost cells on lo-y and hi-y domain boundaries
156  Real* xvel_bc_ptr = m_u_bc_data;
157  Box bx_ylo(bx); bx_ylo.setBig (1,dom_lo.y-1);
158  Box bx_yhi(bx); bx_yhi.setSmall(1,dom_hi.y+1);
159  ParallelFor(bx_ylo, bx_yhi,
160  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
161  int jflip = 2*dom_lo.y - 1 - j;
162  if (bc_ptr[0].lo(1) == ERFBCType::ext_dir) {
163  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][1];
164  } else if (bc_ptr[0].lo(1) == ERFBCType::ext_dir_upwind && yvel_arr(Clamp(i,yvel_lo.x,yvel_hi.x),dom_lo.y,Clamp(k,yvel_lo.z,yvel_hi.z)) >= zero) {
165  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][1];
166  } else if (bc_ptr[0].lo(1) == ERFBCType::foextrap ||
167  bc_ptr[0].lo(1) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
168  dest_arr(i,j,k) = dest_arr(i,dom_lo.y,k);
169  } else if (bc_ptr[0].lo(1) == ERFBCType::open) {
170  dest_arr(i,j,k) = dest_arr(i,dom_lo.y,k);
171  } else if (bc_ptr[0].lo(1) == ERFBCType::reflect_even) {
172  dest_arr(i,j,k) = dest_arr(i,jflip,k);
173  } else if (bc_ptr[0].lo(1) == ERFBCType::reflect_odd) {
174  dest_arr(i,j,k) = -dest_arr(i,jflip,k);
175  } else if (bc_ptr[0].lo(1) == ERFBCType::hoextrap) {
176  Real delta_j = (dom_lo.y - j);
177  dest_arr(i,j,k) = (one + delta_j)*dest_arr(i,dom_lo.y,k) - delta_j*dest_arr(i,dom_lo.y+1,k);
178  }
179  },
180  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
181  int jflip = 2*dom_hi.y + 1 - j;
182  if (bc_ptr[0].hi(1) == ERFBCType::ext_dir) {
183  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][4];
184  } else if (bc_ptr[0].hi(1) == ERFBCType::ext_dir_upwind && yvel_arr(Clamp(i,yvel_lo.x,yvel_hi.x),dom_hi.y+1,Clamp(k,yvel_lo.z,yvel_hi.z)) <= zero) {
185  dest_arr(i,j,k) = (xvel_bc_ptr) ? xvel_bc_ptr[k] : l_bc_extdir_vals_d[0][4];
186  } else if (bc_ptr[0].hi(1) == ERFBCType::foextrap ||
187  bc_ptr[0].hi(1) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
188  dest_arr(i,j,k) = dest_arr(i,dom_hi.y,k);
189  } else if (bc_ptr[0].hi(1) == ERFBCType::open) {
190  dest_arr(i,j,k) = dest_arr(i,dom_hi.y,k);
191  } else if (bc_ptr[0].hi(1) == ERFBCType::reflect_even) {
192  dest_arr(i,j,k) = dest_arr(i,jflip,k);
193  } else if (bc_ptr[0].hi(1) == ERFBCType::reflect_odd) {
194  dest_arr(i,j,k) = -dest_arr(i,jflip,k);
195  } else if (bc_ptr[0].hi(1) == ERFBCType::hoextrap) {
196  Real delta_j = (j - dom_hi.y);
197  dest_arr(i,j,k) = (one + delta_j)*dest_arr(i,dom_hi.y,k) - delta_j*dest_arr(i,dom_hi.y-1,k);
198  }
199  }
200  );
201  } // not periodic in y
202 
203  Gpu::streamSynchronize();
204 }
constexpr amrex::Real three
Definition: ERF_NumericalConstants.H:39
constexpr amrex::Real one
Definition: ERF_NumericalConstants.H:37
constexpr amrex::Real zero
Definition: ERF_NumericalConstants.H:36
void impose_lateral_xvel_bcs(const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Box &bx, const amrex::Box &domain, int bccomp, const double time)
Definition: ERF_BoundaryConditionsXvel.cpp:18
@ open
Definition: ERF_IndexDefines.H:324
@ reflect_odd
Definition: ERF_IndexDefines.H:313
@ hoextrap
Definition: ERF_IndexDefines.H:318
@ foextrap
Definition: ERF_IndexDefines.H:316
@ ext_dir
Definition: ERF_IndexDefines.H:317
@ neumann_int
Definition: ERF_IndexDefines.H:323
@ reflect_even
Definition: ERF_IndexDefines.H:315
Here is the call graph for this function:

◆ impose_vertical_xvel_bcs()

void ERFPhysBCFunct_u::impose_vertical_xvel_bcs ( const amrex::Array4< amrex::Real > &  dest_arr,
const amrex::Box &  bx,
const amrex::Box &  domain,
const amrex::Array4< amrex::Real const > &  z_nd,
const amrex::Array4< amrex::Real const > &  mf_x,
const amrex::Array4< amrex::Real const > &  mf_y,
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM >  dxInv,
int  bccomp,
const double  time 
)

Impose vertical boundary conditions on x velocity.

Parameters
[in,out]dest_arrx-velocity data to be filled
[in]bxbox holding data to be filled
[in]domainsimulation domain
[in]z_ndnodal physical height
[in]mf_xmap factor m_x at the x faces
[in]mf_ymap factor m_y at the x faces
[in]dxInvinverse cell size
[in]bccompboundary-condition component
[in]timetime at which data should be filled

Impose vertical boundary conditions on x-component of velocity

Parameters
[in,out]dest_arrthe Array4 of the quantity to be filled
[in]bxthe box associated with this data
[in]domainthe computational domain
[in]z_phys_ndheight coordinate at nodes
[in]mf_xmap factor m_x at the x faces
[in]mf_ymap factor m_y at the x faces
[in]dxInvinverse cell size array
[in]bccompindex into m_domain_bcs_type
[in]timetime at which the data should be filled
231 {
232  BL_PROFILE_VAR("impose_vertical_xvel_bcs()",impose_vertical_xvel_bcs);
233  const auto& dom_lo = lbound(domain);
234  const auto& dom_hi = ubound(domain);
235 
236  Box per_grown_domain(domain);
237  int growx = (m_geom.isPeriodic(0)) ? 1 : 0;
238  int growy = (m_geom.isPeriodic(1)) ? 1 : 0;
239  per_grown_domain.grow(IntVect(growx,growy,0));
240  const auto& perdom_lo = lbound(per_grown_domain);
241  const auto& perdom_hi = ubound(per_grown_domain);
242 
243  GeometryData const& geomdata = m_geom.data();
244 
245  // Based on BCRec for the domain, we need to make BCRec for this Box
246  // bccomp is used as starting index for m_domain_bcs_type
247  // 0 is used as starting index for bcrs
248  Vector<BCRec> bcrs(1);
249  setBC(enclosedCells(bx), domain, bccomp, 0, 1, m_domain_bcs_type, bcrs);
250 
251  Gpu::DeviceVector<BCRec> bcrs_d(1);
252  Gpu::copyAsync(Gpu::hostToDevice, bcrs.begin(), bcrs.end(), bcrs_d.begin());
253  const BCRec* bc_ptr = bcrs_d.data();
254 
255  GpuArray<GpuArray<Real, AMREX_SPACEDIM*2>,1> l_bc_extdir_vals_d;
256 
257  for (int ori = 0; ori < 2*AMREX_SPACEDIM; ori++) {
258  l_bc_extdir_vals_d[0][ori] = m_bc_extdir_vals[bccomp][ori];
259  }
260 
261  {
262  // Populate ghost cells on lo-z and hi-z domain boundaries
263  Box bx_zlo(bx); bx_zlo.setBig (2,dom_lo.z-1);
264  Box bx_zhi(bx); bx_zhi.setSmall(2,dom_hi.z+1);
265  ParallelFor(bx_zlo, bx_zhi,
266  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
267  int kflip = 2*dom_lo.z - 1 - k;
268  if (bc_ptr[0].lo(2) == ERFBCType::ext_dir) {
269  #ifdef ERF_USE_TERRAIN_VELOCITY
270  dest_arr(i,j,k) = prob->compute_terrain_velocity(time);
271  #else
272  dest_arr(i,j,k) = l_bc_extdir_vals_d[0][2];
273  #endif
274  } else if (bc_ptr[0].lo(2) == ERFBCType::foextrap) {
275  dest_arr(i,j,k) = dest_arr(i,j,dom_lo.z);
276  } else if (bc_ptr[0].lo(2) == ERFBCType::open) {
277  dest_arr(i,j,k) = dest_arr(i,j,dom_lo.z);
278  } else if (bc_ptr[0].lo(2) == ERFBCType::reflect_even) {
279  dest_arr(i,j,k) = dest_arr(i,j,kflip);
280  } else if (bc_ptr[0].lo(2) == ERFBCType::reflect_odd) {
281  dest_arr(i,j,k) = -dest_arr(i,j,kflip);
282  } else if (bc_ptr[0].lo(2) == ERFBCType::hoextrap) {
283  Real delta_k = (dom_lo.z - k);
284  dest_arr(i,j,k) = (one + delta_k)*dest_arr(i,j,dom_lo.z) - delta_k*dest_arr(i,j,dom_lo.z+1);
285  }
286  },
287  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
288  int kflip = 2*dom_hi.z + 1 - k;
289  if (bc_ptr[0].hi(2) == ERFBCType::ext_dir) {
290  dest_arr(i,j,k) = l_bc_extdir_vals_d[0][5];
291  } else if (bc_ptr[0].hi(2) == ERFBCType::foextrap) {
292  dest_arr(i,j,k) = dest_arr(i,j,dom_hi.z);
293  } else if (bc_ptr[0].hi(2) == ERFBCType::open) {
294  dest_arr(i,j,k) = dest_arr(i,j,dom_hi.z);
295  } else if (bc_ptr[0].hi(2) == ERFBCType::reflect_even) {
296  dest_arr(i,j,k) = dest_arr(i,j,kflip);
297  } else if (bc_ptr[0].hi(2) == ERFBCType::reflect_odd) {
298  dest_arr(i,j,k) = -dest_arr(i,j,kflip);
299  } else if (bc_ptr[0].hi(2) == ERFBCType::hoextrap){
300  Real delta_k = (k - dom_hi.z);
301  dest_arr(i,j,k) = (one + delta_k)*dest_arr(i,j,dom_hi.z) - delta_k*dest_arr(i,j,dom_hi.z-1);
302  }
303  }
304  );
305  } // z
306 
307  if (m_z_phys_nd) {
308  const auto& bx_lo = lbound(bx);
309  const auto& bx_hi = ubound(bx);
310 
311  const auto& zphys_lo = lbound(Box(z_phys_nd));
312  const auto& zphys_hi = ubound(Box(z_phys_nd));
313 
314  const auto& mf_lo = lbound(Box(mf_x));
315  const auto& mf_hi = ubound(Box(mf_x));
316 
317  // Neumann conditions (d<var>/dn = 0) must be aware of the surface normal with terrain.
318  // An additional source term arises from d<var>/dx & d<var>/dy & met_h_xi/eta/zeta.
319  //=====================================================================================
320  // Only modify scalars, U, or V
321  // Loop over each component
322  // Hit for Neumann condition at kmin
323  if (bcrs[0].lo(2) == ERFBCType::foextrap) {
324  // Loop over ghost cells in bottom XY-plane (valid box)
325  Box xybx = bx;
326  xybx.setBig(2,-1);
327  xybx.setSmall(2,bx.smallEnd()[2]);
328  int k0 = 0;
329 
330  // Get the dz cell size
331  Real dz = geomdata.CellSize(2);
332 
333  // Fill all the Neumann srcs with terrain
334  ParallelFor(xybx, [=] AMREX_GPU_DEVICE (int i, int j, int k)
335  {
336  // Clip indices for ghost-cells
337  int ii = amrex::min(amrex::max(i,perdom_lo.x),perdom_hi.x);
338  ii = amrex::min(amrex::max(ii,zphys_lo.x),zphys_hi.x);
339  int jj = amrex::min(amrex::max(j,perdom_lo.y),perdom_hi.y);
340  jj = amrex::min(amrex::max(jj,zphys_lo.y),zphys_hi.y);
341 
342  // Get metrics
343  Real met_h_xi = Compute_h_xi_AtIface (ii, jj, k0, dxInv, z_phys_nd);
344  Real met_h_eta = Compute_h_eta_AtIface (ii, jj, k0, dxInv, z_phys_nd);
345  Real met_h_zeta = Compute_h_zeta_AtIface(ii, jj, k0, dxInv, z_phys_nd);
346 
347  // Map factors at the face, clamped to the (2D) map-factor box
348  int im = amrex::min(amrex::max(ii,mf_lo.x),mf_hi.x);
349  int jm = amrex::min(amrex::max(jj,mf_lo.y),mf_hi.y);
350  Real mfx = (mf_x) ? mf_x(im,jm,0) : one;
351  Real mfy = (mf_y) ? mf_y(im,jm,0) : one;
352  Real slope_x = mfx * met_h_xi;
353  Real slope_y = mfy * met_h_eta;
354 
355  // GradX at IJK location inside domain -- this relies on the assumption that we have
356  // used foextrap for quantities outside the domain to define the gradient as zero
357  Real GradVarx, GradVary;
358  if ( i < dom_lo.x-1 || i > dom_hi.x+1 || (i+1 > bx_hi.x && i-1 < bx_lo.x) ) {
359  GradVarx = zero;
360  } else if (i+1 > bx_hi.x) {
361  GradVarx = dxInv[0] * (dest_arr(i ,j,k0) - dest_arr(i-1,j,k0));
362  } else if (i-1 < bx_lo.x) {
363  GradVarx = dxInv[0] * (dest_arr(i+1,j,k0) - dest_arr(i ,j,k0));
364  } else {
365  GradVarx = myhalf * dxInv[0] * (dest_arr(i+1,j,k0) - dest_arr(i-1,j,k0));
366  }
367 
368  // GradY at IJK location inside domain -- this relies on the assumption that we have
369  // used foextrap for quantities outside the domain to define the gradient as zero
370  if ( j < dom_lo.y-1 || j > dom_hi.y+1 || (j+1 > bx_hi.y && j-1 < bx_lo.y) ) {
371  GradVary = zero;
372  } else if (j+1 > bx_hi.y) {
373  GradVary = dxInv[1] * (dest_arr(i,j ,k0) - dest_arr(i,j-1,k0));
374  } else if (j-1 < bx_lo.y) {
375  GradVary = dxInv[1] * (dest_arr(i,j+1,k0) - dest_arr(i,j ,k0));
376  } else {
377  GradVary = myhalf * dxInv[1] * (dest_arr(i,j+1,k0) - dest_arr(i,j-1,k0));
378  }
379 
380  // Prefactor, with the physical slopes m_x h_xi and m_y h_eta
381  Real met_fac = met_h_zeta / ( slope_x*slope_x + slope_y*slope_y + one );
382 
383  // Accumulate in bottom ghost cell (EXTRAP already populated)
384  dest_arr(i,j,k) -= dz * met_fac * ( mfx * slope_x * GradVarx + mfy * slope_y * GradVary );
385  });
386  } // foextrap
387  } //m_z_phys_nd
388  Gpu::streamSynchronize();
389 }
amrex::GpuArray< Real, AMREX_SPACEDIM > dxInv
Definition: ERF_InitCustomPertVels_ParticleTests.H:16
constexpr amrex::Real myhalf
Definition: ERF_NumericalConstants.H:41
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtIface(const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd)
Definition: ERF_TerrainMetrics.H:281
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtIface(const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd)
Definition: ERF_TerrainMetrics.H:328
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtIface(const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd)
Definition: ERF_TerrainMetrics.H:304
void impose_vertical_xvel_bcs(const amrex::Array4< amrex::Real > &dest_arr, const amrex::Box &bx, const amrex::Box &domain, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Array4< amrex::Real const > &mf_x, const amrex::Array4< amrex::Real const > &mf_y, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > dxInv, int bccomp, const double time)
Definition: ERF_BoundaryConditionsXvel.cpp:219
Here is the call graph for this function:

◆ operator()()

void ERFPhysBCFunct_u::operator() ( amrex::MultiFab &  mf,
amrex::MultiFab &  xvel,
amrex::MultiFab &  yvel,
amrex::IntVect const &  nghost,
const double  time,
int  bccomp,
bool  do_fb 
)

Impose physical boundary conditions at domain boundaries

Parameters
[in,out]mfx-velocity MultiFab to be filled
[in]xvelx-velocity MultiFab used by upwind boundary conditions
[in]yvely-velocity MultiFab used by upwind boundary conditions
[in]nghostnumber of ghost cells to be filled for velocity components
[in]timetime at which the data should be filled
[in]bccompindex into m_domain_bcs_type
[in]do_fbwhether to fill periodic/interior ghost cells first

Impose physical boundary conditions on x velocity.

Parameters
[in,out]mfx-velocity MultiFab to be filled
[in]xvelx-velocity MultiFab used by upwind boundary conditions
[in]yvely-velocity MultiFab used by upwind boundary conditions
[in]nghostnumber of ghost cells to be filled
[in]timetime at which data should be filled
[in]bccompindex into m_domain_bcs_type
[in]do_fbwhether to fill periodic/interior ghost cells first
188 {
189  BL_PROFILE("ERFPhysBCFunct_u::()");
190 
191  //
192  // We fill all of the interior and periodic ghost cells first, so we can fill
193  // those directly inside the lateral and vertical calls.
194  // If triply periodic this is all we do
195  //
196  if (do_fb) {
197  mf.FillBoundary(m_geom.periodicity());
198  }
199 
200  if (m_geom.isAllPeriodic()) return;
201 
202  const auto& domain = m_geom.Domain();
203  const auto dxInv = m_geom.InvCellSizeArray();
204 
205  Box gdomainx = surroundingNodes(domain,0);
206  for (int i = 0; i < AMREX_SPACEDIM; ++i) {
207  if (m_geom.isPeriodic(i)) {
208  gdomainx.grow(i, nghost[i]);
209  }
210  }
211 
212 #ifdef AMREX_USE_OMP
213 #pragma omp parallel if (Gpu::notInLaunchRegion())
214 #endif
215  {
216  for (MFIter mfi(mf,false); mfi.isValid(); ++mfi)
217  {
218  //
219  // This is the box we pass to the different routines
220  // NOTE -- this is the full grid NOT the tile box
221  //
222  Box bx = mfi.validbox();
223 
224  //
225  // These are the boxes we use to test on relative to the domain
226  //
227  Box xbx1 = surroundingNodes(bx,0); xbx1.grow(nghost);
228  if(xbx1.smallEnd(2) < domain.smallEnd(2)) xbx1.setSmall(2,domain.smallEnd(2));
229  if(xbx1.bigEnd(2) > domain.bigEnd(2)) xbx1.setBig(2,domain.bigEnd(2));
230 
231  Box xbx2 = surroundingNodes(bx,0); xbx2.grow(nghost);
232 
233  Array4<const Real> z_nd_arr;
234  Array4<const Real> mf_x_arr;
235  Array4<const Real> mf_y_arr;
236  if (m_z_phys_nd) {
237  z_nd_arr = m_z_phys_nd->const_array(mfi);
238  }
239  if (m_mapfac_x) {
240  mf_x_arr = m_mapfac_x->const_array(mfi);
241  }
242  if (m_mapfac_y) {
243  mf_y_arr = m_mapfac_y->const_array(mfi);
244  }
245 
246  if (!gdomainx.contains(xbx2)) {
247  Array4< Real> const& dest_arr = mf.array(mfi);
248  Array4<const Real> const& velx_arr = xvel.const_array(mfi);
249  Array4<const Real> const& vely_arr = yvel.const_array(mfi);
250 
251  if (!gdomainx.contains(xbx1) && !m_use_real_bcs) {
252  impose_lateral_xvel_bcs(dest_arr,velx_arr,vely_arr,xbx1,domain,bccomp,time);
253  impose_inflow_profile_xvel(dest_arr,velx_arr,vely_arr,z_nd_arr,xbx1,domain,bccomp);
254  }
255 
256  impose_vertical_xvel_bcs(dest_arr,xbx2,domain,z_nd_arr,mf_x_arr,mf_y_arr,dxInv,bccomp,time);
257  }
258  } // MFIter
259  } // OpenMP
260 
261  // The terrain correction below the ground is computed box by box; make the
262  // copies of each ghost cell agree. Only a terrain-fitted mesh has a
263  // non-zero correction -- z_phys_nd is allocated (and zeroed) for every
264  // terrain type, so testing it alone would pay for the sync on flat runs.
265  if (m_z_phys_nd && terrain_is_fitted(m_terrain_type)) {
266  m_below_ground_sync(mf, 0, 1, nghost, m_geom);
267  }
268 } // operator()
void impose_inflow_profile_xvel(const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Box &bx, const amrex::Box &domain, int bccomp)
Definition: ERF_BoundaryConditionsInflowProfile.cpp:32
BelowGroundGhostSync m_below_ground_sync
Definition: ERF_PhysBCFunct.H:357
@ xvel
Definition: ERF_IndexDefines.H:232
@ yvel
Definition: ERF_IndexDefines.H:233

◆ set_inflow_profiles()

void ERFPhysBCFunct_u::set_inflow_profiles ( const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > *  profiles)
inline

Terrain-following inflow profiles per face (xlo.inflow_profile), owned by ERF

279 { m_inflow_profiles = profiles; }

Member Data Documentation

◆ m_bc_extdir_vals

amrex::Array<amrex::Array<amrex::Real, AMREX_SPACEDIM*2>,AMREX_SPACEDIM+NBCVAR_max> ERFPhysBCFunct_u::m_bc_extdir_vals
private

◆ m_bc_neumann_vals

amrex::Array<amrex::Array<amrex::Real, AMREX_SPACEDIM*2>,AMREX_SPACEDIM+NBCVAR_max> ERFPhysBCFunct_u::m_bc_neumann_vals
private

◆ m_below_ground_sync

BelowGroundGhostSync ERFPhysBCFunct_u::m_below_ground_sync
private

◆ m_domain_bcs_type

amrex::Vector<amrex::BCRec> ERFPhysBCFunct_u::m_domain_bcs_type
private

◆ m_domain_bcs_type_d

amrex::Gpu::DeviceVector<amrex::BCRec> ERFPhysBCFunct_u::m_domain_bcs_type_d
private

◆ m_geom

amrex::Geometry ERFPhysBCFunct_u::m_geom
private

◆ m_inflow_profiles

const amrex::Array<InflowProfile,2*AMREX_SPACEDIM>* ERFPhysBCFunct_u::m_inflow_profiles = nullptr
private

Referenced by set_inflow_profiles().

◆ m_lev

int ERFPhysBCFunct_u::m_lev
private

◆ m_mapfac_x

amrex::MultiFab* ERFPhysBCFunct_u::m_mapfac_x
private

Referenced by ERFPhysBCFunct_u().

◆ m_mapfac_y

amrex::MultiFab* ERFPhysBCFunct_u::m_mapfac_y
private

Referenced by ERFPhysBCFunct_u().

◆ m_terrain_type

TerrainType ERFPhysBCFunct_u::m_terrain_type
private

◆ m_u_bc_data

amrex::Real* ERFPhysBCFunct_u::m_u_bc_data
private

◆ m_use_real_bcs

bool ERFPhysBCFunct_u::m_use_real_bcs
private

◆ m_z_phys_nd

amrex::MultiFab* ERFPhysBCFunct_u::m_z_phys_nd
private

The documentation for this class was generated from the following files: