|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Scratch workspace used while computing and reconstructing flux-lens bands. More...
#include <sim_flux_lens.h>

Public Attributes | |
| double complex * | tmp_spec1 |
| double complex * | tmp_phys1 |
| double * | tmp_real1 |
| bool | use_dealias |
| FFTPlan | plan |
| size_t | capacity |
| bool | plan_ready |
| size_t | scratch_bytes |
Scratch workspace used while computing and reconstructing flux-lens bands.
The workspace owns temporary buffers and its FFT plan after capacity is ensured; release them with flux_release_scratch() or flux_lens_release().
| size_t FluxLensWorkspace::capacity |
Allocated element capacity for temporary buffers.
| FFTPlan FluxLensWorkspace::plan |
Owned reusable FFT plan.
| bool FluxLensWorkspace::plan_ready |
True when plan has been initialized.
| size_t FluxLensWorkspace::scratch_bytes |
Context-accounted bytes owned by this workspace.
| double complex* FluxLensWorkspace::tmp_phys1 |
Owned temporary physical buffer.
| double* FluxLensWorkspace::tmp_real1 |
Owned temporary real-valued buffer.
| double complex* FluxLensWorkspace::tmp_spec1 |
Owned temporary spectral buffer.
| bool FluxLensWorkspace::use_dealias |
True when dealiasing should be applied.