Added IOConfig::getOutputBase()

This commit is contained in:
Joakim Hove
2016-06-24 19:24:59 +02:00
parent c3db8fc3a0
commit 337a141d28
3 changed files with 16 additions and 0 deletions

View File

@@ -572,4 +572,15 @@ namespace Opm {
m_base_name = baseName;
}
std::string IOConfig::fullBasePath( ) const {
namespace fs = boost::filesystem;
fs::path dir( m_output_dir );
fs::path base( m_base_name );
fs::path full_path = dir / base;
return full_path.string();
}
} //namespace Opm