Files
ResInsight/ThirdParty/Ert/devel/libeclxx/include/ert/ecl/Smspec.hpp
Magne Sjaastad da76b01611 Updated ERT, opm-common and opm-parser
ERT 80650d05d49b419ec74ba316312313dfc6ba0875
opm-common e7db252f3e310a04718f315e6cdb9d6c428c5762
opm-parser 817722b99baa62cc63a5f859cc90b951f0b0636e
2016-06-13 14:18:50 +02:00

54 lines
1.4 KiB
C++

#ifndef OPM_ERT_SMSPEC_HPP
#define OPM_ERT_SMSPEC_HPP
#include <memory>
#include <string>
#include <ert/ecl/smspec_node.h>
#include <ert/util/ert_unique_ptr.hpp>
namespace ERT {
class smspec_node {
public:
smspec_node( const smspec_node& );
smspec_node(
ecl_smspec_var_type,
const std::string& wgname,
const std::string& keyword
);
smspec_node( const std::string& keyword );
smspec_node( const std::string& keyword,
const int dims[ 3 ],
const int ijk[ 3 ] );
smspec_node( const std::string& keyword,
const std::string& wellname,
const int dims[ 3 ],
const int ijk[ 3 ] );
smspec_node( const std::string& keyword,
const int dims[ 3 ],
int region );
int type() const;
const char* wgname() const;
const char* keyword() const;
int num() const;
private:
smspec_node(
ecl_smspec_var_type,
const char*, const char*, const char*, const char*,
const int[3], int, int = 0, float = 0 );
ert_unique_ptr< smspec_node_type, smspec_node_free > node;
};
}
#endif //OPM_ERT_SMSPEC_HPP