We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f31ed commit a438488Copy full SHA for a438488
Src/Amr/AMReX_StateData.H
@@ -297,6 +297,8 @@ public:
297
*/
298
const BoxArray& boxArray () const noexcept { return grids; }
299
300
+ void setBoxArray (BoxArray const& a_grids) noexcept { grids = a_grids; }
301
+
302
const DistributionMapping& DistributionMap () const noexcept { return dmap; }
303
304
/**
@@ -307,6 +309,10 @@ public:
307
309
308
310
const FabFactory<FArrayBox>& Factory () const noexcept { return *m_factory; }
311
312
+ void setFactory (FabFactory<FArrayBox> const& a_factory) {
313
+ m_factory.reset(a_factory.clone());
314
+ }
315
316
317
* \brief Returns the current time.
318
0 commit comments