Skip to content

Commit

Permalink
Update Stub Files
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored and github-actions[bot] committed Nov 30, 2023
1 parent 05d2bed commit 38e8cf8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions src/amrex/space1d/amrex_1d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3835,15 +3835,15 @@ class Geometry(CoordSys):
"""
the overall size of the domain
"""
def ResetDefaultCoord(self) -> None:
def ResetDefaultCoord(self: int) -> None:
"""
Reset default coord of Geometry class with an Array of `int`
"""
def ResetDefaultPeriodicity(self) -> None:
def ResetDefaultPeriodicity(self: list[int[1]]) -> None:
"""
Reset default periodicity of Geometry class with an Array of `int`
"""
def ResetDefaultProbDomain(self) -> None:
def ResetDefaultProbDomain(self: RealBox) -> None:
"""
Reset default problem domain of Geometry class with a `RealBox`
"""
Expand Down Expand Up @@ -4340,7 +4340,7 @@ class MultiFab(FabArray_FArrayBox):
@typing.overload
def abs(self, arg0: int, arg1: int, arg2: int) -> None: ...
def average_sync(self, arg0: Periodicity) -> None: ...
def box_array(self) -> BoxArray: ...
def box_array(self: FabArrayBase) -> BoxArray: ...
@typing.overload
def contains_inf(self, arg0: bool) -> bool: ...
@typing.overload
Expand All @@ -4354,7 +4354,7 @@ class MultiFab(FabArray_FArrayBox):
@typing.overload
def contains_nan(self, arg0: int, arg1: int, arg2: IntVect, arg3: bool) -> bool: ...
def divi(self, arg0: MultiFab, arg1: int, arg2: int, arg3: int) -> None: ...
def dm(self) -> DistributionMapping: ...
def dm(self: FabArrayBase) -> DistributionMapping: ...
@typing.overload
def invert(self, arg0: float, arg1: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -4404,8 +4404,8 @@ class MultiFab(FabArray_FArrayBox):
def mult(self, arg0: float, arg1: Box, arg2: int) -> None: ...
@typing.overload
def mult(self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int) -> None: ...
def n_comp(self) -> int: ...
def n_grow_vect(self) -> IntVect: ...
def n_comp(self: FabArrayBase) -> int: ...
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
@typing.overload
def negate(self, arg0: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -8995,7 +8995,7 @@ class RealVect:
def unit_vector() -> RealVect: ...
@staticmethod
def zero_vector() -> RealVect: ...
def BASISREALV(self) -> RealVect:
def BASISREALV(self: int) -> RealVect:
"""
return basis vector in given coordinate direction
"""
Expand Down
16 changes: 8 additions & 8 deletions src/amrex/space2d/amrex_2d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3835,15 +3835,15 @@ class Geometry(CoordSys):
"""
the overall size of the domain
"""
def ResetDefaultCoord(self) -> None:
def ResetDefaultCoord(self: int) -> None:
"""
Reset default coord of Geometry class with an Array of `int`
"""
def ResetDefaultPeriodicity(self) -> None:
def ResetDefaultPeriodicity(self: list[int[2]]) -> None:
"""
Reset default periodicity of Geometry class with an Array of `int`
"""
def ResetDefaultProbDomain(self) -> None:
def ResetDefaultProbDomain(self: RealBox) -> None:
"""
Reset default problem domain of Geometry class with a `RealBox`
"""
Expand Down Expand Up @@ -4346,7 +4346,7 @@ class MultiFab(FabArray_FArrayBox):
@typing.overload
def abs(self, arg0: int, arg1: int, arg2: int) -> None: ...
def average_sync(self, arg0: Periodicity) -> None: ...
def box_array(self) -> BoxArray: ...
def box_array(self: FabArrayBase) -> BoxArray: ...
@typing.overload
def contains_inf(self, arg0: bool) -> bool: ...
@typing.overload
Expand All @@ -4360,7 +4360,7 @@ class MultiFab(FabArray_FArrayBox):
@typing.overload
def contains_nan(self, arg0: int, arg1: int, arg2: IntVect, arg3: bool) -> bool: ...
def divi(self, arg0: MultiFab, arg1: int, arg2: int, arg3: int) -> None: ...
def dm(self) -> DistributionMapping: ...
def dm(self: FabArrayBase) -> DistributionMapping: ...
@typing.overload
def invert(self, arg0: float, arg1: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -4410,8 +4410,8 @@ class MultiFab(FabArray_FArrayBox):
def mult(self, arg0: float, arg1: Box, arg2: int) -> None: ...
@typing.overload
def mult(self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int) -> None: ...
def n_comp(self) -> int: ...
def n_grow_vect(self) -> IntVect: ...
def n_comp(self: FabArrayBase) -> int: ...
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
@typing.overload
def negate(self, arg0: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -9010,7 +9010,7 @@ class RealVect:
def unit_vector() -> RealVect: ...
@staticmethod
def zero_vector() -> RealVect: ...
def BASISREALV(self) -> RealVect:
def BASISREALV(self: int) -> RealVect:
"""
return basis vector in given coordinate direction
"""
Expand Down
16 changes: 8 additions & 8 deletions src/amrex/space3d/amrex_3d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3835,15 +3835,15 @@ class Geometry(CoordSys):
"""
the overall size of the domain
"""
def ResetDefaultCoord(self) -> None:
def ResetDefaultCoord(self: int) -> None:
"""
Reset default coord of Geometry class with an Array of `int`
"""
def ResetDefaultPeriodicity(self) -> None:
def ResetDefaultPeriodicity(self: list[int[3]]) -> None:
"""
Reset default periodicity of Geometry class with an Array of `int`
"""
def ResetDefaultProbDomain(self) -> None:
def ResetDefaultProbDomain(self: RealBox) -> None:
"""
Reset default problem domain of Geometry class with a `RealBox`
"""
Expand Down Expand Up @@ -4349,7 +4349,7 @@ class MultiFab(FabArray_FArrayBox):
@typing.overload
def abs(self, arg0: int, arg1: int, arg2: int) -> None: ...
def average_sync(self, arg0: Periodicity) -> None: ...
def box_array(self) -> BoxArray: ...
def box_array(self: FabArrayBase) -> BoxArray: ...
@typing.overload
def contains_inf(self, arg0: bool) -> bool: ...
@typing.overload
Expand All @@ -4363,7 +4363,7 @@ class MultiFab(FabArray_FArrayBox):
@typing.overload
def contains_nan(self, arg0: int, arg1: int, arg2: IntVect, arg3: bool) -> bool: ...
def divi(self, arg0: MultiFab, arg1: int, arg2: int, arg3: int) -> None: ...
def dm(self) -> DistributionMapping: ...
def dm(self: FabArrayBase) -> DistributionMapping: ...
@typing.overload
def invert(self, arg0: float, arg1: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -4413,8 +4413,8 @@ class MultiFab(FabArray_FArrayBox):
def mult(self, arg0: float, arg1: Box, arg2: int) -> None: ...
@typing.overload
def mult(self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int) -> None: ...
def n_comp(self) -> int: ...
def n_grow_vect(self) -> IntVect: ...
def n_comp(self: FabArrayBase) -> int: ...
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
@typing.overload
def negate(self, arg0: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -9030,7 +9030,7 @@ class RealVect:
def unit_vector() -> RealVect: ...
@staticmethod
def zero_vector() -> RealVect: ...
def BASISREALV(self) -> RealVect:
def BASISREALV(self: int) -> RealVect:
"""
return basis vector in given coordinate direction
"""
Expand Down

0 comments on commit 38e8cf8

Please sign in to comment.