mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
45 lines
1.6 KiB
C
45 lines
1.6 KiB
C
|
/*
|
||
|
Copyright (C) 2012 Statoil ASA, Norway.
|
||
|
|
||
|
The file 'ecl_rst_file.h' is part of ERT - Ensemble based Reservoir Tool.
|
||
|
|
||
|
ERT 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.
|
||
|
|
||
|
ERT 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 at <http://www.gnu.org/licenses/gpl.html>
|
||
|
for more details.
|
||
|
*/
|
||
|
|
||
|
|
||
|
#ifndef __ECL_RST_FILE_H__
|
||
|
#define __ECL_RST_FILE_H__
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
typedef struct ecl_rst_file_struct ecl_rst_file_type;
|
||
|
|
||
|
ecl_rst_file_type * ecl_rst_file_open_read( const char * filename );
|
||
|
ecl_rst_file_type * ecl_rst_file_open_write( const char * filename );
|
||
|
ecl_rst_file_type * ecl_rst_file_open_append( const char * filename );
|
||
|
void ecl_rst_file_close( ecl_rst_file_type * rst_file );
|
||
|
|
||
|
void ecl_rst_file_start_solution( ecl_rst_file_type * rst_file );
|
||
|
void ecl_rst_file_end_solution( ecl_rst_file_type * rst_file );
|
||
|
void ecl_rst_file_fwrite_header( ecl_rst_file_type * rst_file , int seqnum , time_t date , double days , int nx , int ny ,int nz , int nactive , int phases);
|
||
|
void ecl_rst_file_add_kw(ecl_rst_file_type * rst_file , const ecl_kw_type * ecl_kw );
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|