Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
agstub committed Jul 21, 2023
1 parent 533e864 commit e8a299d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linear-model/kernel_fcns.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def R(k):
return f

def Re(k):
# relaxation function for floating ice
# extensional contribution to relaxation function
n = 2*np.pi*k # used to convert to SciPy's Fourier Transform definition
D = n*(np.exp(4*n) -2*(1+2*n**2)*np.exp(2*n) + 1)
R1 = 4*(n**3)*np.exp(2*n)
Expand All @@ -39,7 +39,7 @@ def B(k):
return f

def Be(k):
# buoyancy transfer function for floating ice
# extensional contribution to buoyancy transfer function
n = 2*np.pi*k # used to convert to SciPy's Fourier Transform definition
D = n*(np.exp(4*n) -2*(1+2*n**2)*np.exp(2*n) + 1)
B1 = 2*(n**2)*np.exp(n)*(np.exp(2*n)-1)
Expand Down

0 comments on commit e8a299d

Please sign in to comment.