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

Commit

Permalink
updated mass in netcdf_read_frame_base for central body
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Sep 29, 2021
1 parent 7cf3adf commit c0125cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/netcdf/netcdf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ module function netcdf_read_frame_base(self, iu, param) result(ierr)
call check( nf90_get_var(iu%ncid, iu%id_varid, self%id, start=[idslot]) )

call check( nf90_get_var(iu%ncid, iu%Gmass_varid, self%Gmass, start=[idslot, tslot]) )
self%mass = self%Gmass / param%GU
call check( nf90_get_var(iu%ncid, iu%radius_varid, self%radius, start=[idslot, tslot]) )
if (param%lrotation) then
call check( nf90_get_var(iu%ncid, iu%Ip1_varid, self%Ip(1), start=[idslot, tslot]) )
Expand Down

0 comments on commit c0125cf

Please sign in to comment.