Skip to content

Commit

Permalink
Remove unused channel_length method in womersley.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanusz committed Apr 21, 2014
1 parent 3798770 commit 08b2192
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions examples/womersley.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ def womersley_profile(self, r, t, alpha, omega):
return -np.real((1 - jv(0, 1j**1.5 * alpha * r) / jv(0, 1j**1.5 * alpha)) *
exp(1j * omega * t) * A / L / omega)

@classmethod
def channel_length(cls, config):
if config.flow_direction == 'x':
return config.lat_nx
elif config.flow_direction == 'y':
return config.lat_ny
else:
return config.lat_nz


class WomersleySim(PoiseuilleSim):
subdomain = WomersleySubdomain
Expand Down

0 comments on commit 08b2192

Please sign in to comment.