www.mooseframework.org
NumResidualEvaluations.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 // MOOSE includes
16 #include "NumResidualEvaluations.h"
17 #include "FEProblem.h"
18 #include "SubProblem.h"
19 #include "NonlinearSystem.h"
20 
21 template <>
24 {
26  return params;
27 }
28 
30  : GeneralPostprocessor(parameters)
31 {
32 }
33 
34 Real
36 {
38 }
NumResidualEvaluations(const InputParameters &parameters)
NonlinearSystemBase & getNonlinearSystemBase()
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...
InputParameters validParams< NumResidualEvaluations >()
unsigned int nResidualEvaluations()
Return the total number of residual evaluations done so far in this calculation.
virtual Real getValue() override
This will get called to actually grab the final value the postprocessor has calculated.
FEProblemBase & _fe_problem
Reference to the FEProblemBase for this user object.
Definition: UserObject.h:149