pub struct Fft3dWorkspace {Show 15 fields
nx: usize,
ny: usize,
nz: usize,
n_total: usize,
fft_x: Arc<dyn Fft<f64>>,
fft_y: Arc<dyn Fft<f64>>,
fft_z: Arc<dyn Fft<f64>>,
ifft_x: Arc<dyn Fft<f64>>,
ifft_y: Arc<dyn Fft<f64>>,
ifft_z: Arc<dyn Fft<f64>>,
scratch_x: Vec<Complex64>,
scratch_y: Vec<Complex64>,
scratch_z: Vec<Complex64>,
buffer_y: Vec<Complex64>,
buffer_z: Vec<Complex64>,
}Expand description
FFT workspace that caches plans and scratch buffers for reuse
Fields§
§nx: usize§ny: usize§nz: usize§n_total: usize§fft_x: Arc<dyn Fft<f64>>§fft_y: Arc<dyn Fft<f64>>§fft_z: Arc<dyn Fft<f64>>§ifft_x: Arc<dyn Fft<f64>>§ifft_y: Arc<dyn Fft<f64>>§ifft_z: Arc<dyn Fft<f64>>§scratch_x: Vec<Complex64>§scratch_y: Vec<Complex64>§scratch_z: Vec<Complex64>§buffer_y: Vec<Complex64>§buffer_z: Vec<Complex64>Implementations§
Auto Trait Implementations§
impl Freeze for Fft3dWorkspace
impl !RefUnwindSafe for Fft3dWorkspace
impl Send for Fft3dWorkspace
impl Sync for Fft3dWorkspace
impl Unpin for Fft3dWorkspace
impl UnsafeUnpin for Fft3dWorkspace
impl !UnwindSafe for Fft3dWorkspace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more