www.mooseframework.org
NumLinearIterations.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 "NumLinearIterations.h"
16 
17 #include "FEProblem.h"
18 #include "SubProblem.h"
19 
20 template <>
23 {
25  return params;
26 }
27 
29  : GeneralPostprocessor(parameters)
30 {
31 }
32 
33 Real
35 {
37 }
InputParameters validParams< NumLinearIterations >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< GeneralPostprocessor >()
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
NumLinearIterations(const InputParameters &parameters)
SubProblem & _subproblem
Reference to the Subproblem for this user object.
Definition: UserObject.h:146
virtual unsigned int nLinearIterations()
Definition: SubProblem.C:305
virtual Real getValue() override
This will get called to actually grab the final value the postprocessor has calculated.