https://mooseframework.inl.gov
include
postprocessors
RelativeSolutionDifferenceNorm.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
#include "
GeneralPostprocessor.h
"
13
14
class
TransientBase
;
15
19
class
RelativeSolutionDifferenceNorm
:
public
GeneralPostprocessor
20
{
21
public
:
22
static
InputParameters
validParams
();
23
28
RelativeSolutionDifferenceNorm
(
const
InputParameters
&
parameters
);
29
31
34
virtual
void
initialize
()
override
{}
35
virtual
void
execute
()
override
{}
37
42
virtual
Real
getValue
()
const override
;
43
44
protected
:
46
TransientBase
*
_trex
;
47
};
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
RelativeSolutionDifferenceNorm::execute
virtual void execute() override
Execute method.
Definition:
RelativeSolutionDifferenceNorm.h:35
GeneralPostprocessor
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
Definition:
GeneralPostprocessor.h:21
RelativeSolutionDifferenceNorm::RelativeSolutionDifferenceNorm
RelativeSolutionDifferenceNorm(const InputParameters ¶meters)
Class constructor.
Definition:
RelativeSolutionDifferenceNorm.C:26
RelativeSolutionDifferenceNorm
Gets the relative solution norm from the transient executioner.
Definition:
RelativeSolutionDifferenceNorm.h:19
TransientBase
Base class for transient executioners that use a FixedPointSolve solve object for multiapp-main app i...
Definition:
TransientBase.h:26
RelativeSolutionDifferenceNorm::getValue
virtual Real getValue() const override
Returns the relative solution norm taken from the transient executioner.
Definition:
RelativeSolutionDifferenceNorm.C:34
RelativeSolutionDifferenceNorm::initialize
virtual void initialize() override
No action taken.
Definition:
RelativeSolutionDifferenceNorm.h:34
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
RelativeSolutionDifferenceNorm::_trex
TransientBase * _trex
Transient executioner.
Definition:
RelativeSolutionDifferenceNorm.h:46
GeneralPostprocessor.h
RelativeSolutionDifferenceNorm::validParams
static InputParameters validParams()
Definition:
RelativeSolutionDifferenceNorm.C:16
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
Generated on Fri Jul 25 2025 05:03:27 for https://mooseframework.inl.gov by
1.8.14