My Project
Loading...
Searching...
No Matches
Opm::FieldProps Class Reference

Classes

struct  FieldDataManager
 
struct  MultregpRecord
 

Public Types

enum class  GetStatus { OK = 1 , INVALID_DATA = 2 , MISSING_KEYWORD = 3 , NOT_SUPPPORTED_KEYWORD = 4 }
 
using ScalarOperation = Fieldprops::ScalarOperation
 

Public Member Functions

 FieldProps (const Deck &deck, const Phases &phases, const EclipseGrid &grid, const TableManager &table_arg)
 Normal constructor for FieldProps.
 
 FieldProps (const Deck &deck, const EclipseGrid &grid)
 Special case constructor used to process ACTNUM only.
 
void reset_actnum (const std::vector< int > &actnum)
 
void apply_numerical_aquifers (const NumericalAquifers &numerical_aquifers)
 
const std::string & default_region () const
 
std::vector< int > actnum ()
 
const std::vector< int > & actnumRaw () const
 
template<typename T >
bool has (const std::string &keyword) const
 
template<typename T >
std::vector< std::string > keys () const
 
template<typename T >
FieldDataManager< T > try_get (const std::string &keyword, const bool allow_unsupported=false)
 
template<typename T >
const std::vector< T > & get (const std::string &keyword)
 
template<typename T >
std::vector< T > get_global (const std::string &keyword)
 
template<typename T >
std::vector< T > get_copy (const std::string &keyword, bool global)
 
template<typename T >
std::vector< bool > defaulted (const std::string &keyword)
 
template<typename T >
std::vector< T > global_copy (const std::vector< T > &data, const std::optional< T > &default_value) const
 
std::size_t num_int () const
 
std::size_t num_double () const
 
void handle_schedule_keywords (const std::vector< DeckKeyword > &keywords)
 
bool tran_active (const std::string &keyword) const
 
void apply_tran (const std::string &keyword, std::vector< double > &data)
 
bool operator== (const FieldProps &other) const
 
const std::unordered_map< std::string, Fieldprops::TranCalculator > & getTran () const
 
std::vector< std::string > fip_regions () const
 
void deleteMINPVV ()
 
template<>
Fieldprops::FieldData< double > & init_get (const std::string &keyword_name, const Fieldprops::keywords::keyword_info< double > &kw_info, bool multiplier_in_edit)
 
template<>
Fieldprops::FieldData< double > & init_get (const std::string &keyword, bool allow_unsupported)
 
template<>
Fieldprops::FieldData< int > & init_get (const std::string &keyword, const Fieldprops::keywords::keyword_info< int > &kw_info, bool)
 
template<>
Fieldprops::FieldData< int > & init_get (const std::string &keyword, bool)
 
template<>
bool has (const std::string &keyword_name) const
 
template<>
bool has (const std::string &keyword) const
 
template<>
std::vector< std::string > keys () const
 
template<>
std::vector< std::string > keys () const
 

Static Public Member Functions

template<typename T >
static bool supported (const std::string &keyword)
 
static bool rst_cmp (const FieldProps &full_arg, const FieldProps &rst_arg)
 
template<>
bool supported (const std::string &keyword)
 
template<>
bool supported (const std::string &keyword)
 

Public Attributes

std::size_t active_size
 
std::size_t global_size
 

The documentation for this class was generated from the following files: