www.mooseframework.org
HeatSource.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #include "HeatSource.h"
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<BodyForce>();
14 
15  // Override defaults and documentation, weak form is identical to BodyForce in MOOSE
16  params.addParam<Real>("value", 1.0, "Value of heat source. Multiplied by function if present.");
17  params.addParam<FunctionName>("function", "1", "Function describing the volumetric heat source");
18  return params;
19 }
20 
21 HeatSource::HeatSource(const InputParameters & parameters) : BodyForce(parameters) {}
HeatSource(const InputParameters &parameters)
Definition: HeatSource.C:21
InputParameters validParams< HeatSource >()
Definition: HeatSource.C:11