Skip to content

A small problem in Incompact3d's postprocess #352

Answered by mathrack
jushi-123 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

The safe way is to define a decomp_info object for the target grid and write your own interpolation subroutine to interpolate the data from the main grid to the target one. Then call decomp_2d_write_one and provide the decomp_info object of the target grid. See https://github.com/2decomp-fft/2decomp-fft/blob/main/src/io.f90#L169

You can also try to tune the call to the subroutines init_coarser_mesh_stat*. At your own risk.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mathrack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants