Rename wrietInit -> writeInitAndEgrid()

This commit is contained in:
Joakim Hove 2016-06-24 14:19:28 +02:00
parent 12e36f6cff
commit 4b11d9a059
3 changed files with 13 additions and 9 deletions

View File

@ -52,12 +52,16 @@ public:
const NNC& );
/**
* Write the static eclipse data (grid, PVT curves, etc) to disk.
*
* If NNC is given to the constructor, writes TRANNNC keyword.
*/
void writeInit(const std::vector<data::CellData>& simProps = {}, const NNC& nnc = NNC());
/// Write the static eclipse data (grid, PVT curves, etc) to disk.
///
/// - simProps contains a list of properties which must be
/// calculated by the simulator, e.g. the transmissibility
/// vectors TRANX, TRANY and TRANZ.
///
/// - The NNC argument is distributed between the EGRID and INIT
/// files.
void writeInitAndEgrid(const std::vector<data::CellData>& simProps = {}, const NNC& nnc = NNC());
/*!
* \brief Write a reservoir state and summary information to disk.

View File

@ -544,7 +544,7 @@ void EclipseWriter::writeEGRIDFile( const NNC& nnc ) const {
}
void EclipseWriter::writeInit(const std::vector<data::CellData>& simProps, const NNC& nnc) {
void EclipseWriter::writeInitAndEgrid(const std::vector<data::CellData>& simProps, const NNC& nnc) {
if( !this->impl->output_enabled )
return;

View File

@ -278,8 +278,8 @@ BOOST_AUTO_TEST_CASE(EclipseWriterIntegration)
ta.setStore( true );
std::cout << "Working in: " << ta.getCwd() << std::endl;
eclWriter.writeInit( );
eclWriter.writeInit( simProps );
eclWriter.writeInitAndEgrid( );
eclWriter.writeInitAndEgrid( simProps );
data::Wells wells;