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