mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#541) Using two parameters when adding well info (parameter name and value)
This commit is contained in:
parent
0a7e971577
commit
c2f0163eef
9
ThirdParty/NRLib/nrlib/well/laswell.cpp
vendored
9
ThirdParty/NRLib/nrlib/well/laswell.cpp
vendored
@ -580,7 +580,12 @@ void NRLib::LasWell::setStopDepth(double stopDepth)
|
||||
stop_depth_ = stopDepth;
|
||||
}
|
||||
|
||||
void NRLib::LasWell::addWellInfo(const std::string& wellInfo)
|
||||
void NRLib::LasWell::addWellInfo(const std::string& parameter, const std::string& value)
|
||||
{
|
||||
well_info_.push_back(wellInfo);
|
||||
std::string info = parameter;
|
||||
info += " : ";
|
||||
info += value;
|
||||
info += " :";
|
||||
|
||||
well_info_.push_back(info);
|
||||
}
|
||||
|
3
ThirdParty/NRLib/nrlib/well/laswell.hpp
vendored
3
ThirdParty/NRLib/nrlib/well/laswell.hpp
vendored
@ -61,7 +61,8 @@ public:
|
||||
void setVersionInfo(const std::string& logName);
|
||||
void setStartDepth(double startDepth);
|
||||
void setStopDepth(double stopDepth);
|
||||
void addWellInfo(const std::string& wellInfo);
|
||||
|
||||
void addWellInfo(const std::string& parameter, const std::string& value);
|
||||
|
||||
private:
|
||||
void ReadHeader(const std::string & filename,
|
||||
|
Loading…
Reference in New Issue
Block a user