Correct array sizes in struct CompletionData.
This commit is contained in:
parent
d0d45e0cca
commit
165c430844
@ -92,13 +92,17 @@ struct Wells
|
|||||||
|
|
||||||
|
|
||||||
/** Struct encapsulating dynamic information about all wells in a scenario.
|
/** Struct encapsulating dynamic information about all wells in a scenario.
|
||||||
* All arrays in this struct contain data for each perforation, ordered
|
* All arrays in this struct contain data for each perforation,
|
||||||
* the same as Wells::well_cells and Wells:WI. Letting NP be the number
|
* ordered the same as Wells::well_cells and Wells:WI. The array
|
||||||
* of perforations, the array sizes are:
|
* sizes are, respectively,
|
||||||
* gpot 3*NP
|
*
|
||||||
* A 9*NP (matrix in Fortran order).
|
* gpot n*NP
|
||||||
* phasemob 3*NP
|
* A n²*NP (matrix in row-major (i.e., Fortran) order).
|
||||||
* \TODO: Verify that the sizes are correct, check if we should refactor to handle two phases better.
|
* 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
|
struct CompletionData
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user