|
| | FabSet () noexcept |
| | The default constructor – you must later call define(). More...
|
| |
| | FabSet (const BoxArray &grids, const DistributionMapping &dmap, int ncomp) |
| | Construct a FabSet of specified number of components on the grids. More...
|
| |
| | ~FabSet ()=default |
| |
| | FabSet (FabSet &&rhs) noexcept=default |
| |
| | FabSet (const FabSet &rhs)=delete |
| |
| FabSet & | operator= (const FabSet &rhs)=delete |
| |
| FabSet & | operator= (FabSet &&rhs)=delete |
| |
| void | define (const BoxArray &grids, const DistributionMapping &dmap, int ncomp) |
| | Define a FabSet constructed via default constructor. More...
|
| |
| FArrayBox const & | operator[] (const MFIter &mfi) const noexcept |
| |
| FArrayBox & | operator[] (const MFIter &mfi) noexcept |
| |
| FArrayBox const & | operator[] (int i) const noexcept |
| |
| FArrayBox & | operator[] (int i) noexcept |
| |
| Array4< Real const > | array (const MFIter &mfi) const noexcept |
| |
| Array4< Real > | array (const MFIter &mfi) noexcept |
| |
| Array4< Real const > | array (int i) const noexcept |
| |
| Array4< Real > | array (int i) noexcept |
| |
| Array4< Real const > | const_array (const MFIter &mfi) const noexcept |
| |
| Array4< Real const > | const_array (int i) const noexcept |
| |
| MultiArray4< Real const > | arrays () const noexcept |
| |
| MultiArray4< Real > | arrays () noexcept |
| |
| MultiArray4< Real const > | const_arrays () const noexcept |
| |
| Box | fabbox (int K) const noexcept |
| |
| int | size () const noexcept |
| |
| const BoxArray & | boxArray () const noexcept |
| |
| const DistributionMapping & | DistributionMap () const noexcept |
| |
| MultiFab & | multiFab () noexcept |
| |
| MultiFab const & | multiFab () const noexcept |
| |
| int | nComp () const noexcept |
| |
| void | clear () |
| |
| FabSet & | copyFrom (const FabSet &src, int scomp, int dcomp, int ncomp) |
| |
| FabSet & | copyFrom (const MultiFab &src, int ngrow, int scomp, int dcomp, int ncomp, const Periodicity &period=Periodicity::NonPeriodic()) |
| |
| FabSet & | plusFrom (const FabSet &src, int scomp, int dcomp, int ncomp) |
| |
| FabSet & | plusFrom (const MultiFab &src, int ngrow, int scomp, int dcomp, int ncomp, const Periodicity &period=Periodicity::NonPeriodic()) |
| |
| void | copyTo (MultiFab &dest, int ngrow, int scomp, int dcomp, int ncomp, const Periodicity &period=Periodicity::NonPeriodic()) const |
| |
| void | plusTo (MultiFab &dest, int ngrow, int scomp, int dcomp, int ncomp, const Periodicity &period=Periodicity::NonPeriodic()) const |
| |
| void | setVal (Real val) |
| |
| void | setVal (Real val, int comp, int num_comp) |
| | Linear combination: this := a*this + b*src (FabSets must be commensurate). More...
|
| |
| FabSet & | linComb (Real a, Real b, const FabSet &src, int scomp, int dcomp, int ncomp) |
| | Linear combination: this := a*mfa + b*mfb. More...
|
| |
| FabSet & | linComb (Real a, const MultiFab &mfa, int a_comp, Real b, const MultiFab &mfb, int b_comp, int dcomp, int ncomp, int ngrow) |
| |
| void | write (const std::string &name) const |
| | Write (used for writing to checkpoint) More...
|
| |
| void | read (const std::string &name) |
| | Read (used for reading from checkpoint) More...
|
| |
A FabSet is a group of FArrayBox's. The grouping is designed specifically to represent regions along the boundary of Box's, and are used to implement boundary conditions to discretized partial differential equations.
A FabSet is an array of pointers to FABs. The standard FAB operators, however, have been modified to be more useful for maintaining boundary conditions for partial differential equations discretized on boxes. Under normal circumstances, a FAB will be created for each face of a box. For a group of boxes, a FabSet will be the group of FABs at a particular orientation (ie. the lo-i side of each grid in a list).
Since a FabSet FAB will likely be used to bound a grid box, FArrayBox::resize() operations are disallowed. Also, to preserve flexibility in applicable boundary scenarios, intersecting FABs in the FabSet are not guaranteed to contain identical data–thus copy operations from a FabSet to any FAB-like structure may be order-dependent.
FabSets are used primarily as a data storage mechanism, and are manipulated by more sophisticated control classes.