#include <PlyshlogTable.hpp>

Inheritance diagram for Opm::PlyshlogTable:
Inheritance graph

Public Member Functions

 PlyshlogTable ()=default
 
 PlyshlogTable (const DeckRecord &indexRecord, const DeckRecord &dataRecord)
 
double getRefPolymerConcentration () const
 
double getRefSalinity () const
 
double getRefTemperature () const
 
void setRefPolymerConcentration (const double refPlymerConcentration)
 
void setRefSalinity (const double refSalinity)
 
void setRefTemperature (const double refTemperature)
 
bool hasRefSalinity () const
 
bool hasRefTemperature () const
 
void setHasRefSalinity (const bool has)
 
void setHasRefTemperature (const bool has)
 
const TableColumngetWaterVelocityColumn () const
 
const TableColumngetShearMultiplierColumn () const
 
bool operator== (const PlyshlogTable &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 
void addColumns ()
 
void init (const DeckItem &deckItem)
 
void init (const DeckItem &deckItem, double scaling_factor)
 
size_t numColumns () const
 
size_t numRows () const
 
void addRow (const std::vector< double > &row)
 
const TableColumngetColumn (const std::string &name) const
 
const TableColumngetColumn (size_t colIdx) const
 
TableColumngetColumn (const std::string &name)
 
TableColumngetColumn (size_t colIdx)
 
bool hasColumn (const std::string &name) const
 
double get (const std::string &column, size_t row) const
 
double get (size_t column, size_t row) const
 
double evaluate (const std::string &columnName, double xPos) const
 Evaluate a column of the table at a given position. More...
 
void assertJFuncPressure (const bool jf) const
 throws std::invalid_argument if jf != m_jfunc More...
 
bool operator== (const SimpleTable &data) const
 

Static Public Member Functions

static PlyshlogTable serializeObject ()
 

Protected Attributes

TableSchema m_schema
 
OrderedMap< std::string, TableColumnm_columns
 
bool m_jfunc = false
 

Friends

class TableManager
 

Constructor & Destructor Documentation

◆ PlyshlogTable() [1/2]

Opm::PlyshlogTable::PlyshlogTable ( )
default

◆ PlyshlogTable() [2/2]

Opm::PlyshlogTable::PlyshlogTable ( const DeckRecord indexRecord,
const DeckRecord dataRecord 
)

Member Function Documentation

◆ addColumns()

void Opm::SimpleTable::addColumns ( )
inherited

◆ addRow()

void Opm::SimpleTable::addRow ( const std::vector< double > &  row)
inherited

◆ assertJFuncPressure()

void Opm::SimpleTable::assertJFuncPressure ( const bool  jf) const
inherited

throws std::invalid_argument if jf != m_jfunc

◆ evaluate()

double Opm::SimpleTable::evaluate ( const std::string columnName,
double  xPos 
) const
inherited

Evaluate a column of the table at a given position.

This method uses linear interpolation and always uses the first column as the X coordinate.

◆ get() [1/2]

double Opm::SimpleTable::get ( const std::string column,
size_t  row 
) const
inherited

◆ get() [2/2]

double Opm::SimpleTable::get ( size_t  column,
size_t  row 
) const
inherited

◆ getColumn() [1/4]

TableColumn & Opm::SimpleTable::getColumn ( const std::string name)
inherited

◆ getColumn() [2/4]

const TableColumn & Opm::SimpleTable::getColumn ( const std::string name) const
inherited

◆ getColumn() [3/4]

TableColumn & Opm::SimpleTable::getColumn ( size_t  colIdx)
inherited

◆ getColumn() [4/4]

const TableColumn & Opm::SimpleTable::getColumn ( size_t  colIdx) const
inherited

◆ getRefPolymerConcentration()

double Opm::PlyshlogTable::getRefPolymerConcentration ( ) const

◆ getRefSalinity()

double Opm::PlyshlogTable::getRefSalinity ( ) const

◆ getRefTemperature()

double Opm::PlyshlogTable::getRefTemperature ( ) const

◆ getShearMultiplierColumn()

const TableColumn & Opm::PlyshlogTable::getShearMultiplierColumn ( ) const

◆ getWaterVelocityColumn()

const TableColumn & Opm::PlyshlogTable::getWaterVelocityColumn ( ) const

◆ hasColumn()

bool Opm::SimpleTable::hasColumn ( const std::string name) const
inherited

◆ hasRefSalinity()

bool Opm::PlyshlogTable::hasRefSalinity ( ) const

◆ hasRefTemperature()

bool Opm::PlyshlogTable::hasRefTemperature ( ) const

◆ init() [1/2]

void Opm::SimpleTable::init ( const DeckItem deckItem)
inherited

◆ init() [2/2]

void Opm::SimpleTable::init ( const DeckItem deckItem,
double  scaling_factor 
)
inherited

◆ numColumns()

size_t Opm::SimpleTable::numColumns ( ) const
inherited

◆ numRows()

size_t Opm::SimpleTable::numRows ( ) const
inherited

◆ operator==() [1/2]

bool Opm::PlyshlogTable::operator== ( const PlyshlogTable data) const

◆ operator==() [2/2]

bool Opm::SimpleTable::operator== ( const SimpleTable data) const
inherited

◆ serializeObject()

static PlyshlogTable Opm::PlyshlogTable::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::PlyshlogTable::serializeOp ( Serializer serializer)
inline

◆ setHasRefSalinity()

void Opm::PlyshlogTable::setHasRefSalinity ( const bool  has)

◆ setHasRefTemperature()

void Opm::PlyshlogTable::setHasRefTemperature ( const bool  has)

◆ setRefPolymerConcentration()

void Opm::PlyshlogTable::setRefPolymerConcentration ( const double  refPlymerConcentration)

◆ setRefSalinity()

void Opm::PlyshlogTable::setRefSalinity ( const double  refSalinity)

◆ setRefTemperature()

void Opm::PlyshlogTable::setRefTemperature ( const double  refTemperature)

Friends And Related Function Documentation

◆ TableManager

friend class TableManager
friend

Member Data Documentation

◆ m_columns

OrderedMap<std::string, TableColumn> Opm::SimpleTable::m_columns
protectedinherited

◆ m_jfunc

bool Opm::SimpleTable::m_jfunc = false
protectedinherited

◆ m_schema

TableSchema Opm::SimpleTable::m_schema
protectedinherited

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