mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
(#541) Using two parameters when adding well info (parameter name and value)
This commit is contained in:
1 parent
0a7e971577
commit
c2f0163eef
2 files changed
+9
-3
No files matched your search
+7
-2
@@ -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);
|
||||
}
|
||||
+2
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user