amrex icon indicating copy to clipboard operation
amrex copied to clipboard

Postprocessing in C_Src

Open aisclark91 opened this issue 3 years ago • 2 comments

when I compile the postprocessing tool with EBASE = HorizontalAvg.cpp only, I don't get a description of it when I execute ./HorizontalAvg2d.gnu.ex

aisclark91 avatar Dec 31 '22 14:12 aisclark91

At the bare minimum, you must specify an infile or the code doesn't know which plot file to work with. ./HorizontalAvg2d.gnu.ex infile=plt12345

drummerdoc avatar Jan 03 '23 16:01 drummerdoc

yes, but let me develop a little bit:

Let us say I want to compute the horizontal average of two fields, Temp and density, and I want to perform the average of these two fields?

Reading the main .cpp file, there are variables named comps, sComp, nComp, that select the fields on which the average is going to be taken, but I don't know how to specify them.

aisclark91 avatar Jan 03 '23 21:01 aisclark91