2020-04-11 00:52:32 -05:00
|
|
|
/*
|
|
|
|
Copyright (c) 2020 Equinor ASA
|
|
|
|
|
|
|
|
This file is part of the Open Porous Media project (OPM).
|
|
|
|
|
|
|
|
OPM is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
OPM is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OPM_WRITE_RPT_HPP
|
|
|
|
#define OPM_WRITE_RPT_HPP
|
|
|
|
|
2022-07-31 14:24:30 -05:00
|
|
|
#include <cstddef>
|
2022-07-26 10:15:11 -05:00
|
|
|
#include <iosfwd>
|
2020-04-11 00:52:32 -05:00
|
|
|
|
|
|
|
namespace Opm {
|
|
|
|
|
|
|
|
class Schedule;
|
2020-04-22 02:05:01 -05:00
|
|
|
class EclipseGrid;
|
2020-04-29 01:32:07 -05:00
|
|
|
class UnitSystem;
|
2020-04-11 00:52:32 -05:00
|
|
|
|
|
|
|
namespace RptIO {
|
|
|
|
|
|
|
|
void write_report(
|
|
|
|
std::ostream&,
|
|
|
|
const std::string& report,
|
|
|
|
unsigned value,
|
|
|
|
const Schedule& schedule,
|
2020-04-22 02:05:01 -05:00
|
|
|
const EclipseGrid& grid,
|
2020-04-29 01:32:07 -05:00
|
|
|
const UnitSystem& unit_system,
|
2020-04-11 00:52:32 -05:00
|
|
|
std::size_t time_step
|
|
|
|
);
|
|
|
|
|
|
|
|
namespace workers {
|
|
|
|
|
2020-04-29 01:32:07 -05:00
|
|
|
void write_WELSPECS(std::ostream&, unsigned, const Schedule&, const EclipseGrid& grid, const UnitSystem&, std::size_t);
|
2020-04-11 00:52:32 -05:00
|
|
|
|
|
|
|
} } }
|
|
|
|
#endif // OPM_WRITE_RPT_HPP
|