-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract profile spherical velocity and data load #386
base: main
Are you sure you want to change the base?
Extract profile spherical velocity and data load #386
Conversation
…rdson extrapolation into second order
…tput volume and mass in gamer_extract_profile
…xtract_profile_sph_vel_and_data_load
…tract_profile_sph_vel_and_data_load
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vivi235711
Thank you for providing this useful tool.
I have finished the PR review.
Please see my comments when you have time and let me know if they are not clear.
Thanks!
tool/analysis/gamer_extract_profile/GAMER_Functions/LoadData.cpp
Outdated
Show resolved
Hide resolved
tool/analysis/gamer_extract_profile/GAMER_Functions/LoadData_HDF5.cpp
Outdated
Show resolved
Hide resolved
tool/analysis/gamer_extract_profile/GAMER_Functions/LoadData_HDF5.cpp
Outdated
Show resolved
Hide resolved
tool/analysis/gamer_extract_profile/GAMER_Functions/LoadData_HDF5.cpp
Outdated
Show resolved
Hide resolved
tool/analysis/gamer_extract_profile/GAMER_Functions/LoadData_HDF5.cpp
Outdated
Show resolved
Hide resolved
if ( OutputSphere ) | ||
{ | ||
sprintf( FileName[Var++], "%s", "AveVr" ); | ||
sprintf( FileName[Var++], "%s", "AveVtheta"); | ||
sprintf( FileName[Var++], "%s", "AveVphi" ); | ||
sprintf( FileName[Var++], "%s", "AveWr" ); | ||
sprintf( FileName[Var++], "%s", "AveWtheta"); | ||
sprintf( FileName[Var++], "%s", "AveWphi" ); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems OutputSphere
only supports ELBDM
currently. Would we plan to also support HYDRO
? The coordinate transformation should also work for the hydro velocity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now can support hydro.
May I ask what hydro test problem you use to test this code?
Rename variables, remove useless line, modify some if statements, and add usage
@hsinhaoHHuang Thanks for your detailed reviewed! I've updated the code based on your comments. Please take a look when you have time. |
Enhance GAMER_ExtractProfile with reading hybrid scheme output, improved accuracy, shell-average velocity, and spherical velocity output.