You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move this static method out of the class and make it a module-level function. This will make it easier to test and reuse.
Proposed solution
deffiber_volume(radius: float) ->float:
"""calculate the fiber volume of the current fiber Parameters ---------- radius : float radius Returns ------- vol:float volume of current fiber(disk) """return (4/3) *np.pi*radius**3
Problem
Move this static method out of the class and make it a module-level function. This will make it easier to test and reuse.
Proposed solution
Assignees:
Labels:
rvesimulator/src/rvesimulator/microstructure/shpere_particles.py
Lines 366 to 380 in ea31752
The text was updated successfully, but these errors were encountered: