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

Update on coordinate transform between cubed sphere panels (finished version) #144

Merged
merged 23 commits into from
Apr 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update
  • Loading branch information
jeffyujianfu committed Mar 30, 2024
commit 9f25700edf64ec13e968733f6d1b5e27d6e49f9f
2 changes: 0 additions & 2 deletions src/exo3/cs_velocity_rotation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@ inline void vel_zab_from_p1(Real *vz, Real *vx, Real *vy, Real a, Real b,
vel_zxy_to_zab(vx, vz, vy, a, b);
break;
case 4:
// z->-x, x->-y, y->z
// z->y, x->-z, y->-x
(*vx) *= -1;
(*vy) *= -1;
vel_zxy_to_zab(vx, vy, vz, a, b);
break;
case 6:
// z->-y, x->x, y->z
// z->y, x->x, y->-z
(*vy) *= -1;
vel_zxy_to_zab(vy, vx, vz, a, b);
Expand Down