hyper.deal
Loading...
Searching...
No Matches
time_integrators_parameters.h
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2020 by the hyper.deal authors
4//
5// This file is part of the hyper.deal library.
6//
7// The hyper.deal library is free software; you can use it, redistribute
8// it, and/or modify it under the terms of the GNU Lesser General
9// Public License as published by the Free Software Foundation; either
10// version 3.0 of the License, or (at your option) any later version.
11// The full text of the license can be found in the file LICENSE.MD at
12// the top level directory of hyper.deal.
13//
14// ---------------------------------------------------------------------
15
16#ifndef HYPERDEAL_FUNCTIONALITIES_TIME_INGEGRATORS_PARAMTERS
17#define HYPERDEAL_FUNCTIONALITIES_TIME_INGEGRATORS_PARAMTERS
18
19#include <hyper.deal/base/config.h>
20
21#include <deal.II/base/parameter_handler.h>
22
23#include <functional>
24
25namespace hyperdeal
26{
31 {
35 void
36 add_parameters(dealii::ParameterHandler &prm)
37 {
38 prm.add_parameter("RKType",
39 type,
40 "Type of the low-storage Runge-Kutta scheme.");
41 }
42
43 /*
44 * Type of Runge-Kutta scheme. Default: RK45.
45 */
46 std::string type = "rk45";
47 };
48} // namespace hyperdeal
49
50#endif
Definition time_integrators_parameters.h:31
void add_parameters(dealii::ParameterHandler &prm)
Definition time_integrators_parameters.h:36