moltres
Loading...
Searching...
No Matches
LimitK.h
Go to the documentation of this file.
1/****************************************************************/
2/* DO NOT MODIFY THIS HEADER */
3/* MOOSE - Multiphysics Object Oriented Simulation Environment */
4/* */
5/* (c) 2010 Battelle Energy Alliance, LLC */
6/* ALL RIGHTS RESERVED */
7/* */
8/* Prepared by Battelle Energy Alliance, LLC */
9/* Under Contract No. DE-AC07-05ID14517 */
10/* With the U. S. Department of Energy */
11/* */
12/* See COPYRIGHT for full restrictions */
13/****************************************************************/
14
15#pragma once
16
17#include "TimestepSize.h"
18
19class LimitK : public TimestepSize
20{
21public:
22 LimitK(const InputParameters & parameters);
23
24 static InputParameters validParams();
25
26 virtual void initialize() override {}
27 virtual void execute() override {}
28
29 using Postprocessor::getValue;
30 virtual Real getValue() const override;
31
32protected:
33 const PostprocessorValue & _k;
34 const Real & _growth_factor;
35 const Real & _cutback_factor;
36 const Real & _k_threshold;
37};
Definition LimitK.h:20
virtual Real getValue() const override
Definition LimitK.C:45
static InputParameters validParams()
Definition LimitK.C:21
const Real & _cutback_factor
Definition LimitK.h:35
virtual void execute() override
Definition LimitK.h:27
virtual void initialize() override
Definition LimitK.h:26
const Real & _k_threshold
Definition LimitK.h:36
const PostprocessorValue & _k
Definition LimitK.h:33
const Real & _growth_factor
Definition LimitK.h:34