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

#include <ERF_PlanarBoundary.H>

Collaboration diagram for PlanarBoundary:

Classes

struct  Buffer
 
struct  EdgeStrips
 

Public Member Functions

void define (const amrex::BoxArray &ba3d, const amrex::BoxArray &ba2d, const amrex::DistributionMapping &dm, int surface_index, bool is_low=true, int normal_dir=2)
 
void fill (amrex::MultiFab &mf, const amrex::Periodicity &period)
 
void reconcile_outside_domain (amrex::MultiFab &mf, const amrex::Geometry &geom)
 
void gather_surface (const amrex::MultiFab &mf, amrex::MultiFab &dst, int scomp, int dcomp, int ncomp) const
 
const amrex::BoxArray & surface_boxes () const
 Cell-centered surface copies of the planar boxes, without duplicates. More...
 
const amrex::DistributionMapping & surface_dm () const
 Ranks owning the surface copies: each is on the rank of the planar box it is a copy of. More...
 
const amrex::Vector< int > & surface_index () const
 Index of each surface copy in the planar BoxArray. More...
 
AMREX_GPU_HOST bool is_surface_copy (const int planar_index) const
 Whether a planar-box index is the computed copy that touches the surface. More...
 

Private Member Functions

amrex::MultiFab & buffer (const amrex::MultiFab &mf)
 
EdgeStrips & edge_strips (const amrex::MultiFab &mf, const amrex::Geometry &geom)
 

Private Attributes

int m_nplanar {0}
 
amrex::BoxArray m_ba_sfc
 
amrex::DistributionMapping m_dm_sfc
 
amrex::Vector< int > m_src_index
 
amrex::Vector< Buffer > m_buffers
 
amrex::Vector< EdgeStrips > m_strips
 

Detailed Description

Ghost-cell fill for planar (2D) MultiFabs built on the collapse of a 3D BoxArray along a surface-normal direction.

The surface-layer fields and the MOST averages are defined on one 2D box per 3D box. When the 3D BoxArray is split in the normal direction, several 3D boxes collapse onto the same 2D box, so the planar BoxArray holds duplicate boxes with overlapping valid regions, and only the copy that belongs to the 3D box touching the surface is ever computed. A FillBoundary on such a MultiFab may fill a ghost cell from an uncomputed copy.

define() records which planar boxes are those surface copies. fill() copies them into a buffer without duplicates and ParallelCopies the buffer onto every planar box, valid region and ghost cells alike. Unlike FillBoundary it therefore also overwrites the valid region of the uncomputed copies, so that any copy can be read afterwards. Without duplicates fill() is a plain FillBoundary.

The buffer is kept for each target layout, index type, and number of components, so only the first fill of each kind allocates. For a face-centered MultiFab (the MOST velocity averages) neighboring surface boxes share a face in the buffer. Both should hold the same value there, but nothing enforces it, so fill() gives the shared faces a single value before it copies: the lowest global box index wins, which does not depend on the decomposition or the rank count, and every copy of the field then agrees.

A level none of whose boxes reaches the surface (a fine level away from the surface) has no computed copy to fill from, and fill() leaves the MultiFab as it is.

Member Function Documentation

◆ buffer()

MultiFab & PlanarBoundary::buffer ( const amrex::MultiFab &  mf)
private

Gather buffer for one target layout, index type, and number of components, allocated on first use. The source MultiFab list avoids rebuilding the layout key on every fill.

Parameters
[in]mfplanar MultiFab to buffer
374 {
375  const IndexType ixtype = mf.ixType();
376  const int ncomp = mf.nComp();
377 
378  // define() clears m_buffers whenever the underlying layout changes, so a
379  // source pointer is a stable per-field cache key for the lifetime of this
380  // PlanarBoundary definition.
381  for (auto& b : m_buffers) {
382  if (b.ixtype == ixtype && b.ncomp == ncomp &&
383  std::find(b.sources.begin(), b.sources.end(), &mf) != b.sources.end()) {
384  return *b.mf;
385  }
386  }
387 
388  // Only an unfamiliar source field needs the more expensive derived-layout
389  // construction below. Fields with the same layout continue to share one
390  // gather buffer.
391  BoxList bl_sfc(ixtype);
392  Vector<int> pmap;
393  for (int src : m_src_index) {
394  bl_sfc.push_back(mf.boxArray()[src]);
395  pmap.push_back(mf.DistributionMap()[src]);
396  }
397  BoxArray ba(std::move(bl_sfc));
398  DistributionMapping dm(std::move(pmap));
399 
400  for (auto& b : m_buffers) {
401  if (b.ixtype == ixtype && b.ncomp == ncomp && b.ba == ba && b.dm == dm) {
402  b.sources.push_back(&mf);
403  return *b.mf;
404  }
405  }
406  m_buffers.push_back(Buffer{ixtype, ncomp, ba, dm, {&mf},
407  std::make_unique<MultiFab>(ba, dm, ncomp, 0)});
408  return *m_buffers.back().mf;
409 }
amrex::Vector< int > m_src_index
Definition: ERF_PlanarBoundary.H:171
amrex::Vector< Buffer > m_buffers
Definition: ERF_PlanarBoundary.H:172

◆ define()

void PlanarBoundary::define ( const amrex::BoxArray &  ba3d,
const amrex::BoxArray &  ba2d,
const amrex::DistributionMapping &  dm,
int  surface_index,
bool  is_low = true,
int  normal_dir = 2 
)

Record the surface copies of a planar BoxArray.

Parameters
[in]ba3d3D BoxArray the planar BoxArray was collapsed from
[in]ba2dplanar BoxArray, one box per box of ba3d and in the same order
[in]dmDistributionMapping shared by ba3d and ba2d
[in]surface_indexindex of the surface cell in the normal direction
[in]is_lowwhether the surface is the low side of the domain
[in]normal_dirnormal direction of the surface

Record the surface copies of a planar BoxArray (see ERF_PlanarBoundary.H).

Parameters
[in]ba3d3D BoxArray the planar BoxArray was collapsed from
[in]ba2dplanar BoxArray, one box per box of ba3d and in the same order
[in]dmDistributionMapping shared by ba3d and ba2d
[in]surface_indexindex of the surface cell in the normal direction
[in]is_lowwhether the surface is the low side of the domain
[in]normal_dirnormal direction of the surface
28 {
29  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(ba2d.size() == ba3d.size(),
30  "PlanarBoundary::define: the planar BoxArray must hold one box per 3D box");
31 
32  m_nplanar = static_cast<int>(ba2d.size());
33  m_src_index.clear();
34  m_buffers.clear();
35  m_strips.clear();
36 
37  // The planar boxes are taken as they are, whatever index they were collapsed to
38  BoxList bl_sfc(IndexType::TheCellType());
39  Vector<int> pmap;
40  for (int ib = 0; ib < m_nplanar; ++ib) {
41  const bool touches_surface = is_low
42  ? (ba3d[ib].smallEnd(normal_dir) == surface_index)
43  : (ba3d[ib].bigEnd(normal_dir) == surface_index);
44  if (touches_surface) {
45  bl_sfc.push_back(enclosedCells(ba2d[ib]));
46  pmap.push_back(dm[ib]);
47  m_src_index.push_back(ib);
48  }
49  }
50  m_ba_sfc = BoxArray(std::move(bl_sfc));
51  m_dm_sfc = DistributionMapping(std::move(pmap));
52 
53  // Exactly one computed copy per column: the surface boxes must not overlap
55  "PlanarBoundary::define: the boxes touching the surface overlap in the plane, so a "
56  "planar field would have more than one computed copy per column");
57 }
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(axis >=0 &&axis< AMREX_SPACEDIM, "prob.axis must be 0, 1 or 2")
amrex::DistributionMapping m_dm_sfc
Definition: ERF_PlanarBoundary.H:170
amrex::Vector< EdgeStrips > m_strips
Definition: ERF_PlanarBoundary.H:173
amrex::BoxArray m_ba_sfc
Definition: ERF_PlanarBoundary.H:169
int m_nplanar
Definition: ERF_PlanarBoundary.H:168
const amrex::Vector< int > & surface_index() const
Index of each surface copy in the planar BoxArray.
Definition: ERF_PlanarBoundary.H:130

Referenced by ERF::FillPlot2DVars().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ edge_strips()

PlanarBoundary::EdgeStrips & PlanarBoundary::edge_strips ( const amrex::MultiFab &  mf,
const amrex::Geometry &  geom 
)
private

The strips beyond the non-periodic domain edges owned by each surface copy of a planar layout, built on first use.

A surface copy that touches a non-periodic edge owns the ghost cells beyond it that face its valid region, out to the ghost width of the field, and at a domain corner the cells beyond both edges. Since the surface copies do not overlap, neither do these strips.

The remaining cells beyond a non-periodic edge that lie in the ghost region of a surface copy face a column no grid of the level covers. Each goes to the surface copy with the lowest global index that holds it, in the image inside the domain in the periodic directions, so that the ParallelCopy from the strips reaches all its images.

Parameters
[in]mfplanar MultiFab
[in]geomgeometry of the level
169 {
170  const IntVect ng = mf.nGrowVect();
171  const BoxArray& pba = mf.boxArray();
172  const DistributionMapping& pdm = mf.DistributionMap();
173  for (auto& s : m_strips) {
174  if (s.ngrow == ng && s.planar_ba == pba && s.planar_dm == pdm) { return s; }
175  }
176 
177  const Box& dom = geom.Domain();
178  BoxList bl;
179  Vector<int> pmap;
180  Vector<int> owner;
181  Vector<IntVect> shift;
182 
183  // The cells that face the valid region of a surface copy
184  for (int ib : m_src_index) {
185  const Box vbx = pba[ib];
186  Box grown = vbx;
187  for (int d = 0; d < 2; ++d) {
188  if (geom.isPeriodic(d) || ng[d] == 0) { continue; }
189  if (vbx.smallEnd(d) == dom.smallEnd(d)) { grown.growLo(d, ng[d]); }
190  if (vbx.bigEnd(d) == dom.bigEnd(d)) { grown.growHi(d, ng[d]); }
191  }
192  if (grown == vbx) { continue; }
193  for (const Box& b : boxDiff(grown, vbx)) {
194  bl.push_back(b);
195  pmap.push_back(pdm[ib]);
196  owner.push_back(ib);
197  shift.emplace_back(0);
198  }
199  }
200 
201  // The cells facing no grid, to the first surface copy that holds them. taken lists every
202  // cell assigned so far; the surface copies are in increasing global index.
203  Vector<Box> taken(bl.begin(), bl.end());
204  for (int ib : m_src_index) {
205  const Box vbx = pba[ib];
206  Box ghost = vbx;
207  Box inside = vbx;
208  for (int d = 0; d < 2; ++d) {
209  ghost.grow(d, ng[d]);
210  inside.grow(d, ng[d]);
211  if (!geom.isPeriodic(d)) {
212  inside.setSmall(d, std::max(inside.smallEnd(d), dom.smallEnd(d)));
213  inside.setBig (d, std::min(inside.bigEnd(d), dom.bigEnd(d)));
214  }
215  }
216  if (inside == ghost) { continue; }
217 
218  for (const Box& beyond : boxDiff(ghost, inside)) {
219  // Split along the periodic directions into the parts below, inside and above the
220  // domain, and move each into the domain; the owner's cell is the image's + shift
221  Vector<std::pair<Box,IntVect>> pieces{{beyond, IntVect(0)}};
222  for (int d = 0; d < 2; ++d) {
223  if (!geom.isPeriodic(d)) { continue; }
224  const int len = dom.length(d);
225  Vector<std::pair<Box,IntVect>> split;
226  for (const auto& [b, sh] : pieces) {
227  Box lo = b; lo.setBig(d, std::min(b.bigEnd(d), dom.smallEnd(d)-1));
228  Box mid = b; mid.setSmall(d, std::max(b.smallEnd(d), dom.smallEnd(d)));
229  mid.setBig (d, std::min(b.bigEnd(d), dom.bigEnd(d)));
230  Box hi = b; hi.setSmall(d, std::max(b.smallEnd(d), dom.bigEnd(d)+1));
231  IntVect shlo = sh; shlo[d] -= len;
232  IntVect shhi = sh; shhi[d] += len;
233  if (lo.ok()) { split.emplace_back(amrex::shift(lo, d, len), shlo); }
234  if (mid.ok()) { split.emplace_back(mid, sh); }
235  if (hi.ok()) { split.emplace_back(amrex::shift(hi, d, -len), shhi); }
236  }
237  pieces = std::move(split);
238  }
239 
240  for (const auto& [b, sh] : pieces) {
241  BoxList rest(b);
242  for (const Box& t : taken) {
243  if (!t.intersects(b)) { continue; }
244  BoxList next;
245  for (const Box& r : rest) {
246  if (r.intersects(t)) { next.join(boxDiff(r, t)); }
247  else { next.push_back(r); }
248  }
249  rest = std::move(next);
250  if (rest.isEmpty()) { break; }
251  }
252  for (const Box& r : rest) {
253  bl.push_back(r);
254  pmap.push_back(pdm[ib]);
255  owner.push_back(ib);
256  shift.push_back(sh);
257  taken.push_back(r);
258  }
259  }
260  }
261  }
262 
263  EdgeStrips s;
264  s.planar_ba = pba;
265  s.planar_dm = pdm;
266  s.ngrow = ng;
267  if (!bl.isEmpty()) {
268  s.ba = BoxArray(std::move(bl));
269  s.dm = DistributionMapping(std::move(pmap));
270  s.owner = std::move(owner);
271  s.shift = std::move(shift);
272  }
273  m_strips.push_back(std::move(s));
274  return m_strips.back();
275 }
@ ng
Definition: ERF_Morrison.H:51
@ t
Definition: ERF_WSM6.H:295

◆ fill()

void PlanarBoundary::fill ( amrex::MultiFab &  mf,
const amrex::Periodicity &  period 
)

Fill every copy of a planar MultiFab, valid region and ghost cells, from the surface copies.

Parameters
[in,out]mfplanar MultiFab on ba2d, of any index type and number of components
[in]periodperiodicity of the level

Fill every copy of a planar MultiFab, valid region and ghost cells, from the surface copies (see ERF_PlanarBoundary.H).

Parameters
[in,out]mfplanar MultiFab on the planar BoxArray given to define
[in]periodperiodicity of the level
68 {
69  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(static_cast<int>(mf.size()) == m_nplanar,
70  "PlanarBoundary::fill: the MultiFab is not on the planar BoxArray given to define");
71 
72  const int nsfc = static_cast<int>(m_src_index.size());
73 
74  // Every planar box is a surface box: no duplicates, FillBoundary is well defined
75  if (nsfc == m_nplanar) {
76  mf.FillBoundary(period);
77  return;
78  }
79 
80  // No box on this level reaches the surface, so no copy holds computed data to fill
81  // from; leave the MultiFab as it is
82  if (nsfc == 0) { return; }
83 
84  const int ncomp = mf.nComp();
85  MultiFab& buf = buffer(mf);
86  gather_surface(mf, buf, 0, 0, ncomp);
87 
88  // A face-centered buffer's boxes share a face with their neighbors, and the gather above
89  // takes each box's face from its own surface copy, so two boxes can hold different values
90  // there. Give every shared face one value before the ParallelCopy -- OverrideSync's
91  // precedence is the lowest global box index, so the result does not depend on the
92  // decomposition or the rank count -- and every copy of mf then ends up with the same
93  // value. Returns immediately for cell-centered data, which has no shared faces.
94  buf.OverrideSync(period);
95 
96  // Fill every copy, valid region and ghost cells, from the computed surface copies
97  mf.ParallelCopy(buf, 0, 0, ncomp, IntVect(0), mf.nGrowVect(), period);
98 }
GpuArray< Real, AMREX_SPACEDIM > period
Definition: ERF_ActuatorSpreading.cpp:131
amrex::MultiFab & buffer(const amrex::MultiFab &mf)
Definition: ERF_PlanarBoundary.cpp:373
void gather_surface(const amrex::MultiFab &mf, amrex::MultiFab &dst, int scomp, int dcomp, int ncomp) const
Definition: ERF_PlanarBoundary.cpp:288

Referenced by ERF::FillPlot2DVars().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gather_surface()

void PlanarBoundary::gather_surface ( const amrex::MultiFab &  mf,
amrex::MultiFab &  dst,
int  scomp,
int  dcomp,
int  ncomp 
) const

Copy the computed surface copies of a planar MultiFab into a MultiFab without duplicates.

define() gives each surface copy the rank of the planar box it is a copy of, so every box of dst is filled from a FAB of mf that lives on the same rank and the gather needs no communication. Reading the surface copies directly, rather than any copy of the field, means the caller need not have filled the duplicates with fill().

Parameters
[in]mfplanar MultiFab on the planar BoxArray given to define
[out]dstMultiFab on surface_boxes() converted to the index type of mf, and on surface_dm()
[in]scompfirst component to read from mf
[in]dcompfirst component to write in dst
[in]ncompnumber of components

Copy the computed surface copies of a planar MultiFab into a MultiFab without duplicates (see ERF_PlanarBoundary.H).

Parameters
[in]mfplanar MultiFab on the planar BoxArray given to define
[out]dstMultiFab on the surface boxes, in the index type of mf
[in]scompfirst component to read from mf
[in]dcompfirst component to write in dst
[in]ncompnumber of components
290 {
291  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(static_cast<int>(mf.size()) == m_nplanar,
292  "PlanarBoundary::gather_surface: the MultiFab is not on the planar BoxArray given to define");
293  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(dst.size() == static_cast<Long>(m_src_index.size()),
294  "PlanarBoundary::gather_surface: the destination is not on the surface boxes");
295 
296  for (MFIter mfi(dst); mfi.isValid(); ++mfi) {
297  const Box& bx = mfi.validbox();
298  const int src = m_src_index[mfi.index()];
299  // The surface copy must be the planar box with the same footprint, on this rank
300  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(bx == mf.boxArray()[src] &&
301  mf.DistributionMap()[src] == ParallelDescriptor::MyProc(),
302  "PlanarBoundary::gather_surface: surface box does not match its planar box");
303  dst[mfi].copy<RunOn::Device>(mf[src], bx, scomp, bx, dcomp, ncomp);
304  }
305 }

Referenced by SurfaceLayer::surface_sum().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_surface_copy()

AMREX_GPU_HOST bool PlanarBoundary::is_surface_copy ( const int  planar_index) const
inline

Whether a planar-box index is the computed copy that touches the surface.

135  {
136  return std::binary_search(m_src_index.begin(), m_src_index.end(), planar_index);
137  }

Referenced by ERF::FillPlot2DVars().

Here is the caller graph for this function:

◆ reconcile_outside_domain()

void PlanarBoundary::reconcile_outside_domain ( amrex::MultiFab &  mf,
const amrex::Geometry &  geom 
)

Give every copy of a ghost cell outside a non-periodic lateral domain edge the value of the surface copy that holds the column it faces.

Where a box seam meets a non-periodic edge, the ghost cells beyond the edge next to the seam lie in the grown boxes of both neighbors, and no FillBoundary reconciles them: each box fills its copy from its own valid region. A cell beyond the edge is here assigned to the surface copy whose valid region holds the cell's projection into the domain (its index clamped into the domain in each non-periodic direction), and that copy's value is written into every other copy, periodic images included. The result then does not depend on the decomposition, and a checkpoint, which keeps one copy, restarts from the same values. Only ghost cells beyond a non-periodic edge are written; interior, periodic and coarse/fine ghost cells are left as they are.

On a fine level the column a cell beyond the edge faces need not be covered by any grid: where a coarse/fine boundary meets the domain edge, or two grids along the edge are separated by a gap narrower than twice the ghost width. Such a cell has no owner by projection, and it takes instead the value of the surface copy with the lowest global box index whose ghost region holds it (OverrideSync's precedence in fill()), so it too has one value that does not depend on the decomposition. Only surface copies take part: a cell held solely by the ghost region of an uncomputed copy (a 3D box above the surface whose footprint differs from those below it) is left as it is.

Call it after fill(), on a cell-centered planar MultiFab; other index types are left as they are.

Parameters
[in,out]mfplanar MultiFab on the planar BoxArray given to define
[in]geomgeometry of the level

Give every copy of a ghost cell outside a non-periodic lateral domain edge the value of the surface copy that holds the column it faces (see ERF_PlanarBoundary.H).

Parameters
[in,out]mfplanar MultiFab on the planar BoxArray given to define
[in]geomgeometry of the level
109 {
110  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(static_cast<int>(mf.size()) == m_nplanar,
111  "PlanarBoundary::reconcile_outside_domain: the MultiFab is not on the planar "
112  "BoxArray given to define");
113 
114  if (!mf.ixType().cellCentered() || m_src_index.empty()) { return; }
115 
116  EdgeStrips& strips = edge_strips(mf, geom);
117  if (strips.ba.empty()) { return; }
118 
119  // Copy each strip from its owner into a buffer, kept for each number of components ...
120  const int ncomp = mf.nComp();
121  MultiFab* bufp = nullptr;
122  for (auto& b : strips.bufs) {
123  if (b->nComp() == ncomp) { bufp = b.get(); break; }
124  }
125  if (bufp == nullptr) {
126  strips.bufs.push_back(std::make_unique<MultiFab>(strips.ba, strips.dm, ncomp, 0));
127  bufp = strips.bufs.back().get();
128  }
129  MultiFab& buf = *bufp;
130 
131  // Each strip is on the rank of its owner, so taking it from the owner is a local copy
132  for (MFIter mfi(buf); mfi.isValid(); ++mfi) {
133  const Box& bx = mfi.validbox();
134  const int owner = strips.owner[mfi.index()];
135  AMREX_ALWAYS_ASSERT_WITH_MESSAGE(mf.DistributionMap()[owner] == ParallelDescriptor::MyProc(),
136  "PlanarBoundary::reconcile_outside_domain: an edge strip is not on the rank of its owner");
137  const auto src = mf.const_array(owner);
138  const auto dst = buf.array(mfi);
139  const int si = strips.shift[mfi.index()][0];
140  const int sj = strips.shift[mfi.index()][1];
141  ParallelFor(bx, ncomp, [=] AMREX_GPU_DEVICE (int i, int j, int k, int n) noexcept
142  {
143  dst(i,j,k,n) = src(i+si,j+sj,k,n);
144  });
145  }
146 
147  // ... and then into every copy of those cells, the owner's included
148  mf.ParallelCopy(buf, 0, 0, ncomp, IntVect(0), mf.nGrowVect(), geom.periodicity());
149 }
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);})
EdgeStrips & edge_strips(const amrex::MultiFab &mf, const amrex::Geometry &geom)
Definition: ERF_PlanarBoundary.cpp:168
Here is the call graph for this function:

◆ surface_boxes()

const amrex::BoxArray& PlanarBoundary::surface_boxes ( ) const
inline

Cell-centered surface copies of the planar boxes, without duplicates.

124 { return m_ba_sfc; }

Referenced by SurfaceLayer::surface_sum().

Here is the caller graph for this function:

◆ surface_dm()

const amrex::DistributionMapping& PlanarBoundary::surface_dm ( ) const
inline

Ranks owning the surface copies: each is on the rank of the planar box it is a copy of.

127 { return m_dm_sfc; }

Referenced by SurfaceLayer::surface_sum().

Here is the caller graph for this function:

◆ surface_index()

const amrex::Vector<int>& PlanarBoundary::surface_index ( ) const
inline

Index of each surface copy in the planar BoxArray.

130 { return m_src_index; }

Member Data Documentation

◆ m_ba_sfc

amrex::BoxArray PlanarBoundary::m_ba_sfc
private

Referenced by surface_boxes().

◆ m_buffers

amrex::Vector<Buffer> PlanarBoundary::m_buffers
private

◆ m_dm_sfc

amrex::DistributionMapping PlanarBoundary::m_dm_sfc
private

Referenced by surface_dm().

◆ m_nplanar

int PlanarBoundary::m_nplanar {0}
private

◆ m_src_index

amrex::Vector<int> PlanarBoundary::m_src_index
private

Referenced by is_surface_copy(), and surface_index().

◆ m_strips

amrex::Vector<EdgeStrips> PlanarBoundary::m_strips
private

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