mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Correct array sizes in struct CompletionData.
This commit is contained in:
parent
b744285b9a
commit
755bc5ecb5
@ -92,13 +92,17 @@ struct Wells
|
||||
|
||||
|
||||
/** Struct encapsulating dynamic information about all wells in a scenario.
|
||||
* All arrays in this struct contain data for each perforation, ordered
|
||||
* the same as Wells::well_cells and Wells:WI. Letting NP be the number
|
||||
* of perforations, the array sizes are:
|
||||
* gpot 3*NP
|
||||
* A 9*NP (matrix in Fortran order).
|
||||
* phasemob 3*NP
|
||||
* \TODO: Verify that the sizes are correct, check if we should refactor to handle two phases better.
|
||||
* All arrays in this struct contain data for each perforation,
|
||||
* ordered the same as Wells::well_cells and Wells:WI. The array
|
||||
* sizes are, respectively,
|
||||
*
|
||||
* gpot n*NP
|
||||
* A n²*NP (matrix in row-major (i.e., Fortran) order).
|
||||
* phasemob n*NP
|
||||
*
|
||||
* in which "n" denotes the number of active fluid phases (and
|
||||
* constituent components) and "NP" is the total number of
|
||||
* perforations, <CODE>well_connpos[ number_of_wells ]</CODE>.
|
||||
*/
|
||||
struct CompletionData
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user