https://mooseframework.inl.gov
Loading...
Searching...
No Matches
thermal_hydraulics
include
scalarkernels
PostprocessorSourceScalarKernel.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 "
ODEKernel.h
"
13
17
class
PostprocessorSourceScalarKernel
:
public
ODEKernel
18
{
19
public
:
20
PostprocessorSourceScalarKernel
(
const
InputParameters
& params);
21
22
virtual
Real
computeQpResidual
()
override
;
23
24
protected
:
26
const
PostprocessorValue
&
_pp
;
27
28
public
:
29
static
InputParameters
validParams
();
30
};
PostprocessorValue
Real PostprocessorValue
ODEKernel.h
ODEKernel
PostprocessorSourceScalarKernel
Adds an arbitrary post-processor value as a source term.
Definition
PostprocessorSourceScalarKernel.h:18
PostprocessorSourceScalarKernel::_pp
const PostprocessorValue & _pp
Post-processor to act as source.
Definition
PostprocessorSourceScalarKernel.h:26
PostprocessorSourceScalarKernel::validParams
static InputParameters validParams()
Definition
PostprocessorSourceScalarKernel.C:15
PostprocessorSourceScalarKernel::computeQpResidual
virtual Real computeQpResidual() override
Definition
PostprocessorSourceScalarKernel.C:34
InputParameters
Generated on Fri Aug 21 2026 13:41:54 for https://mooseframework.inl.gov by
1.9.8