Write multifab and imultifab with different types in the same file #3336
Answered
by
WeiqunZhang
avergnaud002
asked this question in
Q&A
-
Hello, I want to write in the same file different multifab and/or imultifab with different types (typically cell-centered variables and face-centered variables). Is there a simple way to do that ? Notes : I use VisIt as vizualisation tool, and my code is written in fortran (so I use the Fortran Interface of AMReX). Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
WeiqunZhang
May 31, 2023
Replies: 1 comment 1 reply
-
I don't think VisIt supports non-cell-centered data in AMReX plotfiles. So you need to convert the data to cell centers and store them in a single MultiFab. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
avergnaud002
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think VisIt supports non-cell-centered data in AMReX plotfiles. So you need to convert the data to cell centers and store them in a single MultiFab.