Collection of explicit, compressible source terms. More...
#include <compr_source.h>
Public Attributes | |
int | nsrc |
Number of source terms. | |
int | cpty |
Source term capacity. More... | |
int | nphases |
Number of fluid phases. | |
int * | cell |
Cells influenced by explicit source terms. More... | |
double * | flux |
Total Darcy rate of inflow (measured at reservoir conditions) of each individual source term. More... | |
double * | saturation |
Injection composition for all explicit source terms. More... | |
Collection of explicit, compressible source terms.
int* compr_src::cell |
Cells influenced by explicit source terms.
Array of size cpty
, the nsrc
first elements (only) of which are valid.
int compr_src::cpty |
Source term capacity.
Client code should treat this member as read-only. The field is used in internal memory management.
double* compr_src::flux |
Total Darcy rate of inflow (measured at reservoir conditions) of each individual source term.
Sign convention: Positive rate into reservoir (i.e., injection) and negative rate out of reservoir (production). Array of size cpty
, the nsrc
first elements (only) of which are valid.
double* compr_src::saturation |
Injection composition for all explicit source terms.
Not referenced for production sources (i.e., those terms for which ->flux[]
is negative). Array of size nphases * cpty
, the nphases * nsrc
of which (only) are valid.