Skip to content

Commit

Permalink
No abstractmethod for apply_stress for now
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 5, 2022
1 parent 57051ac commit ee09dbd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pytential/symbolic/stokes.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def apply_derivative(self, deriv_dir, density_vec_sym, qbx_forced_limit):
"""
return self.apply(density_vec_sym, qbx_forced_limit, (deriv_dir,))

@abstractmethod
def apply_stress(self, density_vec_sym, dir_vec_sym, qbx_forced_limit):
r"""Symbolic expression for viscous stress applied to a direction.
Expand Down Expand Up @@ -238,7 +237,6 @@ def apply_derivative(self, deriv_dir, density_vec_sym, dir_vec_sym,
return self.apply(density_vec_sym, dir_vec_sym, qbx_forced_limit,
(deriv_dir,))

@abstractmethod
def apply_stress(self, density_vec_sym, normal_vec_sym, dir_vec_sym,
qbx_forced_limit):
r"""Symbolic expression for viscous stress applied to a direction.
Expand Down Expand Up @@ -538,9 +536,6 @@ def apply(self, density_vec_sym, qbx_forced_limit, extra_deriv_dirs=()):
[0]*self.dim, [0]*self.dim, qbx_forced_limit, 1, 0,
extra_deriv_dirs)

def apply_stress(self, density_vec_sym, dir_vec_sym, qbx_forced_limit):
raise NotImplementedError


class StressletWrapperTornberg(StressletWrapperBase):
"""A Stresslet wrapper using Tornberg and Greengard's method which
Expand Down

0 comments on commit ee09dbd

Please sign in to comment.