opm-simulators
vtktpsaparams.hpp
1 // -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 // vi: set et ts=4 sw=4 sts=4:
3 /*
4  Copyright 2025 NORCE AS
5 
6  This file is part of the Open Porous Media project (OPM).
7 
8  OPM is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 2 of the License, or
11  (at your option) any later version.
12 
13  OPM is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with OPM. If not, see <http://www.gnu.org/licenses/>.
20 
21  Consult the COPYING file in the top-level source directory of this
22  module for the precise wording of the license and the list of
23  copyright holders.
24 */
25 #ifndef VTK_TPSA_PARAMS_HPP
26 #define VTK_TPSA_PARAMS_HPP
27 
28 
29 namespace Opm::Parameters {
30 
31 // Default output quantities
32 struct VtkWriteDisplacement { static constexpr bool value = true; };
33 struct VtkWriteRotation { static constexpr bool value = true; };
34 struct VtkWriteSolidPressure { static constexpr bool value = true; };
35 struct VtkWriteStress { static constexpr bool value = true; };
36 
37 } // namespace Opm::Parameters
38 
39 namespace Opm {
40 
45 {
46  static void registerParameters();
47  void read();
48 
49  bool displacementOutput_;
50  bool rotationOutput_;
51  bool solidPressureOutput_;
52  bool stressOutput_;
53 };
54 
55 } // namespace Opm
56 
57 #endif
Definition: vtktpsaparams.hpp:32
Definition: vtktpsaparams.hpp:35
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
Definition: blackoilnewtonmethodparams.hpp:31
Definition: vtktpsaparams.hpp:33
void read()
Read runtime parameters.
Definition: vtktpsaparams.cpp:49
static void registerParameters()
Register runtime parameters.
Definition: vtktpsaparams.cpp:34
Parameters for VtkTpsaOutputModule.
Definition: vtktpsaparams.hpp:44
Definition: vtktpsaparams.hpp:34