.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples_gallery/simple_pdes/multiplicative_noise.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_gallery_simple_pdes_multiplicative_noise.py: Multiplicative noise ==================== This example solves an Allen-Cahn equation where the variance of the noise depends on the field itself. Since the variance is given as an expression, its derivative is determined automatically, so the equation can be interpreted in the anti-Itô sense and integrated using the Milstein solver. .. GENERATED FROM PYTHON SOURCE LINES 10-21 .. image-sg:: /examples_gallery/simple_pdes/images/sphx_glr_multiplicative_noise_001.png :alt: multiplicative noise :srcset: /examples_gallery/simple_pdes/images/sphx_glr_multiplicative_noise_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none 0%| | 0/10.0 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: multiplicative_noise.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: multiplicative_noise.zip `