Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
FluxLensWorkspace Struct Reference

Scratch workspace used while computing and reconstructing flux-lens bands. More...

#include <sim_flux_lens.h>

Collaboration diagram for FluxLensWorkspace:

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
 

Detailed Description

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().

Member Data Documentation

◆ capacity

size_t FluxLensWorkspace::capacity

Allocated element capacity for temporary buffers.

◆ plan

FFTPlan FluxLensWorkspace::plan

Owned reusable FFT plan.

◆ plan_ready

bool FluxLensWorkspace::plan_ready

True when plan has been initialized.

◆ scratch_bytes

size_t FluxLensWorkspace::scratch_bytes

Context-accounted bytes owned by this workspace.

◆ tmp_phys1

double complex* FluxLensWorkspace::tmp_phys1

Owned temporary physical buffer.

◆ tmp_real1

double* FluxLensWorkspace::tmp_real1

Owned temporary real-valued buffer.

◆ tmp_spec1

double complex* FluxLensWorkspace::tmp_spec1

Owned temporary spectral buffer.

◆ use_dealias

bool FluxLensWorkspace::use_dealias

True when dealiasing should be applied.


The documentation for this struct was generated from the following file: