@@ -61,17 +61,6 @@ def Rforce(self, R, phi=0.0, t=0.0, v=None):
6161 """
6262 return self ._Rforce_nodecorator (R , phi = phi , t = t , v = v )
6363
64- def _Rforce_nodecorator (self , R , phi = 0.0 , t = 0.0 , v = None ):
65- # Separate, so it can be used during orbit integration
66- try :
67- return self ._amp * self ._Rforce (R , phi = phi , t = t , v = v )
68- except AttributeError : # pragma: no cover
69- from .Potential import PotentialError
70-
71- raise PotentialError (
72- "'_Rforce' function not implemented for this planarDissipativeForce"
73- )
74-
7564 @potential_physical_input
7665 @physical_conversion ("force" , pop = True )
7766 def phitorque (self , R , phi = 0.0 , t = 0.0 , v = None ):
@@ -101,19 +90,6 @@ def phitorque(self, R, phi=0.0, t=0.0, v=None):
10190 """
10291 return self ._phitorque_nodecorator (R , phi = phi , t = t , v = v )
10392
104- def _phitorque_nodecorator (self , R , phi = 0.0 , t = 0.0 , v = None ):
105- # Separate, so it can be used during orbit integration
106- try :
107- return self ._amp * self ._phitorque (R , phi = phi , t = t , v = v )
108- except AttributeError : # pragma: no cover
109- if self .isNonAxi :
110- from .Potential import PotentialError
111-
112- raise PotentialError (
113- "'_phitorque' function not implemented for this DissipativeForce"
114- )
115- return 0.0
116-
11793
11894class planarDissipativeForceFromFullDissipativeForce (planarDissipativeForce ):
11995 """Class that represents a planar dissipative force derived from a 3D dissipative force"""
0 commit comments