From 7bcbb80691dd29dd5967088d5222dcdc8568c1e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Hagen?= Date: Fri, 16 Oct 2015 11:02:12 +0200 Subject: [PATCH] (#541) Added interface for adding well info for export --- ThirdParty/NRLib/nrlib/well/laswell.cpp | 5 +++++ ThirdParty/NRLib/nrlib/well/laswell.hpp | 1 + 2 files changed, 6 insertions(+) diff --git a/ThirdParty/NRLib/nrlib/well/laswell.cpp b/ThirdParty/NRLib/nrlib/well/laswell.cpp index 4961805341..0d3d6a0df0 100644 --- a/ThirdParty/NRLib/nrlib/well/laswell.cpp +++ b/ThirdParty/NRLib/nrlib/well/laswell.cpp @@ -579,3 +579,8 @@ void NRLib::LasWell::setStopDepth(double stopDepth) { stop_depth_ = stopDepth; } + +void NRLib::LasWell::addWellInfo(const std::string& wellInfo) +{ + well_info_.push_back(wellInfo); +} diff --git a/ThirdParty/NRLib/nrlib/well/laswell.hpp b/ThirdParty/NRLib/nrlib/well/laswell.hpp index dc5b856a1a..0b84ef84a4 100644 --- a/ThirdParty/NRLib/nrlib/well/laswell.hpp +++ b/ThirdParty/NRLib/nrlib/well/laswell.hpp @@ -61,6 +61,7 @@ public: void setVersionInfo(const std::string& logName); void setStartDepth(double startDepth); void setStopDepth(double stopDepth); + void addWellInfo(const std::string& wellInfo); private: void ReadHeader(const std::string & filename,