ERT Namespace Reference

Classes

struct  deleter
 
struct  ecl_type
 
struct  ecl_type< bool >
 
struct  ecl_type< char * >
 
struct  ecl_type< const char * >
 
struct  ecl_type< const std::string >
 
struct  ecl_type< double >
 
struct  ecl_type< float >
 
struct  ecl_type< int >
 
struct  ecl_type< std::string >
 
class  EclKW
 
class  EclKW_ref
 
class  FortIO
 

Typedefs

template<typename T , void(*)(T *) F>
using ert_unique_ptr = std::unique_ptr< T, deleter< T, F > >
 

Functions

std::string EclFilename (const std::string &base, ecl_file_enum file_type, int report_step, bool fmt_file=false)
 
std::string EclFilename (const std::string &base, ecl_file_enum file_type, bool fmt_file=false)
 
std::string EclFilename (const std::string &path, const std::string &base, ecl_file_enum file_type, int report_step, bool fmt_file=false)
 
std::string EclFilename (const std::string &path, const std::string &base, ecl_file_enum file_type, bool fmt_file=false)
 
ecl_file_enum EclFiletype (const std::string &filename)
 
template<typename T >
void write_kw (FortIO &fortio, const std::string &kw, const std::vector< T > &data)
 
void write_mess (FortIO &fortio, const std::string &kw)
 

Typedef Documentation

◆ ert_unique_ptr

template<typename T , void(*)(T *) F>
using ERT::ert_unique_ptr = typedef std::unique_ptr<T, deleter<T,F> >

Function Documentation

◆ EclFilename() [1/4]

std::string ERT::EclFilename ( const std::string base,
ecl_file_enum  file_type,
bool  fmt_file = false 
)

◆ EclFilename() [2/4]

std::string ERT::EclFilename ( const std::string base,
ecl_file_enum  file_type,
int  report_step,
bool  fmt_file = false 
)

◆ EclFilename() [3/4]

std::string ERT::EclFilename ( const std::string path,
const std::string base,
ecl_file_enum  file_type,
bool  fmt_file = false 
)

◆ EclFilename() [4/4]

std::string ERT::EclFilename ( const std::string path,
const std::string base,
ecl_file_enum  file_type,
int  report_step,
bool  fmt_file = false 
)

◆ EclFiletype()

ecl_file_enum ERT::EclFiletype ( const std::string filename)

◆ write_kw()

template<typename T >
void ERT::write_kw ( FortIO fortio,
const std::string kw,
const std::vector< T > &  data 
)

◆ write_mess()

void ERT::write_mess ( FortIO fortio,
const std::string kw 
)
inline