https://mooseframework.inl.gov
TotalPower.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 "TotalPowerBase.h"
13 
17 class TotalPower : public TotalPowerBase
18 {
19 public:
21 
22  virtual void addVariables() override;
23  virtual void addMooseObjects() override;
24 
25 protected:
27  const Real & _power;
28 
29 public:
31 };
virtual void addVariables() override
Definition: TotalPower.C:30
const Real & _power
The value of power.
Definition: TotalPower.h:27
virtual void addMooseObjects() override
Definition: TotalPower.C:39
TotalPower(const InputParameters &parameters)
Definition: TotalPower.C:24
static InputParameters validParams()
Definition: TotalPower.C:15
Base class for components that provide total power.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Prescribes total power via a user supplied value.
Definition: TotalPower.h:17
const InputParameters & parameters() const