![]() |
Block-Structured AMR Software Framework
|
#include <AMReX_AuxBoundaryData.H>
Public Member Functions | |
| AuxBoundaryData () noexcept=default | |
| Construct an empty container; call initialize() before use. | |
| AuxBoundaryData (const BoxArray &ba, int n_grow, int n_comp, const Geometry &geom) | |
| Construct and allocate storage for boundary data. | |
| ~AuxBoundaryData ()=default | |
| Trivial destructor; MultiFab members handle their own cleanup. | |
| AuxBoundaryData (AuxBoundaryData &&rhs)=default | |
| Move constructor keeps the bookkeeping simple when containers relocate. | |
| AuxBoundaryData & | operator= (AuxBoundaryData &&rhs)=default |
| Move assignment likewise transfers ownership of the cached MultiFab. | |
| AuxBoundaryData (const AuxBoundaryData &rhs) | |
| Deep-copy constructor. | |
| AuxBoundaryData & | operator= (const AuxBoundaryData &rhs)=delete |
| Copy assignment is disabled; construct a new container instead. | |
| void | copyTo (MultiFab &destmf, int src_comp, int dst_comp, int num_comp) const |
Copy data from the auxiliary storage into destmf. | |
| void | copyFrom (const MultiFab &srcmf, int src_comp, int dst_comp, int num_comp, int src_ng=0) |
Populate the auxiliary storage from srcmf. | |
| size_t | size () const noexcept |
| Number of FArrayBoxes currently cached (0 if empty/uninitialized). | |
| void | copy (const AuxBoundaryData &src, int src_comp, int dst_comp, int num_comp) |
Copy data from another AuxBoundaryData src (component-wise). | |
| void | initialize (const BoxArray &ba, int n_grow, int n_comp, const Geometry &geom) |
| Allocate and configure storage. | |
| const BoxArray & | equivBoxArray () const noexcept |
| void | setVal (Real r) |
Fill all stored data with scalar value r (if initialized). | |
| const DistributionMapping & | DistributionMap () const noexcept |
| Distribution mapping associated with the cached grids. | |
| FArrayBox & | operator[] (const MFIter &mfi) noexcept |
Mutable access to the boundary data at given mfi. | |
| const FArrayBox & | operator[] (const MFIter &mfi) const noexcept |
Read-only access to the boundary data at given mfi. | |
| int | nGrow () const noexcept |
| Number of ghost cells captured when the container was initialized. | |
| int | nComp () const noexcept |
| Number of components stored per entry. | |
| bool | isEmpty () const noexcept |
| True if the container manages no data (either default constructed or after reset()). | |
|
defaultnoexcept |
Construct an empty container; call initialize() before use.
|
default |
Trivial destructor; MultiFab members handle their own cleanup.
|
default |
Move constructor keeps the bookkeeping simple when containers relocate.
| amrex::AuxBoundaryData::AuxBoundaryData | ( | const AuxBoundaryData & | rhs | ) |
Deep-copy constructor.
| rhs | Source AuxBoundaryData whose storage is duplicated. |
| void amrex::AuxBoundaryData::copy | ( | const AuxBoundaryData & | src, |
| int | src_comp, | ||
| int | dst_comp, | ||
| int | num_comp | ||
| ) |
Copy data from another AuxBoundaryData src (component-wise).
| src | Source container. |
| src_comp | Starting component inside src. |
| dst_comp | Destination component inside this container. |
| num_comp | Number of components to copy. |
| void amrex::AuxBoundaryData::copyFrom | ( | const MultiFab & | srcmf, |
| int | src_comp, | ||
| int | dst_comp, | ||
| int | num_comp, | ||
| int | src_ng = 0 |
||
| ) |
Populate the auxiliary storage from srcmf.
| srcmf | Source MultiFab supplying data. |
| src_comp | Starting component inside srcmf. |
| dst_comp | Destination component inside this container. |
| num_comp | Number of components to copy. |
| src_ng | Number of valid grow cells present in srcmf. |
| void amrex::AuxBoundaryData::copyTo | ( | MultiFab & | destmf, |
| int | src_comp, | ||
| int | dst_comp, | ||
| int | num_comp | ||
| ) | const |
Copy data from the auxiliary storage into destmf.
| destmf | Destination MultiFab. |
| src_comp | Starting component inside this container. |
| dst_comp | Destination component index. |
| num_comp | Number of components to copy. |
|
inlinenoexcept |
Distribution mapping associated with the cached grids.
|
inlinenoexcept |
|
inlinenoexcept |
True if the container manages no data (either default constructed or after reset()).
|
inlinenoexcept |
Number of components stored per entry.
|
inlinenoexcept |
Number of ghost cells captured when the container was initialized.
|
default |
Move assignment likewise transfers ownership of the cached MultiFab.
|
delete |
Copy assignment is disabled; construct a new container instead.
Read-only access to the boundary data at given mfi.
Mutable access to the boundary data at given mfi.
|
inline |
Fill all stored data with scalar value r (if initialized).
|
inlinenoexcept |
Number of FArrayBoxes currently cached (0 if empty/uninitialized).