20 #ifndef OPM_IO_CONFIG_HPP
21 #define OPM_IO_CONFIG_HPP
153 explicit IOConfig(
const std::string& input_path );
157 void setEclCompatibleRST(
bool ecl_rst);
158 bool getEclCompatibleRST()
const;
159 bool getWriteEGRIDFile()
const;
160 bool getWriteINITFile()
const;
161 bool getUNIFOUT()
const;
162 bool getUNIFIN()
const;
163 bool getFMTIN()
const;
164 bool getFMTOUT()
const;
165 const std::string& getEclipseInputPath()
const;
167 void overrideNOSIM(
bool nosim);
168 void consistentFileFlags();
170 std::string getRestartFileName(
const std::string& restart_base,
int report_step,
bool output)
const;
172 bool getOutputEnabled()
const;
173 void setOutputEnabled(
bool enabled);
175 std::string getOutputDir()
const;
176 void setOutputDir(
const std::string& outputDir);
178 const std::string& getBaseName()
const;
179 void setBaseName(
const std::string& baseName);
185 bool initOnly()
const;
187 bool operator==(
const IOConfig& data)
const;
188 static bool rst_cmp(
const IOConfig& full_config,
const IOConfig& rst_config);
191 template<
class Serializer>
194 serializer(m_write_INIT_file);
195 serializer(m_write_EGRID_file);
196 serializer(m_UNIFIN);
197 serializer(m_UNIFOUT);
199 serializer(m_FMTOUT);
200 serializer(m_deck_filename);
201 serializer(m_output_enabled);
202 serializer(m_output_dir);
204 serializer(m_base_name);
205 serializer(ecl_compatible_rst);
209 bool m_write_INIT_file =
false;
210 bool m_write_EGRID_file =
true;
211 bool m_UNIFIN =
false;
212 bool m_UNIFOUT =
false;
213 bool m_FMTIN =
false;
214 bool m_FMTOUT =
false;
215 std::string m_deck_filename;
216 bool m_output_enabled =
true;
217 std::string m_output_dir;
219 std::string m_base_name;
220 bool ecl_compatible_rst =
true;
225 const std::string& input_path );
Definition: DeckSection.hpp:79
Definition: IOConfig.hpp:147
std::string fullBasePath() const
Return a string consisting of outputpath and basename; i.e.
Definition: DeckSection.hpp:73
Definition: Serializer.hpp:38
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29