Opm::EclIO::OutputStream Namespace Reference

Classes

struct  Formatted
 
class  Init
 File manager for "init" output streams. More...
 
class  Restart
 File manager for restart output streams. More...
 
struct  ResultSet
 Abstract representation of an ECLIPSE-style result set. More...
 
class  RFT
 File manager for RFT output streams. More...
 
class  SummarySpecification
 
struct  Unified
 

Functions

std::unique_ptr< EclOutputcreateSummaryFile (const ResultSet &rset, const int seqnum, const Formatted &fmt, const Unified &unif)
 
std::string outputFileName (const ResultSet &rsetDescriptor, const std::string &ext)
 

Function Documentation

◆ createSummaryFile()

std::unique_ptr< EclOutput > Opm::EclIO::OutputStream::createSummaryFile ( const ResultSet rset,
const int  seqnum,
const Formatted fmt,
const Unified unif 
)

◆ outputFileName()

std::string Opm::EclIO::OutputStream::outputFileName ( const ResultSet rsetDescriptor,
const std::string ext 
)

Derive filename corresponding to output stream of particular result set, with user-specified file extension.

Low-level string concatenation routine that does not know specific relations between base names and file extensions. Handles details of base name ending in a period (full stop) or having a name that might otherwise appear to contain a file extension (e.g., CASE.01).

Parameters
[in]rsetDescriptorOutput directory and base name of result set.
[in]extFilename extension.
Returns
outputDir/baseName.ext