Version 13 (modified by 13 years ago) ( diff ) | ,
---|
Processing Objects
There are several processing objects that can be used to ana1lyze the results of simulations. 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
CALL StoreChildMasks()
- Stores child mask of each cell. You must also addUSE ChildMasks
CALL StoreCoolingLength()
- Stores cooling length. You must also addUSE CoolingLength
CALL StoreDivergence()
- Stores divergence. You must also addUSE Divergence
CALL StoreErrFlags()
- Stores error flags. You must also addUSE ErrFlags
CALL StoreMPI_IDs()
- Stores processor ID. You must also addUSE MPI_IDs
CALL StoreTreeAvailability()
- Stores what regions of the mesh are known by processorMPI_TRACK=0
defined in moduleTreeAvailability
. You must also addUSE TreeAvailability
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.