compr_src Struct Reference

#include <compr_source.h>

Public Attributes

int nsrc
 
int cpty
 
int nphases
 
int * cell
 
double * flux
 
double * saturation
 

Detailed Description

Collection of explicit, compressible source terms.

Member Data Documentation

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.

int compr_src::nphases

Number of fluid phases.

int compr_src::nsrc

Number of source terms.

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.


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