writeECLData.hpp
Go to the documentation of this file.
1 /*
2  Copyright 2012 SINTEF ICT, Applied Mathematics.
3  Copyright 2012 Statoil ASA.
4 
5  This file is part of the Open Porous Media project (OPM).
6 
7  OPM is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  OPM is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with OPM. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 #ifndef OPM_WRITEECLDATA_HEADER_INCLUDED
22 #define OPM_WRITEECLDATA_HEADER_INCLUDED
23 
24 
26 #include <boost/date_time/posix_time/posix_time_types.hpp>
27 
28 #include <string>
29 
30 struct UnstructuredGrid;
31 
32 namespace Opm
33 {
34 
35  // ECLIPSE output for general grids.
37  const DataMap& data,
38  const int current_step,
39  const double current_time,
40  const boost::posix_time::ptime& current_date_time,
41  const std::string& output_dir,
42  const std::string& base_name);
43 
44 }
45 
46 #endif
Definition: grid.h:98
Definition: AnisotropicEikonal.hpp:43
std::map< std::string, const std::vector< double > * > DataMap
Intended to map strings (giving the output field names) to data.
Definition: DataMap.hpp:30
const UnstructuredGrid & grid
Definition: ColumnExtract.hpp:31
void writeECLData(const UnstructuredGrid &grid, const DataMap &data, const int current_step, const double current_time, const boost::posix_time::ptime &current_date_time, const std::string &output_dir, const std::string &base_name)