RAII wrapper for N-D configuration objects.
More...
#include <shafft.hpp>
Manages the lifecycle of an shafft_nd_config_t C struct with RAII semantics. Constructor performs init+resolve in one call. Provides operator->() for direct arrow-syntax access to the underlying C struct fields.
- Examples
- example_portable_config.cpp.
◆ ConfigND() [1/3]
- Parameters
-
| globalShape | Global extents per axis; ndim inferred from size(). |
| precision | FFT type (C2C or Z2Z). |
| commDims | Process grid hint (empty = auto). |
| hintNda | Distributed axes hint (0 = auto). |
| strategy | Decomposition strategy. |
| outputPolicy | Forward output-layout policy. |
| memLimit | Per-rank memory limit (0 = no limit). |
| comm | MPI communicator. |
- Exceptions
-
◆ ConfigND() [2/3]
| shafft::ConfigND::ConfigND |
( |
const ConfigND & |
| ) |
|
|
delete |
◆ ConfigND() [3/3]
| shafft::ConfigND::ConfigND |
( |
ConfigND && |
other | ) |
|
|
noexcept |
◆ ~ConfigND()
| shafft::ConfigND::~ConfigND |
( |
| ) |
|
|
noexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ status()
| int shafft::ConfigND::status |
( |
| ) |
const |
|
inlinenoexcept |
◆ cStruct() [1/2]
◆ cStruct() [2/2]
◆ operator->() [1/2]
◆ operator->() [2/2]
◆ resolve()
| int shafft::ConfigND::resolve |
( |
| ) |
|
|
noexcept |
◆ isResolved()
| bool shafft::ConfigND::isResolved |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file:
- include/shafft/shafft.hpp