This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
Computes a histogram for each column in a given VectorPostprocessor.
virtual void finalize() override
Finalize.
static InputParameters validParams()
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
void computeHistogram(const std::vector< Real > &values, HistoData &histo_data)
Compute the histogram of a vector and fill in the lower/upper edges.
const unsigned int & _num_bins
The number of bins.
std::map< std::string, HistoData > _histogram_data
The VPP vectors that will hold the Histogram for each column.
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
const VectorPostprocessorName & _vpp_name
The name of the VPP to work on.
virtual void execute() override
Execute method.
Helper class to hold the vectors for the histogram.
VectorPostprocessorValue * _upper
The upper edges for each bin.
VectorPostprocessorValue * _histogram
Where the data will actually be stored.
VectorPostprocessorValue * _lower
The lower edges for each bin.