![]() |
Block-Structured AMR Software Framework
|
Construction hints passed to FabFactory::create. More...
#include <AMReX_FabFactory.H>
Public Member Functions | |
| FabInfo & | SetAlloc (bool a) noexcept |
Set the alloc flag; returns *this for chaining. | |
| FabInfo & | SetShared (bool s) noexcept |
Set the shared flag; returns *this for chaining. | |
| FabInfo & | SetArena (Arena *ar) noexcept |
Set the arena pointer; returns *this for chaining. | |
Public Attributes | |
| bool | alloc = true |
| Whether the factory should allocate FAB storage. | |
| bool | shared = false |
| Whether storage is managed as team-shared memory. | |
| Arena * | arena = nullptr |
| Arena for storage allocation; null selects the default. | |
Construction hints passed to FabFactory::create.
|
inlinenoexcept |
Set the alloc flag; returns *this for chaining.
Set the arena pointer; returns *this for chaining.
|
inlinenoexcept |
Set the shared flag; returns *this for chaining.
| bool amrex::FabInfo::alloc = true |
Whether the factory should allocate FAB storage.
| bool amrex::FabInfo::shared = false |
Whether storage is managed as team-shared memory.