|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Configuration for Fourier waveform stimulus. More...
#include <fourier.h>
Public Attributes | |
| size_t | field_index |
| double | amplitude |
| double | frequency |
| double | phase |
| double | duty |
| double | rotation |
| double | nominal_dt |
| SimFourierWaveformShape | shape |
| SimFourierWaveformMethod | method |
| bool | fixed_clock |
| bool | scale_by_dt |
Configuration for Fourier waveform stimulus.
All frequencies are in Hz. Phase is normalized to [0,1).
| double SimFourierWaveformConfig::amplitude |
Output amplitude.
| double SimFourierWaveformConfig::duty |
Duty cycle for square/triangle (0..1, default 0.5).
| size_t SimFourierWaveformConfig::field_index |
Target field.
| bool SimFourierWaveformConfig::fixed_clock |
Use nominal_dt (or current dt) for phase increments.
| double SimFourierWaveformConfig::frequency |
Fundamental frequency (Hz).
| SimFourierWaveformMethod SimFourierWaveformConfig::method |
Bandlimiting strategy.
| double SimFourierWaveformConfig::nominal_dt |
Optional fixed clock dt when fixed_clock is true.
| double SimFourierWaveformConfig::phase |
Initial phase in cycles [0,1).
| double SimFourierWaveformConfig::rotation |
Rotation when writing complex fields (radians).
| bool SimFourierWaveformConfig::scale_by_dt |
Scale writes by substep dt (force-like semantics).
| SimFourierWaveformShape SimFourierWaveformConfig::shape |
Waveform shape.