-
Hi all, I am working with an AMReX tutorial using
My simulation has many variables, but I only want to output I am aware of manually creating vectors of component indices and calling Is there a recommended simpler or more elegant way to selectively output only a subset of variables in Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
you should be able to set
to just the variables you want. If it set to
see: amrex/Src/Amr/AMReX_AmrLevel.cpp Line 1911 in a377c17 you may also want to dump everything into the plotfile with low frequency and then use the small plotfiles to dump just a few variables with greater frequency. That way if there is something you realize later you want to look at, you at least have it in the plotfiles for some times. |
Beta Was this translation helpful? Give feedback.
you should be able to set
to just the variables you want. If it set to
ALL
, then all variables are stored. But you can give a space separated list, e.g.,see:
amrex/Src/Amr/AMReX_AmrLevel.cpp
Line 1911 in a377c17
you may also want to dump everything into the plotfile with low frequency and then use the small plotfiles to dump just a few variables with greater frequency. That way if there is something you realize later you want to look at, you at least have it in the plotfiles for some times.