https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
postprocessors
NumFixedPointIterations.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
// MOOSE includes
13
#include "
GeneralPostprocessor.h
"
14
18
class
NumFixedPointIterations
:
public
GeneralPostprocessor
19
{
20
public
:
21
static
InputParameters
validParams
();
22
23
NumFixedPointIterations
(
const
InputParameters
&
parameters
);
24
25
virtual
void
execute
()
override
{}
26
virtual
void
initialize
()
override
{};
27
28
virtual
Real
getValue
()
const override
;
29
30
protected
:
32
const
int
_count_shift
;
33
};
GeneralPostprocessor.h
GeneralPostprocessor
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
Definition
GeneralPostprocessor.h:22
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
NumFixedPointIterations
Returns the number of fixed point iterations taken by the Executioner as a Postprocessor.
Definition
NumFixedPointIterations.h:19
NumFixedPointIterations::_count_shift
const int _count_shift
Amount by which to shift the count.
Definition
NumFixedPointIterations.h:32
NumFixedPointIterations::execute
virtual void execute() override
Execute method.
Definition
NumFixedPointIterations.h:25
NumFixedPointIterations::getValue
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
Definition
NumFixedPointIterations.C:41
NumFixedPointIterations::initialize
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition
NumFixedPointIterations.h:26
NumFixedPointIterations::validParams
static InputParameters validParams()
Definition
NumFixedPointIterations.C:22
Generated on Fri Aug 21 2026 13:33:51 for https://mooseframework.inl.gov by
1.9.8