Skip to content

Commit

Permalink
write vp rho
Browse files Browse the repository at this point in the history
  • Loading branch information
xumi1993 committed Jan 10, 2025
1 parent e44bbb6 commit ba0ff65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/model.f90
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ subroutine write_model(this, subname)
call h%add('/lat',this%ygrids)
call h%add('/dep',this%zgrids)
call h%add('/vs',transpose_3(this%vs3d))
if (ap%inversion%use_alpha_beta_rho) then
call h%add('/vp',transpose_3(this%vp3d))
call h%add('/rho',transpose_3(this%rho3d))
endif
call h%close()
endif
call synchronize_all()
Expand Down

0 comments on commit ba0ff65

Please sign in to comment.