Skip to content

Commit

Permalink
add V_3D_cha
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Mar 5, 2019
1 parent d123031 commit e056c19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mushroomtools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ parameterized by `(l,w,r)`.
"""
V_3D_tot(l,w,r) = 2π*(l*w + (1/2)*π*r^2)
V_3D_reg(l,w,r) = 2π*r^2*(acos(w/(2r)) - w/(2r)*sqrt(1 - (w^2)/(4r^2)))
V_3D_cha(l,w,r) = V_3D_tot(l,w,r) - V_3D_reg(l,w,r)

"""
g_r_3D(l, w, r)
Expand Down

0 comments on commit e056c19

Please sign in to comment.