Skip to content

Commit 337623f

Browse files
EvenSolgithub-actions[bot]
authored andcommitted
chore: regenerate Java stubs
1 parent 262e9a5 commit 337623f

302 files changed

Lines changed: 15215 additions & 23673 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/jneqsim-stubs/jneqsim-stubs/__init__.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import sys
21

2+
import sys
33
if sys.version_info >= (3, 8):
44
from typing import Protocol
55
else:
@@ -10,6 +10,7 @@ import jneqsim.blackoil
1010
import jneqsim.chemicalreactions
1111
import jneqsim.datapresentation
1212
import jneqsim.fluidmechanics
13+
import jneqsim.integration
1314
import jneqsim.mathlib
1415
import jneqsim.physicalproperties
1516
import jneqsim.process
@@ -21,6 +22,7 @@ import jneqsim.thermodynamicoperations
2122
import jneqsim.util
2223
import typing
2324

25+
2426
class __module_protocol__(Protocol):
2527
# A module protocol which reflects the result of ``jp.JPackage("neqsim")``.
2628

@@ -29,6 +31,7 @@ class __module_protocol__(Protocol):
2931
chemicalreactions: jneqsim.chemicalreactions.__module_protocol__
3032
datapresentation: jneqsim.datapresentation.__module_protocol__
3133
fluidmechanics: jneqsim.fluidmechanics.__module_protocol__
34+
integration: jneqsim.integration.__module_protocol__
3235
mathlib: jneqsim.mathlib.__module_protocol__
3336
physicalproperties: jneqsim.physicalproperties.__module_protocol__
3437
process: jneqsim.process.__module_protocol__

src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import sys
21

2+
import sys
33
if sys.version_info >= (3, 8):
44
from typing import Protocol
55
else:
@@ -8,6 +8,7 @@ else:
88
import jneqsim.api.ioc
99
import typing
1010

11+
1112
class __module_protocol__(Protocol):
1213
# A module protocol which reflects the result of ``jp.JPackage("jneqsim.api")``.
1314

src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import sys
21

2+
import sys
33
if sys.version_info >= (3, 8):
44
from typing import Protocol
55
else:
@@ -9,19 +9,16 @@ import java.lang
99
import jpype
1010
import typing
1111

12+
13+
1214
class CalculationResult:
1315
fluidProperties: typing.MutableSequence[typing.MutableSequence[float]] = ...
1416
calculationError: typing.MutableSequence[java.lang.String] = ...
15-
def __init__(
16-
self,
17-
doubleArray: typing.Union[
18-
typing.List[typing.MutableSequence[float]], jpype.JArray
19-
],
20-
stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray],
21-
): ...
17+
def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ...
2218
def equals(self, object: typing.Any) -> bool: ...
2319
def hashCode(self) -> int: ...
2420

21+
2522
class __module_protocol__(Protocol):
2623
# A module protocol which reflects the result of ``jp.JPackage("jneqsim.api.ioc")``.
2724

src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi

Lines changed: 13 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import sys
21

2+
import sys
33
if sys.version_info >= (3, 8):
44
from typing import Protocol
55
else:
@@ -11,42 +11,24 @@ import jneqsim.blackoil.io
1111
import jneqsim.thermo.system
1212
import typing
1313

14+
15+
1416
class BlackOilConverter:
1517
def __init__(self): ...
1618
@staticmethod
17-
def convert(
18-
systemInterface: jneqsim.thermo.system.SystemInterface,
19-
double: float,
20-
doubleArray: typing.Union[typing.List[float], jpype.JArray],
21-
double3: float,
22-
double4: float,
23-
) -> "BlackOilConverter.Result": ...
24-
19+
def convert(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float) -> 'BlackOilConverter.Result': ...
2520
class Result:
26-
pvt: "BlackOilPVTTable" = ...
27-
blackOilSystem: "SystemBlackOil" = ...
21+
pvt: 'BlackOilPVTTable' = ...
22+
blackOilSystem: 'SystemBlackOil' = ...
2823
rho_o_sc: float = ...
2924
rho_g_sc: float = ...
3025
rho_w_sc: float = ...
3126
bubblePoint: float = ...
3227
def __init__(self): ...
3328

3429
class BlackOilFlash:
35-
def __init__(
36-
self,
37-
blackOilPVTTable: "BlackOilPVTTable",
38-
double: float,
39-
double2: float,
40-
double3: float,
41-
): ...
42-
def flash(
43-
self,
44-
double: float,
45-
double2: float,
46-
double3: float,
47-
double4: float,
48-
double5: float,
49-
) -> "BlackOilFlashResult": ...
30+
def __init__(self, blackOilPVTTable: 'BlackOilPVTTable', double: float, double2: float, double3: float): ...
31+
def flash(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'BlackOilFlashResult': ...
5032

5133
class BlackOilFlashResult:
5234
O_std: float = ...
@@ -69,9 +51,7 @@ class BlackOilFlashResult:
6951
def __init__(self): ...
7052

7153
class BlackOilPVTTable:
72-
def __init__(
73-
self, list: java.util.List["BlackOilPVTTable.Record"], double: float
74-
): ...
54+
def __init__(self, list: java.util.List['BlackOilPVTTable.Record'], double: float): ...
7555
def Bg(self, double: float) -> float: ...
7656
def Bo(self, double: float) -> float: ...
7757
def Bw(self, double: float) -> float: ...
@@ -82,7 +62,6 @@ class BlackOilPVTTable:
8262
def mu_g(self, double: float) -> float: ...
8363
def mu_o(self, double: float) -> float: ...
8464
def mu_w(self, double: float) -> float: ...
85-
8665
class Record:
8766
p: float = ...
8867
Rs: float = ...
@@ -93,28 +72,11 @@ class BlackOilPVTTable:
9372
Rv: float = ...
9473
Bw: float = ...
9574
mu_w: float = ...
96-
def __init__(
97-
self,
98-
double: float,
99-
double2: float,
100-
double3: float,
101-
double4: float,
102-
double5: float,
103-
double6: float,
104-
double7: float,
105-
double8: float,
106-
double9: float,
107-
): ...
75+
def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ...
10876

10977
class SystemBlackOil:
110-
def __init__(
111-
self,
112-
blackOilPVTTable: BlackOilPVTTable,
113-
double: float,
114-
double2: float,
115-
double3: float,
116-
): ...
117-
def copyShallow(self) -> "SystemBlackOil": ...
78+
def __init__(self, blackOilPVTTable: BlackOilPVTTable, double: float, double2: float, double3: float): ...
79+
def copyShallow(self) -> 'SystemBlackOil': ...
11880
def flash(self) -> BlackOilFlashResult: ...
11981
def getBg(self) -> float: ...
12082
def getBo(self) -> float: ...
@@ -139,6 +101,7 @@ class SystemBlackOil:
139101
def setStdTotals(self, double: float, double2: float, double3: float) -> None: ...
140102
def setTemperature(self, double: float) -> None: ...
141103

104+
142105
class __module_protocol__(Protocol):
143106
# A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil")``.
144107

Lines changed: 135 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import sys
21

2+
import sys
33
if sys.version_info >= (3, 8):
44
from typing import Protocol
55
else:
@@ -9,19 +9,86 @@ import java.io
99
import java.lang
1010
import java.nio.file
1111
import java.util
12+
import jpype
1213
import jpype.protocol
1314
import jneqsim.blackoil
15+
import jneqsim.thermo.system
1416
import typing
1517

18+
19+
20+
class CMGEOSExporter:
21+
@typing.overload
22+
@staticmethod
23+
def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ...
24+
@typing.overload
25+
@staticmethod
26+
def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'CMGEOSExporter.ExportConfig') -> None: ...
27+
@typing.overload
28+
@staticmethod
29+
def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ...
30+
@typing.overload
31+
@staticmethod
32+
def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'CMGEOSExporter.ExportConfig') -> None: ...
33+
@typing.overload
34+
@staticmethod
35+
def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], simulator: 'CMGEOSExporter.Simulator') -> None: ...
36+
@typing.overload
37+
def toString(self) -> java.lang.String: ...
38+
@typing.overload
39+
@staticmethod
40+
def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float) -> java.lang.String: ...
41+
@typing.overload
42+
@staticmethod
43+
def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, exportConfig: 'CMGEOSExporter.ExportConfig') -> java.lang.String: ...
44+
@typing.overload
45+
@staticmethod
46+
def toString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ...
47+
@typing.overload
48+
@staticmethod
49+
def toString(systemInterface: jneqsim.thermo.system.SystemInterface, exportConfig: 'CMGEOSExporter.ExportConfig') -> java.lang.String: ...
50+
class ExportConfig:
51+
def __init__(self): ...
52+
def setComment(self, string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.ExportConfig': ...
53+
def setIncludeHeader(self, boolean: bool) -> 'CMGEOSExporter.ExportConfig': ...
54+
def setModelName(self, string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.ExportConfig': ...
55+
def setPressureGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CMGEOSExporter.ExportConfig': ...
56+
def setReferenceTemperature(self, double: float) -> 'CMGEOSExporter.ExportConfig': ...
57+
def setSimulator(self, simulator: 'CMGEOSExporter.Simulator') -> 'CMGEOSExporter.ExportConfig': ...
58+
def setStandardConditions(self, double: float, double2: float) -> 'CMGEOSExporter.ExportConfig': ...
59+
def setUnits(self, units: 'CMGEOSExporter.Units') -> 'CMGEOSExporter.ExportConfig': ...
60+
class Simulator(java.lang.Enum['CMGEOSExporter.Simulator']):
61+
IMEX: typing.ClassVar['CMGEOSExporter.Simulator'] = ...
62+
GEM: typing.ClassVar['CMGEOSExporter.Simulator'] = ...
63+
STARS: typing.ClassVar['CMGEOSExporter.Simulator'] = ...
64+
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
65+
@typing.overload
66+
@staticmethod
67+
def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ...
68+
@typing.overload
69+
@staticmethod
70+
def valueOf(string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.Simulator': ...
71+
@staticmethod
72+
def values() -> typing.MutableSequence['CMGEOSExporter.Simulator']: ...
73+
class Units(java.lang.Enum['CMGEOSExporter.Units']):
74+
SI: typing.ClassVar['CMGEOSExporter.Units'] = ...
75+
FIELD: typing.ClassVar['CMGEOSExporter.Units'] = ...
76+
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
77+
@typing.overload
78+
@staticmethod
79+
def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ...
80+
@typing.overload
81+
@staticmethod
82+
def valueOf(string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.Units': ...
83+
@staticmethod
84+
def values() -> typing.MutableSequence['CMGEOSExporter.Units']: ...
85+
1686
class EclipseBlackOilImporter:
1787
def __init__(self): ...
1888
@staticmethod
19-
def fromFile(
20-
path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]
21-
) -> "EclipseBlackOilImporter.Result": ...
89+
def fromFile(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'EclipseBlackOilImporter.Result': ...
2290
@staticmethod
23-
def fromReader(reader: java.io.Reader) -> "EclipseBlackOilImporter.Result": ...
24-
91+
def fromReader(reader: java.io.Reader) -> 'EclipseBlackOilImporter.Result': ...
2592
class Result:
2693
pvt: jneqsim.blackoil.BlackOilPVTTable = ...
2794
system: jneqsim.blackoil.SystemBlackOil = ...
@@ -31,27 +98,76 @@ class EclipseBlackOilImporter:
3198
bubblePoint: float = ...
3299
log: java.util.List = ...
33100
def __init__(self): ...
101+
class Units(java.lang.Enum['EclipseBlackOilImporter.Units']):
102+
METRIC: typing.ClassVar['EclipseBlackOilImporter.Units'] = ...
103+
FIELD: typing.ClassVar['EclipseBlackOilImporter.Units'] = ...
104+
LAB: typing.ClassVar['EclipseBlackOilImporter.Units'] = ...
105+
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
106+
@typing.overload
107+
@staticmethod
108+
def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ...
109+
@typing.overload
110+
@staticmethod
111+
def valueOf(string: typing.Union[java.lang.String, str]) -> 'EclipseBlackOilImporter.Units': ...
112+
@staticmethod
113+
def values() -> typing.MutableSequence['EclipseBlackOilImporter.Units']: ...
34114

35-
class Units(java.lang.Enum["EclipseBlackOilImporter.Units"]):
36-
METRIC: typing.ClassVar["EclipseBlackOilImporter.Units"] = ...
37-
FIELD: typing.ClassVar["EclipseBlackOilImporter.Units"] = ...
38-
LAB: typing.ClassVar["EclipseBlackOilImporter.Units"] = ...
39-
_valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # <T>
115+
class EclipseEOSExporter:
116+
@typing.overload
117+
@staticmethod
118+
def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ...
119+
@typing.overload
120+
@staticmethod
121+
def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'EclipseEOSExporter.ExportConfig') -> None: ...
122+
@typing.overload
123+
@staticmethod
124+
def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ...
125+
@typing.overload
126+
@staticmethod
127+
def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'EclipseEOSExporter.ExportConfig') -> None: ...
128+
@typing.overload
129+
def toString(self) -> java.lang.String: ...
130+
@typing.overload
131+
@staticmethod
132+
def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float) -> java.lang.String: ...
133+
@typing.overload
134+
@staticmethod
135+
def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, exportConfig: 'EclipseEOSExporter.ExportConfig') -> java.lang.String: ...
136+
@typing.overload
137+
@staticmethod
138+
def toString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ...
139+
@typing.overload
140+
@staticmethod
141+
def toString(systemInterface: jneqsim.thermo.system.SystemInterface, exportConfig: 'EclipseEOSExporter.ExportConfig') -> java.lang.String: ...
142+
class ExportConfig:
143+
def __init__(self): ...
144+
def setComment(self, string: typing.Union[java.lang.String, str]) -> 'EclipseEOSExporter.ExportConfig': ...
145+
def setIncludeDensity(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ...
146+
def setIncludeHeader(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ...
147+
def setIncludePVTG(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ...
148+
def setIncludePVTO(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ...
149+
def setIncludePVTW(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ...
150+
def setPressureGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'EclipseEOSExporter.ExportConfig': ...
151+
def setReferenceTemperature(self, double: float) -> 'EclipseEOSExporter.ExportConfig': ...
152+
def setStandardConditions(self, double: float, double2: float) -> 'EclipseEOSExporter.ExportConfig': ...
153+
def setUnits(self, units: 'EclipseEOSExporter.Units') -> 'EclipseEOSExporter.ExportConfig': ...
154+
class Units(java.lang.Enum['EclipseEOSExporter.Units']):
155+
METRIC: typing.ClassVar['EclipseEOSExporter.Units'] = ...
156+
FIELD: typing.ClassVar['EclipseEOSExporter.Units'] = ...
157+
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
40158
@typing.overload
41159
@staticmethod
42-
def valueOf(
43-
class_: typing.Type[_valueOf_0__T],
44-
string: typing.Union[java.lang.String, str],
45-
) -> _valueOf_0__T: ...
160+
def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ...
46161
@typing.overload
47162
@staticmethod
48-
def valueOf(
49-
string: typing.Union[java.lang.String, str]
50-
) -> "EclipseBlackOilImporter.Units": ...
163+
def valueOf(string: typing.Union[java.lang.String, str]) -> 'EclipseEOSExporter.Units': ...
51164
@staticmethod
52-
def values() -> typing.MutableSequence["EclipseBlackOilImporter.Units"]: ...
165+
def values() -> typing.MutableSequence['EclipseEOSExporter.Units']: ...
166+
53167

54168
class __module_protocol__(Protocol):
55169
# A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil.io")``.
56170

171+
CMGEOSExporter: typing.Type[CMGEOSExporter]
57172
EclipseBlackOilImporter: typing.Type[EclipseBlackOilImporter]
173+
EclipseEOSExporter: typing.Type[EclipseEOSExporter]

0 commit comments

Comments
 (0)