Processing Objects
There are several processing objects that can be used to ana1lyze the results of simulations - or append calculated quantities to your chombo file. Each processing object needs to be created inside of the ProblemModuleInit() routine.
- Processing will be done during runtime by default
- Processing can be also done after the simulation has completed by setting 'lPostProcess=.true.' in global.data.
- This allows for adding additional processing objects to your problem module, recompiling, and then generating the results.
- Postprocessing will begin at the RestartFrame
There are also two classes of processing objects - those that store values on a cell by cell basis within the AMR mesh and are accessible from the chombo file, and those that output scalars(TotalObject), vectors(HistogramObject, SpectraObject), or fixed grid data(ProjectionObjects, PdfObjects) at each frame. Additionally many objects support ShapeObjects that define the region of data to included in the total, histogram, projection, pdf, spectra, etc…
Those that store various diagnostics within the AMR Mesh are listed below and are utilized by adding the appropriate code to your ProblemModuleInit() subroutine
USE ProcessingDeclarations CALL AddDiagnosticVar(iField, [name])}}}
- This will add the desired field to the chombo file.
- If you want to provide a custom name you can pass a second argument - otherwise it will be named using the default name for the field
- If you add this prior to PostProcessing - you will need to set lReOutput in global_declarations.f90 =.true.
Those that have there own form of IO
- HistogramObject - Makes Curve Files of histograms of various quantities
- TotalObject - Generates data files containing totals of various quantities. (Can be parsed into a Curve File)
- PdfObjects - Generates 2D probability density functions of various quantities and outputs them in Bov Files
- ProjectionObjects - Generates 2D projections (column densities) of various quantities and outputs them in Bov Files. Can be used to make emission maps
- SpectraObject - Will create spectra of various quantities.