Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Calculate the original angular momentum magnitude
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jun 20, 2021
1 parent d47485a commit 50307a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/user/user_udio_reader.f90
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ module subroutine user_udio_reader(param, unit, iotype, v_list, iostat, iomsg)
param_value = user_get_token(line, ifirst, ilast, iostat)
read(param_value, *) param%Ltot_orig(i)
end do
param%Lmag_orig = norm2(param%Ltot_orig(:))
case("LORBIT_ORIG")
read(param_value, *) param%Lorbit_orig(1)
do i = 2, NDIM
Expand Down

0 comments on commit 50307a6

Please sign in to comment.