To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit eaf86c17 authored by Jonas Fankhauser's avatar Jonas Fankhauser
Browse files

method _D removed

parent b08617e7
......@@ -248,30 +248,6 @@ class ARF(ScatteringField, BaseARF):
# Coefficients
# -------------------------------------------------------------------------
def _D(self, num: int, n: int) -> float:
"""
Computes the coefficients D, where num takes values 1 or 2
based on eq. (54) & (55)
:param num: number of the coefficient []
:type num: int
:param n: degree []
:type n: int
:rtype: float
"""
if num == 1:
a = sp.besselj(n, self.k_f * self.R_0)
a_d = sp.d1_besselj(n, self.k_f * self.R_0)
else:
a = sp.bessely(n, self.k_f * self.R_0)
a_d = sp.d1_bessely(n, self.k_f * self.R_0)
out = self.k_s * self.R_0 * sp.d1_besselj(n, self.k_s * self.R_0) * a
out -= (self.xlambda * self.k_f * self.R_0
* sp.besselj(n, self.k_s * self.R_0) * a_d)
return float(out)
@property
def density_compressibility_factor(self) -> float:
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment