https://mooseframework.inl.gov
HeatSourceFromTotalPower.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 "HeatSourceBase.h"
13 
18 {
19 public:
21 
22  virtual void addMooseObjects() override;
23 
24 protected:
25  virtual void init() override;
26  virtual void check() const override;
27 
29  VariableName _power_var_name;
33  const bool _has_psf;
35  FunctionName _power_shape_func;
36 
37 public:
39 };
HeatSourceFromTotalPower(const InputParameters &parameters)
static InputParameters validParams()
virtual void addMooseObjects() override
virtual void check() const override
Check the component integrity.
virtual void init() override
Initializes the component.
const Real & _power_fraction
The fraction of the power that goes into the heat structure.
const bool _has_psf
true if power shape function is being used
Base class for heat source components.
VariableName _power_var_name
The name of the variable that represents total power.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
FunctionName _power_shape_func
The name of the power shape function.
Heat generation from total power.