www.mooseframework.org
VectorOfPostprocessors.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef VECTOR_OF_POSTPROCESSORS_H
16 #define VECTOR_OF_POSTPROCESSORS_H
17 
19 
20 // Forward Declarations
22 
23 template <>
25 
33 {
34 public:
40 
44  virtual void initialize() override;
45 
49  virtual void execute() override;
50 
51 protected:
54 
56  std::vector<const PostprocessorValue *> _postprocessor_values;
57 };
58 
59 #endif
InputParameters validParams< VectorOfPostprocessors >()
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void initialize() override
Initialize, clears the postprocessor vector.
VectorPostprocessorValue & _pp_vec
The VectorPostprocessorValue object where the results are stored.
VectorOfPostprocessors is a type of VectorPostprocessor that outputs the values of an arbitrary user-...
std::vector< const PostprocessorValue * > _postprocessor_values
The vector of PostprocessorValue objects that are used to get the values of the postprocessors.
std::vector< Real > VectorPostprocessorValue
Definition: MooseTypes.h:74
VectorOfPostprocessors(const InputParameters &parameters)
Class constructor.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual void execute() override
Populates the postprocessor vector of values with the supplied postprocessors.