www.mooseframework.org
Postprocessor.C
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 #include "Postprocessor.h"
16 #include "UserObject.h"
17 
18 template <>
21 {
23  params += validParams<OutputInterface>();
24 
25  params.addParamNamesToGroup("outputs", "Advanced");
26  params.registerBase("Postprocessor");
27  return params;
28 }
29 
31  : OutputInterface(parameters), _pp_name(parameters.get<std::string>("_object_name"))
32 {
33 }
InputParameters validParams< OutputInterface >()
A class to provide an common interface to objects requiring "outputs" option.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< UserObject >()
Definition: UserObject.C:23
Postprocessor(const InputParameters &parameters)
Definition: Postprocessor.C:30
InputParameters validParams< Postprocessor >()
Definition: Postprocessor.C:20
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...