My Project
Loading...
Searching...
No Matches
ParallelPAvgCalculator.hpp
1
/*
2
Copyright 2023 Equinor ASA.
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 3 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
20
#ifndef PARALLEL_PAVG_CALCULATOR_HPP
21
#define PARALLEL_PAVG_CALCULATOR_HPP
22
23
#include <opm/input/eclipse/Schedule/Well/PAvgCalculator.hpp>
24
25
#include <opm/simulators/utils/ParallelCommunication.hpp>
26
27
#include <functional>
28
29
namespace
Opm
{
30
class
GridDims;
31
class
WellConnections;
32
}
// namespace Opm
33
34
namespace
Opm
{
35
41
class
ParallelPAvgCalculator
:
public
PAvgCalculator
42
{
43
public
:
53
ParallelPAvgCalculator
(
const
Parallel::Communication& comm,
54
const
GridDims& cellIndexMap,
55
const
WellConnections& connections);
56
57
private
:
59
std::reference_wrapper<const Parallel::Communication> comm_;
60
66
void
collectGlobalContributions()
override
;
67
};
68
69
}
// namespace Opm
70
71
#endif
// PARALLEL_PAVG_CALCULATOR_HPP
Opm::ParallelPAvgCalculator
Facility for deriving well-level pressure values from selected block-averaging procedures.
Definition
ParallelPAvgCalculator.hpp:42
Opm
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition
BlackoilPhases.hpp:27
opm
simulators
wells
ParallelPAvgCalculator.hpp
Generated by
1.9.8