Skip to content

Commit

Permalink
Use rotated coordinates (Xrot, Yrot, Zrot) in add_box
Browse files Browse the repository at this point in the history
  • Loading branch information
adbayonao committed Jan 31, 2025
1 parent ccebfc3 commit 7c602ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Setup_geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function add_box!(Phase, Temp, Grid::AbstractGeneralGrid; # required input
Phase[ind_flat] = compute_phase(Phase[ind_flat], Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], phase)
end
if segments !== nothing
Temp[ind_flat] = compute_thermal_structure(Temp[ind_flat], X[ind], Y[ind], Z[ind], Phase[ind_flat], T, segments)
Temp[ind_flat] = compute_thermal_structure(Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], Phase[ind_flat], T, segments)
else
Temp[ind_flat] = compute_thermal_structure(Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], Phase[ind_flat], T)
end
Expand Down

0 comments on commit 7c602ad

Please sign in to comment.