www.mooseframework.org
include
postprocessors
RelativeSolutionDifferenceNorm.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
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
Transient
;
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
Transient
*
_trex
;
47
};
Transient
Transient executioners usually loop through a number of timesteps...
Definition:
Transient.h:26
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:63
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
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
GeneralPostprocessor.h
RelativeSolutionDifferenceNorm::_trex
Transient * _trex
Transient executioner.
Definition:
RelativeSolutionDifferenceNorm.h:46
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 Wed Mar 27 2024 17:44:37 for www.mooseframework.org by
1.8.14