diff --git a/doc/source/code/figure/magnetic_texture.py.diff b/doc/source/code/figure/magnetic_texture.py.diff index 0b1f90cb6bd17d88a97b7e1924641fb640b15a63..a29a458e43ea5314b09e93426bf907872228f8f9 100644 --- a/doc/source/code/figure/magnetic_texture.py.diff +++ b/doc/source/code/figure/magnetic_texture.py.diff @@ -40,7 +40,7 @@ theta = (tanh(r_tilde) - 1) * (pi / 2) if r == 0: - m_i = [0, 0, 1] + m_i = [0, 0, -1] else: m_i = [ (x / r) * sin(theta), diff --git a/doc/source/tutorial/operators.rst b/doc/source/tutorial/operators.rst index c7e66feaf40efcd00339571bef2efa462d217838..c4ae7545c20e4a396723a1613075a4ab72d7d61f 100644 --- a/doc/source/tutorial/operators.rst +++ b/doc/source/tutorial/operators.rst @@ -39,7 +39,7 @@ We shall take the following form for :math:`\mathbf{m}_i`: \frac{y_i}{x_i^2 + y_i^2} \sin θ_i,\ \cos θ_i \right)^T, \\ - θ_i &=&\ \frac{π}{2} \tanh \frac{r_i - r_0}{δ}, + θ_i &=&\ \frac{π}{2} (\tanh \frac{r_i - r_0}{δ} - 1), where :math:`x_i` and :math:`y_i` are the :math:`x` and :math:`y` coordinates of site :math:`i`, and :math:`r_i = \sqrt{x_i^2 + y_i^2}`.