opm-simulators
vtkblackoilparams.hpp
Go to the documentation of this file.
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  This file is part of the Open Porous Media project (OPM).
5 
6  OPM is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 2 of the License, or
9  (at your option) any later version.
10 
11  OPM is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with OPM. If not, see <http://www.gnu.org/licenses/>.
18 
19  Consult the COPYING file in the top-level source directory of this
20  module for the precise wording of the license and the list of
21  copyright holders.
22 */
27 #ifndef OPM_VTK_BLACK_OIL_PARAMS_HPP
28 #define OPM_VTK_BLACK_OIL_PARAMS_HPP
29 
30 namespace Opm::Parameters {
31 
32 // set default values for what quantities to output
33 struct VtkWriteGasDissolutionFactor { static constexpr bool value = false; };
34 struct VtkWriteOilVaporizationFactor { static constexpr bool value = false; };
35 struct VtkWriteOilFormationVolumeFactor { static constexpr bool value = false; };
36 struct VtkWriteGasFormationVolumeFactor { static constexpr bool value = false; };
37 struct VtkWriteWaterFormationVolumeFactor { static constexpr bool value = false; };
38 struct VtkWriteOilSaturationPressure { static constexpr bool value = false; };
39 struct VtkWriteGasSaturationPressure { static constexpr bool value = false; };
40 struct VtkWriteSaturationRatios { static constexpr bool value = false; };
41 struct VtkWriteSaturatedOilGasDissolutionFactor { static constexpr bool value = false; };
42 struct VtkWriteSaturatedGasOilVaporizationFactor { static constexpr bool value = false; };
43 struct VtkWritePrimaryVarsMeaning { static constexpr bool value = false; };
44 
45 } // namespace Opm::Parameters
46 
47 namespace Opm {
48 
53 {
55  static void registerParameters();
56 
58  void read();
59 
60  bool gasDissolutionFactorOutput_;
61  bool oilVaporizationFactorOutput_;
62  bool oilFormationVolumeFactorOutput_;
63  bool gasFormationVolumeFactorOutput_;
64  bool waterFormationVolumeFactorOutput_;
65  bool oilSaturationPressureOutput_;
66  bool gasSaturationPressureOutput_;
67  bool saturatedOilGasDissolutionFactorOutput_;
68  bool saturatedGasOilVaporizationFactorOutput_;
69  bool saturationRatiosOutput_;
70  bool primaryVarsMeaningOutput_;
71 };
72 
73 } // namespace Opm
74 
75 #endif // OPM_VTK_BLACK_OIL_PARAMS_HPP
Definition: vtkblackoilparams.hpp:38
Definition: vtkblackoilparams.hpp:40
Definition: vtkblackoilparams.hpp:43
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
Definition: blackoilnewtonmethodparams.hpp:31
Definition: vtkblackoilparams.hpp:36
Definition: vtkblackoilparams.hpp:37
void read()
Reads the parameter values from the parameter system.
Definition: vtkblackoilparams.cpp:67
Definition: vtkblackoilparams.hpp:33
Definition: vtkblackoilparams.hpp:34
Struct holding the parameters for VtkBlackoilOutputModule.
Definition: vtkblackoilparams.hpp:52
Definition: vtkblackoilparams.hpp:35
static void registerParameters()
Registers the parameters in parameter system.
Definition: vtkblackoilparams.cpp:31
Definition: vtkblackoilparams.hpp:39