From 6bfbaa46a35107ba3bad847ebe0a522a96f2dd89 Mon Sep 17 00:00:00 2001 From: Chenxing Luo Date: Mon, 16 Oct 2023 21:14:58 -0400 Subject: [PATCH] Fix documentation --- cij/core/calculator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cij/core/calculator.py b/cij/core/calculator.py index 458e656..67fd895 100644 --- a/cij/core/calculator.py +++ b/cij/core/calculator.py @@ -305,7 +305,7 @@ def primary_velocities(self) -> numpy.ndarray: function of temperature and volume. .. math:: - v_\\text{p} = \\sqrt{\\frac{K_\\text{VRH} + 3/4 \, G_\\text{VRH} }{\\rho}} + v_\\text{p} = \\sqrt{\\frac{K_\\text{VRH} + 4/3 \, G_\\text{VRH} }{\\rho}} ''' e = units.Quantity((self.bulk_modulus_voigt_reuss_hill + 4 / 3 * self.shear_modulus_voigt_reuss_hill) * self.v_array, units.rydberg).to(units.kg * units.km ** 2 / units.s ** 2).magnitude return numpy.sqrt(e / self.mass) @@ -490,7 +490,7 @@ def primary_velocities(self) -> numpy.ndarray: function of temperature and pressure. .. math:: - v_\\text{p} = \\sqrt{\\frac{K_\\text{VRH} + 3/4 \, G_\\text{VRH} }{\\rho}} + v_\\text{p} = \\sqrt{\\frac{K_\\text{VRH} + 4/3 \, G_\\text{VRH} }{\\rho}} ''' return self.v2p(self.calculator.volume_base.primary_velocities)