Version 7 (modified by 13 years ago) ( diff ) | ,
---|
Some pages have links to their 'parent page'
But it would be nice if every page had the list of links required to navigate to the page…
Wiki/Tutorials/Getting Started with AstroBEAR 2.0/Using Processing Objects in AstroBEAR 2.0
I'm not sure if there is a plugin to do this - or a way to make a graph showing the link structures in the wiki…
Processing Objects
There are several processing objects that can be used to analyze 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), or fixed grid data(ProjectionObjects, PdfObjects) at each frame.
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.