Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convergence line elements large order #112

Closed
wants to merge 17 commits into from
Closed
20 changes: 16 additions & 4 deletions timml/besselaesnumba/besselaesnumba.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ def potbeslsho(x, y, z1, z2, labda, order, ilap, naq):
lstype = 1

# Radius of convergence
Rconv = 7.0
if order > 5:
Rconv = 5.0
else:
Rconv = 7.0

# if (ilap==1) :
# istart = 1
Expand Down Expand Up @@ -183,7 +186,10 @@ def disbeslsho(x, y, z1, z2, labda, order, ilap, naq):

rv = np.zeros((2, naq))
# Radius of convergence
Rconv = 7.0
if order > 5:
Rconv = 5.0
else:
Rconv = 7.0

# lstype = 1 means line-sink
lstype = 1
Expand Down Expand Up @@ -267,7 +273,10 @@ def potbesldho(x, y, z1, z2, labda, order, ilap, naq):
rv = np.zeros(naq)

# Radius of convergence
Rconv = 7.0
if order > 5:
Rconv = 5.0
else:
Rconv = 7.0

# lstype=2 means line-doublet
lstype = 2
Expand Down Expand Up @@ -334,7 +343,10 @@ def disbesldho(x, y, z1, z2, labda, order, ilap, naq):
# and mod.Helmholtz potentials in remaining spots
rv = np.zeros((2, naq))
# Radius of convergence
Rconv = 7.0
if order > 5:
Rconv = 5.0
else:
Rconv = 7.0

# lstype=2 means line-doublet
lstype = 2
Expand Down
2 changes: 1 addition & 1 deletion timml/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def equation(self):
mat[0:, ieq : ieq + e.nunknowns] += e.potinflayers(
self.xc[icp], self.yc[icp], self.layers
).sum(0)
ieq += e.nunknowns
ieq += e.nunknowns # I decreased the tab here
# else:
# mat[0, ieq:ieq+e. nunknowns] += -1
else:
Expand Down
2 changes: 1 addition & 1 deletion timml/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "6.4.1"
__version__ = "6.5.0.dev0"
Loading