Skip to content

Commit 38e8cf8

Browse files
ax3lgithub-actions[bot]
authored andcommitted
Update Stub Files
1 parent 05d2bed commit 38e8cf8

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

src/amrex/space1d/amrex_1d_pybind/__init__.pyi

+8-8
Original file line numberDiff line numberDiff line change
@@ -3835,15 +3835,15 @@ class Geometry(CoordSys):
38353835
"""
38363836
the overall size of the domain
38373837
"""
3838-
def ResetDefaultCoord(self) -> None:
3838+
def ResetDefaultCoord(self: int) -> None:
38393839
"""
38403840
Reset default coord of Geometry class with an Array of `int`
38413841
"""
3842-
def ResetDefaultPeriodicity(self) -> None:
3842+
def ResetDefaultPeriodicity(self: list[int[1]]) -> None:
38433843
"""
38443844
Reset default periodicity of Geometry class with an Array of `int`
38453845
"""
3846-
def ResetDefaultProbDomain(self) -> None:
3846+
def ResetDefaultProbDomain(self: RealBox) -> None:
38473847
"""
38483848
Reset default problem domain of Geometry class with a `RealBox`
38493849
"""
@@ -4340,7 +4340,7 @@ class MultiFab(FabArray_FArrayBox):
43404340
@typing.overload
43414341
def abs(self, arg0: int, arg1: int, arg2: int) -> None: ...
43424342
def average_sync(self, arg0: Periodicity) -> None: ...
4343-
def box_array(self) -> BoxArray: ...
4343+
def box_array(self: FabArrayBase) -> BoxArray: ...
43444344
@typing.overload
43454345
def contains_inf(self, arg0: bool) -> bool: ...
43464346
@typing.overload
@@ -4354,7 +4354,7 @@ class MultiFab(FabArray_FArrayBox):
43544354
@typing.overload
43554355
def contains_nan(self, arg0: int, arg1: int, arg2: IntVect, arg3: bool) -> bool: ...
43564356
def divi(self, arg0: MultiFab, arg1: int, arg2: int, arg3: int) -> None: ...
4357-
def dm(self) -> DistributionMapping: ...
4357+
def dm(self: FabArrayBase) -> DistributionMapping: ...
43584358
@typing.overload
43594359
def invert(self, arg0: float, arg1: int) -> None: ...
43604360
@typing.overload
@@ -4404,8 +4404,8 @@ class MultiFab(FabArray_FArrayBox):
44044404
def mult(self, arg0: float, arg1: Box, arg2: int) -> None: ...
44054405
@typing.overload
44064406
def mult(self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int) -> None: ...
4407-
def n_comp(self) -> int: ...
4408-
def n_grow_vect(self) -> IntVect: ...
4407+
def n_comp(self: FabArrayBase) -> int: ...
4408+
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
44094409
@typing.overload
44104410
def negate(self, arg0: int) -> None: ...
44114411
@typing.overload
@@ -8995,7 +8995,7 @@ class RealVect:
89958995
def unit_vector() -> RealVect: ...
89968996
@staticmethod
89978997
def zero_vector() -> RealVect: ...
8998-
def BASISREALV(self) -> RealVect:
8998+
def BASISREALV(self: int) -> RealVect:
89998999
"""
90009000
return basis vector in given coordinate direction
90019001
"""

src/amrex/space2d/amrex_2d_pybind/__init__.pyi

+8-8
Original file line numberDiff line numberDiff line change
@@ -3835,15 +3835,15 @@ class Geometry(CoordSys):
38353835
"""
38363836
the overall size of the domain
38373837
"""
3838-
def ResetDefaultCoord(self) -> None:
3838+
def ResetDefaultCoord(self: int) -> None:
38393839
"""
38403840
Reset default coord of Geometry class with an Array of `int`
38413841
"""
3842-
def ResetDefaultPeriodicity(self) -> None:
3842+
def ResetDefaultPeriodicity(self: list[int[2]]) -> None:
38433843
"""
38443844
Reset default periodicity of Geometry class with an Array of `int`
38453845
"""
3846-
def ResetDefaultProbDomain(self) -> None:
3846+
def ResetDefaultProbDomain(self: RealBox) -> None:
38473847
"""
38483848
Reset default problem domain of Geometry class with a `RealBox`
38493849
"""
@@ -4346,7 +4346,7 @@ class MultiFab(FabArray_FArrayBox):
43464346
@typing.overload
43474347
def abs(self, arg0: int, arg1: int, arg2: int) -> None: ...
43484348
def average_sync(self, arg0: Periodicity) -> None: ...
4349-
def box_array(self) -> BoxArray: ...
4349+
def box_array(self: FabArrayBase) -> BoxArray: ...
43504350
@typing.overload
43514351
def contains_inf(self, arg0: bool) -> bool: ...
43524352
@typing.overload
@@ -4360,7 +4360,7 @@ class MultiFab(FabArray_FArrayBox):
43604360
@typing.overload
43614361
def contains_nan(self, arg0: int, arg1: int, arg2: IntVect, arg3: bool) -> bool: ...
43624362
def divi(self, arg0: MultiFab, arg1: int, arg2: int, arg3: int) -> None: ...
4363-
def dm(self) -> DistributionMapping: ...
4363+
def dm(self: FabArrayBase) -> DistributionMapping: ...
43644364
@typing.overload
43654365
def invert(self, arg0: float, arg1: int) -> None: ...
43664366
@typing.overload
@@ -4410,8 +4410,8 @@ class MultiFab(FabArray_FArrayBox):
44104410
def mult(self, arg0: float, arg1: Box, arg2: int) -> None: ...
44114411
@typing.overload
44124412
def mult(self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int) -> None: ...
4413-
def n_comp(self) -> int: ...
4414-
def n_grow_vect(self) -> IntVect: ...
4413+
def n_comp(self: FabArrayBase) -> int: ...
4414+
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
44154415
@typing.overload
44164416
def negate(self, arg0: int) -> None: ...
44174417
@typing.overload
@@ -9010,7 +9010,7 @@ class RealVect:
90109010
def unit_vector() -> RealVect: ...
90119011
@staticmethod
90129012
def zero_vector() -> RealVect: ...
9013-
def BASISREALV(self) -> RealVect:
9013+
def BASISREALV(self: int) -> RealVect:
90149014
"""
90159015
return basis vector in given coordinate direction
90169016
"""

src/amrex/space3d/amrex_3d_pybind/__init__.pyi

+8-8
Original file line numberDiff line numberDiff line change
@@ -3835,15 +3835,15 @@ class Geometry(CoordSys):
38353835
"""
38363836
the overall size of the domain
38373837
"""
3838-
def ResetDefaultCoord(self) -> None:
3838+
def ResetDefaultCoord(self: int) -> None:
38393839
"""
38403840
Reset default coord of Geometry class with an Array of `int`
38413841
"""
3842-
def ResetDefaultPeriodicity(self) -> None:
3842+
def ResetDefaultPeriodicity(self: list[int[3]]) -> None:
38433843
"""
38443844
Reset default periodicity of Geometry class with an Array of `int`
38453845
"""
3846-
def ResetDefaultProbDomain(self) -> None:
3846+
def ResetDefaultProbDomain(self: RealBox) -> None:
38473847
"""
38483848
Reset default problem domain of Geometry class with a `RealBox`
38493849
"""
@@ -4349,7 +4349,7 @@ class MultiFab(FabArray_FArrayBox):
43494349
@typing.overload
43504350
def abs(self, arg0: int, arg1: int, arg2: int) -> None: ...
43514351
def average_sync(self, arg0: Periodicity) -> None: ...
4352-
def box_array(self) -> BoxArray: ...
4352+
def box_array(self: FabArrayBase) -> BoxArray: ...
43534353
@typing.overload
43544354
def contains_inf(self, arg0: bool) -> bool: ...
43554355
@typing.overload
@@ -4363,7 +4363,7 @@ class MultiFab(FabArray_FArrayBox):
43634363
@typing.overload
43644364
def contains_nan(self, arg0: int, arg1: int, arg2: IntVect, arg3: bool) -> bool: ...
43654365
def divi(self, arg0: MultiFab, arg1: int, arg2: int, arg3: int) -> None: ...
4366-
def dm(self) -> DistributionMapping: ...
4366+
def dm(self: FabArrayBase) -> DistributionMapping: ...
43674367
@typing.overload
43684368
def invert(self, arg0: float, arg1: int) -> None: ...
43694369
@typing.overload
@@ -4413,8 +4413,8 @@ class MultiFab(FabArray_FArrayBox):
44134413
def mult(self, arg0: float, arg1: Box, arg2: int) -> None: ...
44144414
@typing.overload
44154415
def mult(self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int) -> None: ...
4416-
def n_comp(self) -> int: ...
4417-
def n_grow_vect(self) -> IntVect: ...
4416+
def n_comp(self: FabArrayBase) -> int: ...
4417+
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
44184418
@typing.overload
44194419
def negate(self, arg0: int) -> None: ...
44204420
@typing.overload
@@ -9030,7 +9030,7 @@ class RealVect:
90309030
def unit_vector() -> RealVect: ...
90319031
@staticmethod
90329032
def zero_vector() -> RealVect: ...
9033-
def BASISREALV(self) -> RealVect:
9033+
def BASISREALV(self: int) -> RealVect:
90349034
"""
90359035
return basis vector in given coordinate direction
90369036
"""

0 commit comments

Comments
 (0)