hyper.deal
Loading...
Searching...
No Matches
advection_operation_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_NDIM_OPERATORS_ADVECTIONOPERATION_PARAMTERS
17#define HYPERDEAL_NDIM_OPERATORS_ADVECTIONOPERATION_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{
27 namespace advection
28 {
30 {
31 void
32 add_parameters(dealii::ParameterHandler &prm)
33 {
34 prm.add_parameter(
35 "SkewFactor",
36 factor_skew,
37 "Factor to blend between conservative and convective implementation of DG.");
38 }
39
40 // skew factor: conservative (skew=0) and convective (skew=1)
41 double factor_skew = 0.0;
42 };
43 } // namespace advection
44} // namespace hyperdeal
45
46#endif
Definition advection_operation_parameters.h:30