amrex get_line_data #4166
Replies: 1 comment
-
You can compute the cell index using the physical coordinates before calling get_line_data. The function is for single level. If you want to get line data on AMR grids. the way to do it might be using a Particle container and gather data onto particles. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to extract the data along a line. I understand that get_line_data needs the cell index, but I would know the coordinates of the point through which the line passes. How can I use get_line_data for this purpose. The index used by get_line_data is the index at the level 0? Does get_line_data extracts the data from the finest level?
Beta Was this translation helpful? Give feedback.
All reactions