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 Dec 6, 2023
1 parent ad4ddbe commit 2b8f2a4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 18 deletions.
17 changes: 11 additions & 6 deletions src/amrex/space1d/amrex_1d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ class AmrInfo:
def ref_ratio(self, arg0: int) -> IntVect: ...

class AmrMesh:
def Verbose(self) -> int: ...
@typing.overload
def __init__(self) -> None: ...
@typing.overload
Expand All @@ -299,12 +298,16 @@ class AmrMesh:
is_per: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)],
) -> None: ...
def __repr__(self) -> str: ...
def finest_level(self) -> int: ...
def max_level(self) -> int: ...
@typing.overload
def ref_ratio(self) -> Vector_IntVect: ...
@typing.overload
def ref_ratio(self, arg0: int) -> IntVect: ...
@property
def finest_level(self) -> int: ...
@property
def max_level(self) -> int: ...
@property
def verbose(self) -> int: ...

class Arena:
pass
Expand Down Expand Up @@ -3982,7 +3985,7 @@ class FabArrayBase:
@property
def nComp(self) -> int: ...
@property
def nGrowVect(self) -> IntVect: ...
def n_grow_vect(self) -> IntVect: ...
@property
def num_comp(self) -> int: ...
@property
Expand Down Expand Up @@ -4708,8 +4711,6 @@ 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: FabArrayBase) -> int: ...
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
@typing.overload
def negate(self, arg0: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -4824,6 +4825,10 @@ class MultiFab(FabArray_FArrayBox):
"""
def weighted_sync(self, arg0: MultiFab, arg1: Periodicity) -> None: ...
@property
def n_comp(self) -> int: ...
@property
def n_grow_vect(self) -> IntVect: ...

class PIdx:
class IntValues:
Expand Down
17 changes: 11 additions & 6 deletions src/amrex/space2d/amrex_2d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ class AmrInfo:
def ref_ratio(self, arg0: int) -> IntVect: ...

class AmrMesh:
def Verbose(self) -> int: ...
@typing.overload
def __init__(self) -> None: ...
@typing.overload
Expand All @@ -299,12 +298,16 @@ class AmrMesh:
is_per: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(2)],
) -> None: ...
def __repr__(self) -> str: ...
def finest_level(self) -> int: ...
def max_level(self) -> int: ...
@typing.overload
def ref_ratio(self) -> Vector_IntVect: ...
@typing.overload
def ref_ratio(self, arg0: int) -> IntVect: ...
@property
def finest_level(self) -> int: ...
@property
def max_level(self) -> int: ...
@property
def verbose(self) -> int: ...

class Arena:
pass
Expand Down Expand Up @@ -3982,7 +3985,7 @@ class FabArrayBase:
@property
def nComp(self) -> int: ...
@property
def nGrowVect(self) -> IntVect: ...
def n_grow_vect(self) -> IntVect: ...
@property
def num_comp(self) -> int: ...
@property
Expand Down Expand Up @@ -4714,8 +4717,6 @@ 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: FabArrayBase) -> int: ...
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
@typing.overload
def negate(self, arg0: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -4830,6 +4831,10 @@ class MultiFab(FabArray_FArrayBox):
"""
def weighted_sync(self, arg0: MultiFab, arg1: Periodicity) -> None: ...
@property
def n_comp(self) -> int: ...
@property
def n_grow_vect(self) -> IntVect: ...

class PIdx:
class IntValues:
Expand Down
17 changes: 11 additions & 6 deletions src/amrex/space3d/amrex_3d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ class AmrInfo:
def ref_ratio(self, arg0: int) -> IntVect: ...

class AmrMesh:
def Verbose(self) -> int: ...
@typing.overload
def __init__(self) -> None: ...
@typing.overload
Expand All @@ -299,12 +298,16 @@ class AmrMesh:
is_per: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(3)],
) -> None: ...
def __repr__(self) -> str: ...
def finest_level(self) -> int: ...
def max_level(self) -> int: ...
@typing.overload
def ref_ratio(self) -> Vector_IntVect: ...
@typing.overload
def ref_ratio(self, arg0: int) -> IntVect: ...
@property
def finest_level(self) -> int: ...
@property
def max_level(self) -> int: ...
@property
def verbose(self) -> int: ...

class Arena:
pass
Expand Down Expand Up @@ -3982,7 +3985,7 @@ class FabArrayBase:
@property
def nComp(self) -> int: ...
@property
def nGrowVect(self) -> IntVect: ...
def n_grow_vect(self) -> IntVect: ...
@property
def num_comp(self) -> int: ...
@property
Expand Down Expand Up @@ -4717,8 +4720,6 @@ 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: FabArrayBase) -> int: ...
def n_grow_vect(self: FabArrayBase) -> IntVect: ...
@typing.overload
def negate(self, arg0: int) -> None: ...
@typing.overload
Expand Down Expand Up @@ -4833,6 +4834,10 @@ class MultiFab(FabArray_FArrayBox):
"""
def weighted_sync(self, arg0: MultiFab, arg1: Periodicity) -> None: ...
@property
def n_comp(self) -> int: ...
@property
def n_grow_vect(self) -> IntVect: ...

class PIdx:
class IntValues:
Expand Down

0 comments on commit 2b8f2a4

Please sign in to comment.