https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18{
19public:
21
22 virtual void addVariables() override;
23 virtual void addMooseObjects() override;
24
25protected:
26 virtual Convergence * getNonlinearConvergence() const override { return nullptr; }
27
29 const Real & _power;
30
31public:
33};
const InputParameters & parameters() const
Base class for components that provide total power.
Prescribes total power via a user supplied value.
Definition TotalPower.h:18
static InputParameters validParams()
Definition TotalPower.C:15
virtual void addMooseObjects() override
Definition TotalPower.C:39
virtual Convergence * getNonlinearConvergence() const override
Gets the Component's nonlinear Convergence object if it has one.
Definition TotalPower.h:26
virtual void addVariables() override
Definition TotalPower.C:30
const Real & _power
The value of power.
Definition TotalPower.h:29