Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

Commit 88c0c66

Browse files
committed
net rate coverage
1 parent 1d5f617 commit 88c0c66

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

statmechcrack/isometric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def k_net_isometric(self, v):
337337
... v = model.v(Np/N, ensemble='isometric')
338338
... _ = plt.semilogy(
339339
... 3*model.kappa*(v - 1)/N**2,
340-
... model.k_net_isometric(v),
340+
... model.k_net(v, ensemble='isometric'),
341341
... label=r'$N=$'+str(N))
342342
>>> _ = plt.xlabel(r'$3\kappa\Delta v/N^2$')
343343
>>> _ = plt.ylabel(r'$k^\mathrm{net}/k_\mathrm{ref}$')

statmechcrack/isotensional.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@ def k_net_isotensional(self, p):
325325
326326
>>> import numpy as np
327327
>>> import matplotlib.pyplot as plt
328-
>>> from statmechcrack import CrackIsotensional
328+
>>> from statmechcrack import Crack
329329
>>> Np = np.logspace(-1, np.log(6)/np.log(10), 33)
330330
>>> _ = plt.figure()
331331
>>> for N in [4, 8, 16, 64]:
332-
... model = CrackIsotensional(N=N)
332+
... model = Crack(N=N)
333333
... _ = plt.semilogy(
334-
... Np, model.k_net_isotensional(Np/N),
334+
... Np, model.k_net(Np/N, ensemble='isotensional'),
335335
... label=r'$N=$'+str(N))
336336
>>> _ = plt.xlabel(r'$Np$')
337337
>>> _ = plt.ylabel(r'$k^\mathrm{net}/k_\mathrm{ref}$')

0 commit comments

Comments
 (0)