https://mooseframework.inl.gov
SumPostprocessor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
12 #include "GeneralPostprocessor.h"
13 
20 {
21 public:
23 
24  virtual void initialize() override;
25  virtual void execute() override;
26  virtual PostprocessorValue getValue() const override;
27 
28 protected:
30  std::vector<const PostprocessorValue *> _values;
31 
32 public:
34 };
virtual void initialize() override
Real PostprocessorValue
SumPostprocessor(const InputParameters &parameters)
virtual void execute() override
static InputParameters validParams()
virtual PostprocessorValue getValue() const override
const InputParameters & parameters() const
Computes a sum of postprocessor values.
std::vector< const PostprocessorValue * > _values
Postprocessors to add up.