Loading [MathJax]/extensions/tex2jax.js
Cardinal
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
NekTimeStepper.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 "TimeStepper.h"
22
37class NekTimeStepper : public TimeStepper
38{
39public:
40 NekTimeStepper(const InputParameters & parameters);
41
42 static InputParameters validParams();
43
44 virtual Real minDT() const;
45
51 virtual Real nondimensionalDT(const Real & dimensional_dt) const;
52
53protected:
54 virtual Real computeInitialDT() override;
55
56 virtual Real computeDT() override;
57
59 Real _min_dt;
60
65 Real _nek_dt;
66};
Time stepper that reads time step information directly from nekRS.
Definition NekTimeStepper.h:38
NekTimeStepper(const InputParameters &parameters)
Real _min_dt
Minimum allowable time step (dimensional) that MOOSE can set in NekRS.
Definition NekTimeStepper.h:59
static InputParameters validParams()
virtual Real minDT() const
Real _nek_dt
Definition NekTimeStepper.h:65
virtual Real computeDT() override
virtual Real computeInitialDT() override
virtual Real nondimensionalDT(const Real &dimensional_dt) const