www.mooseframework.org
Classes | Functions
LinearCombinationPostprocessor.h File Reference

Go to the source code of this file.

Classes

class  LinearCombinationPostprocessor
 Computes a linear combination between an arbitrary number of post-processors. More...
 

Functions

template<>
InputParameters validParams< LinearCombinationPostprocessor > ()
 

Function Documentation

Definition at line 18 of file LinearCombinationPostprocessor.C.

19 {
21 
22  params.addRequiredParam<std::vector<PostprocessorName>>("pp_names", "List of post-processors");
23  params.addRequiredParam<std::vector<Real>>(
24  "pp_coefs", "List of linear combination coefficients for each post-processor");
25  params.addParam<Real>("b", 0, "Additional value to add to sum");
26 
27  return params;
28 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< GeneralPostprocessor >()
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...