Skip to content
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

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

vivi235711
Copy link
Contributor

Enhance GAMER_ExtractProfile with reading hybrid scheme output, improved accuracy, shell-average velocity, and spherical velocity output.

@hyschive hyschive added enhancement tool Useful analysis and visualization tools labels Dec 20, 2024
Copy link
Contributor

@hsinhaoHHuang hsinhaoHHuang left a 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/Main.cpp Outdated Show resolved Hide resolved
tool/analysis/gamer_extract_profile/Main.cpp Show resolved Hide resolved
tool/analysis/gamer_extract_profile/Main.cpp Outdated Show resolved Hide resolved
tool/analysis/gamer_extract_profile/Main.cpp Show resolved Hide resolved
Comment on lines 1708 to 1716
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" );
}
Copy link
Contributor

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.

Copy link
Contributor Author

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?

@vivi235711
Copy link
Contributor Author

@hsinhaoHHuang Thanks for your detailed reviewed! I've updated the code based on your comments. Please take a look when you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement tool Useful analysis and visualization tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants