Opm::PerforationData< Scalar > Struct Template Reference

Static data associated with a well perforation. More...

#include <PerforationData.hpp>

Inheritance diagram for Opm::PerforationData< Scalar >:
Inheritance graph

Public Member Functions

bool operator== (const PerforationData &) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static PerforationData serializationTestObject ()
 

Public Attributes

int cell_index {}
 
Scalar connection_transmissibility_factor {}
 
Scalar connection_d_factor {}
 
int satnum_id {}
 
std::size_t ecl_index {}
 The original index of the perforation in ECL Schedule. More...
 
int grid_id {}
 Grid identity for this perforation: 0 = global grid, > 0 = numeric LGR level (refined grid in CARFIN declaration order). More...
 
std::size_t global_index {}
 Linearised Cartesian cell index relative to the cell's own grid origin. For grid_id == 0 this is the global-grid Cartesian index; for grid_id > 0 this is the LGR-local Cartesian index. More...
 

Detailed Description

template<class Scalar>
struct Opm::PerforationData< Scalar >

Static data associated with a well perforation.

Member Function Documentation

◆ operator==()

template<class Scalar >
bool Opm::PerforationData< Scalar >::operator== ( const PerforationData< Scalar > &  ) const

◆ serializationTestObject()

template<class Scalar >
static PerforationData Opm::PerforationData< Scalar >::serializationTestObject ( )
static

◆ serializeOp()

Member Data Documentation

◆ cell_index

template<class Scalar >
int Opm::PerforationData< Scalar >::cell_index {}

◆ connection_d_factor

template<class Scalar >
Scalar Opm::PerforationData< Scalar >::connection_d_factor {}

◆ connection_transmissibility_factor

template<class Scalar >
Scalar Opm::PerforationData< Scalar >::connection_transmissibility_factor {}

◆ ecl_index

template<class Scalar >
std::size_t Opm::PerforationData< Scalar >::ecl_index {}

The original index of the perforation in ECL Schedule.

Referenced by Opm::PerforationData< Scalar >::serializeOp().

◆ global_index

template<class Scalar >
std::size_t Opm::PerforationData< Scalar >::global_index {}

Linearised Cartesian cell index relative to the cell's own grid origin. For grid_id == 0 this is the global-grid Cartesian index; for grid_id > 0 this is the LGR-local Cartesian index.

Together with grid_id, the pair (grid_id, global_index) uniquely identifies any cell in the deck – including refined siblings under a common coarse parent, which would otherwise alias if identified via globalCellIdxMap[active_idx] alone (which returns the level-0 ancestor's Cartesian, shared by all siblings).

Referenced by Opm::PerforationData< Scalar >::serializeOp().

◆ grid_id

template<class Scalar >
int Opm::PerforationData< Scalar >::grid_id {}

Grid identity for this perforation: 0 = global grid, > 0 = numeric LGR level (refined grid in CARFIN declaration order).

Referenced by Opm::PerforationData< Scalar >::serializeOp().

◆ satnum_id

template<class Scalar >
int Opm::PerforationData< Scalar >::satnum_id {}

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