Rename wrietInit -> writeInitAndEgrid()
This commit is contained in:
parent
12e36f6cff
commit
4b11d9a059
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user