opm-simulators
Opm::PerforationData< Scalar > Struct Template Reference

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

#include <PerforationData.hpp>

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.
 
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. More...
 

Detailed Description

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

Static data associated with a well perforation.

Member Data Documentation

◆ 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).

◆ 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).


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