Skip to content

Commit

Permalink
fixed fraction for hollow shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Ameyanagi committed Aug 21, 2023
1 parent 280306f commit 8620c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions decomnano/decomnano_fix_bulk_fraction_hollow_shell.wl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ nh = Compile[{{D, _Real}, {Dh, _Real}, {d, _Real}},
Module[{},
24*(L[D, d]*(5*L[D, d]^2 + 3*L[D, d] + 1) - (5*L[Dh, d]^3 +
12*L[Dh, d]^2 + 10*L[Dh, d] + 3))/(10*L[D, d]^3 +
15*L[D, d]^2 + 11*L[D, d] - 10*L[Dh, d]^3 - 15*L[Dh, d]^2 +
11*L[Dh, d])]]
15*L[D, d]^2 + 11*L[D, d] - 10*L[Dh, d]^3 - 15*L[Dh, d]^2 - 11*L[Dh, d])]]

Natomh =
Compile[{{D, _Real}, {Dh, _Real}, {d, _Real}},
Expand Down
3 changes: 1 addition & 2 deletions decomnano/decomnano_hollow_shell.wl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ nh = Compile[{{D, _Real}, {Dh, _Real}, {d, _Real}},
Module[{},
24*(L[D, d]*(5*L[D, d]^2 + 3*L[D, d] + 1) - (5*L[Dh, d]^3 +
12*L[Dh, d]^2 + 10*L[Dh, d] + 3))/(10*L[D, d]^3 +
15*L[D, d]^2 + 11*L[D, d] - 10*L[Dh, d]^3 - 15*L[Dh, d]^2 +
11*L[Dh, d])]]
15*L[D, d]^2 + 11*L[D, d] - 10*L[Dh, d]^3 - 15*L[Dh, d]^2 - 11*L[Dh, d])]]

Natomh =
Compile[{{D, _Real}, {Dh, _Real}, {d, _Real}},
Expand Down

0 comments on commit 8620c65

Please sign in to comment.