pystella/fourier/rayleigh.py
def init_WKB_fields(self, fx, dfx, queue=None, **kwargs):
        """
        A wrapper which calls :meth:`generate_WKB` to initialize a field and
        its time derivative in Fourier space and inverse Fourier transform
        the results.

        :arg fx: The array in which the field will be stored.

        :arg dfx: The array in which the field's time derivative will
            be stored.

        :arg queue: A :class:`pyopencl.CommandQueue`.
            Defaults to ``fx.queue``.

        Any additional keyword arguments are passed to :meth:`generate_WKB`.
        """

        queue = queue or fx.queue
        fk, dfk = self.generate_WKB(queue, **kwargs)
        self.fft.idft(fk, fx)
        self.fft.idft(dfk, dfx)

        A wrapper which calls :meth:`generate_WKB` to initialize a field and
        its time derivative in Fourier space and inverse Fourier transform
        the results.

        :arg fx: The array in which the field will be stored.

        :arg dfx: The array in which the field's time derivative will
            be stored.

        :arg queue: A :class:`pyopencl.CommandQueue`.
            Defaults to ``fx.queue``.

        Any additional keyword arguments are passed to :meth:`generate_WKB`.
        
A wrapper which calls :meth:`generate_WKB` to initialize a field and
its time derivative in Fourier space and inverse Fourier transform
the results.
A wrapper which calls : meth : ` generate_WKB ` to initialize a field and its time derivative in Fourier space and inverse Fourier transform the results .
def init_WKB_fields(self, fx, dfx, queue=None, **kwargs):
        queue = queue or fx.queue
        fk, dfk = self.generate_WKB(queue, **kwargs)
        self.fft.idft(fk, fx)
        self.fft.idft(dfk, dfx)
def init_WKB_fields ( self , fx , dfx , queue = None , ** kwargs ) : queue = queue or fx . queue fk , dfk = self . generate_WKB ( queue , ** kwargs ) self . fft . idft ( fk , fx ) self . fft . idft ( dfk , dfx )
A wrapper which calls :meth:`generate_WKB` to initialize a field and
its time derivative in Fourier space and inverse Fourier transform
the results.
A wrapper which calls : meth : ` generate_WKB ` to initialize a field and its time derivative in Fourier space and inverse Fourier transform the results .
"""
        A wrapper which calls :meth:`generate_WKB` to initialize a field and
        its time derivative in Fourier space and inverse Fourier transform
        the results.

        :arg fx: The array in which the field will be stored.

        :arg dfx: The array in which the field's time derivative will
            be stored.

        :arg queue: A :class:`pyopencl.CommandQueue`.
            Defaults to ``fx.queue``.

        Any additional keyword arguments are passed to :meth:`generate_WKB`.
        """
self
fx
The array in which the field will be stored.
The array in which the field will be stored .
dfx
The array in which the field's time derivative will
be stored.
The array in which the field ' s time derivative will be stored .
queue
A :class:`pyopencl.CommandQueue`.
Defaults to ``fx.queue``.

Any additional keyword arguments are passed to :meth:`generate_WKB`.
A : class : ` pyopencl . CommandQueue ` . Defaults to ` ` fx . queue ` ` . Any additional keyword arguments are passed to : meth : ` generate_WKB ` .