|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Persistent flux-lens band state and analysis buffers for a simulation context. More...
#include <sim_flux_lens.h>

Public Attributes | |
| bool | enabled |
| bool | locked |
| bool | force_update |
| bool | band_ready |
| size_t | field_index |
| double | smoothing |
| double | min_bandwidth |
| size_t | update_period |
| size_t | last_update_step |
| double | band_lo |
| double | band_hi |
| double | target_band_lo |
| double | target_band_hi |
| double | band_max_component |
| double | band_max_magnitude |
| double | max_k |
| double complex * | band_spec |
| double complex * | band_phys |
| size_t | band_capacity |
| double * | S |
| double * | Pi |
| double * | bucket_k |
| double * | bucket_pi |
| double * | bucket_S |
| double * | bucket_absS |
| size_t | bucket_capacity |
| size_t | bucket_count |
| double | pi_min |
| double | pi_max |
| double | absS_total |
| FluxMarks | marks |
| size_t | scratch_bytes |
Persistent flux-lens band state and analysis buffers for a simulation context.
The state owns band spectra, physical reconstructions, and bucket arrays after flux_lens_ensure_capacity(); release them with flux_lens_release().
| double FluxLensState::absS_total |
Total absolute work-density from latest analysis.
| size_t FluxLensState::band_capacity |
Allocated element capacity for band buffers.
| double FluxLensState::band_hi |
Active upper band edge.
| double FluxLensState::band_lo |
Active lower band edge.
| double FluxLensState::band_max_component |
Maximum component magnitude inside reconstructed band.
| double FluxLensState::band_max_magnitude |
Maximum complex magnitude inside reconstructed band.
| double complex* FluxLensState::band_phys |
Owned physical reconstruction buffer.
| bool FluxLensState::band_ready |
True when band_lo/band_hi describe an initialized band.
| double complex* FluxLensState::band_spec |
Owned spectral band buffer.
| double* FluxLensState::bucket_absS |
Owned absolute work-density bucket array.
| size_t FluxLensState::bucket_capacity |
Allocated element capacity for bucket arrays.
| size_t FluxLensState::bucket_count |
Number of populated bucket entries.
| double* FluxLensState::bucket_k |
Owned bucket-center wavenumber array.
| double* FluxLensState::bucket_pi |
Owned bucket flux array.
| double* FluxLensState::bucket_S |
Owned bucket work-density array.
| bool FluxLensState::enabled |
True when flux-lens analysis is active.
| size_t FluxLensState::field_index |
Context field index analyzed by the lens.
| bool FluxLensState::force_update |
True when the next update should ignore period throttling.
| size_t FluxLensState::last_update_step |
Step index of the most recent mark refresh.
| bool FluxLensState::locked |
True when the current band should not chase new marks.
| FluxMarks FluxLensState::marks |
Latest spectral landmarks.
| double FluxLensState::max_k |
Maximum represented wavenumber.
| double FluxLensState::min_bandwidth |
Minimum allowed spectral band width.
| double* FluxLensState::Pi |
Owned cumulative flux array.
| double FluxLensState::pi_max |
Maximum Pi value from the latest analysis.
| double FluxLensState::pi_min |
Minimum Pi value from the latest analysis.
| double* FluxLensState::S |
Owned spectral work-density array.
| size_t FluxLensState::scratch_bytes |
Context-accounted bytes owned by this state.
| double FluxLensState::smoothing |
Relaxation factor for target band updates.
| double FluxLensState::target_band_hi |
Desired upper band edge before relaxation.
| double FluxLensState::target_band_lo |
Desired lower band edge before relaxation.
| size_t FluxLensState::update_period |
Number of steps between automatic mark refreshes.