Cardinal
VolumetricHeatSourceICAction.h
Go to the documentation of this file.
1 /********************************************************************/
2 /* SOFTWARE COPYRIGHT NOTIFICATION */
3 /* Cardinal */
4 /* */
5 /* (c) 2021 UChicago Argonne, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by UChicago Argonne, LLC */
9 /* Under Contract No. DE-AC02-06CH11357 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* Prepared by Battelle Energy Alliance, LLC */
13 /* Under Contract No. DE-AC07-05ID14517 */
14 /* With the U. S. Department of Energy */
15 /* */
16 /* See LICENSE for full restrictions */
17 /********************************************************************/
18 
19 #pragma once
20 
21 #include "CardinalAction.h"
22 
24 
31 {
32 public:
33  VolumetricHeatSourceICAction(const InputParameters & parameters);
34 
35  static InputParameters validParams();
36 
37  virtual void act();
38 
39 protected:
41  const VariableName & _variable;
42 
44  const FunctionName & _function;
45 
47  const Real & _magnitude;
48 };
Definition: CardinalAction.h:29
virtual void act()
Definition: VolumetricHeatSourceICAction.C:44
Definition: VolumetricHeatSourceICAction.h:30
VolumetricHeatSourceICAction(const InputParameters &parameters)
Definition: VolumetricHeatSourceICAction.C:35
const VariableName & _variable
Variable name to apply the initial condition to.
Definition: VolumetricHeatSourceICAction.h:41
static InputParameters validParams()
Definition: VolumetricHeatSourceICAction.C:26
const Real & _magnitude
Total magnitude of the heat source upon integration.
Definition: VolumetricHeatSourceICAction.h:47
const FunctionName & _function
Functional form for the heat source.
Definition: VolumetricHeatSourceICAction.h:44