www.mooseframework.org
VectorOfPostprocessors.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
21 {
22 public:
24 
30 
34  virtual void initialize() override;
35 
39  virtual void execute() override;
40 
41 protected:
44 
46  std::vector<const PostprocessorValue *> _postprocessor_values;
47 };
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:192
VectorOfPostprocessors(const InputParameters &parameters)
Class constructor.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
virtual void execute() override
Populates the postprocessor vector of values with the supplied postprocessors.