www.mooseframework.org
heat_conduction
src
kernels
HeatSource.C
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
#include "
HeatSource.h
"
11
12
registerMooseObject
(
"HeatConductionApp"
,
HeatSource
);
13
14
defineLegacyParams
(
HeatSource
);
15
16
InputParameters
17
HeatSource::validParams
()
18
{
19
InputParameters params =
BodyForce::validParams
();
20
21
// Override defaults and documentation, weak form is identical to BodyForce in MOOSE
22
params.addParam<Real>(
"value"
, 1.0,
"Value of heat source. Multiplied by function if present."
);
23
params.addParam<FunctionName>(
"function"
,
"1"
,
"Function describing the volumetric heat source"
);
24
return
params;
25
}
26
27
HeatSource::HeatSource
(
const
InputParameters & parameters) : BodyForce(parameters) {}
HeatSource.h
HeatSource::HeatSource
HeatSource(const InputParameters ¶meters)
Definition:
HeatSource.C:27
HeatSource::validParams
static InputParameters validParams()
Definition:
HeatSource.C:17
HeatSource
Definition:
HeatSource.h:20
registerMooseObject
registerMooseObject("HeatConductionApp", HeatSource)
validParams
InputParameters validParams()
defineLegacyParams
defineLegacyParams(HeatSource)
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16