Skip to content

Commit e310bff

Browse files
EZonigithub-actions[bot]
authored andcommitted
Update Stub Files
1 parent 76eaae4 commit e310bff

File tree

6 files changed

+81
-9
lines changed

6 files changed

+81
-9
lines changed

src/amrex/space1d/__init__.pyi

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,15 @@ from amrex.space1d.amrex_1d_pybind import (
294294
initialize,
295295
initialize_when_MPMD,
296296
initialized,
297+
is_valid,
297298
lbound,
298299
length,
300+
make_invalid,
301+
make_valid,
299302
max,
300303
min,
304+
pack_cpus,
305+
pack_ids,
301306
refine,
302307
size,
303308
ubound,
@@ -558,11 +563,16 @@ __all__ = [
558563
"initialize",
559564
"initialize_when_MPMD",
560565
"initialized",
566+
"is_valid",
561567
"lbound",
562568
"length",
569+
"make_invalid",
570+
"make_valid",
563571
"max",
564572
"min",
565573
"os",
574+
"pack_cpus",
575+
"pack_ids",
566576
"refine",
567577
"register_AoS_extension",
568578
"register_Array4_extension",
@@ -590,4 +600,4 @@ def d_decl(x, y, z):
590600

591601
__author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
592602
__license__: str = "BSD-3-Clause-LBNL"
593-
__version__: str = "25.04"
603+
__version__: str = "25.05-4-g793ea9f71759"

src/amrex/space1d/amrex_1d_pybind/__init__.pyi

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,15 @@ __all__ = [
293293
"initialize",
294294
"initialize_when_MPMD",
295295
"initialized",
296+
"is_valid",
296297
"lbound",
297298
"length",
299+
"make_invalid",
300+
"make_valid",
298301
"max",
299302
"min",
303+
"pack_cpus",
304+
"pack_ids",
300305
"refine",
301306
"size",
302307
"ubound",
@@ -4993,7 +4998,7 @@ class BoxArray:
49934998
def size(self) -> int: ...
49944999

49955000
class Config:
4996-
amrex_version: typing.ClassVar[str] = "25.04"
5001+
amrex_version: typing.ClassVar[str] = "25.05-4-g793ea9f71759"
49975002
gpu_backend = None
49985003
have_eb: typing.ClassVar[bool] = False
49995004
have_gpu: typing.ClassVar[bool] = False
@@ -20520,6 +20525,7 @@ def initialized() -> bool:
2052020525
Returns true if there are any currently-active and initialized AMReX instances (i.e. one for which amrex::Initialize has been called, and amrex::Finalize has not). Otherwise false.
2052120526
"""
2052220527

20528+
def is_valid(arg0: int) -> bool: ...
2052320529
@typing.overload
2052420530
def lbound(arg0: Box) -> Dim3: ...
2052520531
@typing.overload
@@ -20628,8 +20634,16 @@ def length(arg0: Array4_uint_const) -> Dim3: ...
2062820634
def length(arg0: Array4_ulong_const) -> Dim3: ...
2062920635
@typing.overload
2063020636
def length(arg0: Array4_ulonglong_const) -> Dim3: ...
20637+
def make_invalid(arg0: int) -> int: ...
20638+
def make_valid(arg0: int) -> int: ...
2063120639
def max(arg0: RealVect, arg1: RealVect) -> RealVect: ...
2063220640
def min(arg0: RealVect, arg1: RealVect) -> RealVect: ...
20641+
def pack_cpus(
20642+
arg0: numpy.ndarray[numpy.uint64], arg1: numpy.ndarray[numpy.int32]
20643+
) -> typing.Any: ...
20644+
def pack_ids(
20645+
arg0: numpy.ndarray[numpy.uint64], arg1: numpy.ndarray[numpy.int64]
20646+
) -> typing.Any: ...
2063320647
@typing.overload
2063420648
def refine(arg0: Dim3, arg1: IntVect1D) -> Dim3: ...
2063520649
@typing.overload
@@ -20715,5 +20729,5 @@ def write_single_level_plotfile(
2071520729

2071620730
__author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
2071720731
__license__: str = "BSD-3-Clause-LBNL"
20718-
__version__: str = "25.04"
20732+
__version__: str = "25.05-4-g793ea9f71759"
2071920733
IntVect = IntVect1D

src/amrex/space2d/__init__.pyi

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,15 @@ from amrex.space2d.amrex_2d_pybind import (
318318
initialize,
319319
initialize_when_MPMD,
320320
initialized,
321+
is_valid,
321322
lbound,
322323
length,
324+
make_invalid,
325+
make_valid,
323326
max,
324327
min,
328+
pack_cpus,
329+
pack_ids,
325330
refine,
326331
size,
327332
ubound,
@@ -606,11 +611,16 @@ __all__ = [
606611
"initialize",
607612
"initialize_when_MPMD",
608613
"initialized",
614+
"is_valid",
609615
"lbound",
610616
"length",
617+
"make_invalid",
618+
"make_valid",
611619
"max",
612620
"min",
613621
"os",
622+
"pack_cpus",
623+
"pack_ids",
614624
"refine",
615625
"register_AoS_extension",
616626
"register_Array4_extension",
@@ -638,4 +648,4 @@ def d_decl(x, y, z):
638648

639649
__author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
640650
__license__: str = "BSD-3-Clause-LBNL"
641-
__version__: str = "25.04"
651+
__version__: str = "25.05-4-g793ea9f71759"

src/amrex/space2d/amrex_2d_pybind/__init__.pyi

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,15 @@ __all__ = [
317317
"initialize",
318318
"initialize_when_MPMD",
319319
"initialized",
320+
"is_valid",
320321
"lbound",
321322
"length",
323+
"make_invalid",
324+
"make_valid",
322325
"max",
323326
"min",
327+
"pack_cpus",
328+
"pack_ids",
324329
"refine",
325330
"size",
326331
"ubound",
@@ -5017,7 +5022,7 @@ class BoxArray:
50175022
def size(self) -> int: ...
50185023

50195024
class Config:
5020-
amrex_version: typing.ClassVar[str] = "25.04"
5025+
amrex_version: typing.ClassVar[str] = "25.05-4-g793ea9f71759"
50215026
gpu_backend = None
50225027
have_eb: typing.ClassVar[bool] = True
50235028
have_gpu: typing.ClassVar[bool] = False
@@ -22317,6 +22322,7 @@ def initialized() -> bool:
2231722322
Returns true if there are any currently-active and initialized AMReX instances (i.e. one for which amrex::Initialize has been called, and amrex::Finalize has not). Otherwise false.
2231822323
"""
2231922324

22325+
def is_valid(arg0: int) -> bool: ...
2232022326
@typing.overload
2232122327
def lbound(arg0: Box) -> Dim3: ...
2232222328
@typing.overload
@@ -22425,8 +22431,16 @@ def length(arg0: Array4_uint_const) -> Dim3: ...
2242522431
def length(arg0: Array4_ulong_const) -> Dim3: ...
2242622432
@typing.overload
2242722433
def length(arg0: Array4_ulonglong_const) -> Dim3: ...
22434+
def make_invalid(arg0: int) -> int: ...
22435+
def make_valid(arg0: int) -> int: ...
2242822436
def max(arg0: RealVect, arg1: RealVect) -> RealVect: ...
2242922437
def min(arg0: RealVect, arg1: RealVect) -> RealVect: ...
22438+
def pack_cpus(
22439+
arg0: numpy.ndarray[numpy.uint64], arg1: numpy.ndarray[numpy.int32]
22440+
) -> typing.Any: ...
22441+
def pack_ids(
22442+
arg0: numpy.ndarray[numpy.uint64], arg1: numpy.ndarray[numpy.int64]
22443+
) -> typing.Any: ...
2243022444
@typing.overload
2243122445
def refine(arg0: Dim3, arg1: IntVect1D) -> Dim3: ...
2243222446
@typing.overload
@@ -22512,5 +22526,5 @@ def write_single_level_plotfile(
2251222526

2251322527
__author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
2251422528
__license__: str = "BSD-3-Clause-LBNL"
22515-
__version__: str = "25.04"
22529+
__version__: str = "25.05-4-g793ea9f71759"
2251622530
IntVect = IntVect2D

src/amrex/space3d/__init__.pyi

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,15 @@ from amrex.space3d.amrex_3d_pybind import (
294294
initialize,
295295
initialize_when_MPMD,
296296
initialized,
297+
is_valid,
297298
lbound,
298299
length,
300+
make_invalid,
301+
make_valid,
299302
max,
300303
min,
304+
pack_cpus,
305+
pack_ids,
301306
refine,
302307
size,
303308
ubound,
@@ -558,11 +563,16 @@ __all__ = [
558563
"initialize",
559564
"initialize_when_MPMD",
560565
"initialized",
566+
"is_valid",
561567
"lbound",
562568
"length",
569+
"make_invalid",
570+
"make_valid",
563571
"max",
564572
"min",
565573
"os",
574+
"pack_cpus",
575+
"pack_ids",
566576
"refine",
567577
"register_AoS_extension",
568578
"register_Array4_extension",
@@ -590,4 +600,4 @@ def d_decl(x, y, z):
590600

591601
__author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
592602
__license__: str = "BSD-3-Clause-LBNL"
593-
__version__: str = "25.04"
603+
__version__: str = "25.05-4-g793ea9f71759"

src/amrex/space3d/amrex_3d_pybind/__init__.pyi

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,15 @@ __all__ = [
293293
"initialize",
294294
"initialize_when_MPMD",
295295
"initialized",
296+
"is_valid",
296297
"lbound",
297298
"length",
299+
"make_invalid",
300+
"make_valid",
298301
"max",
299302
"min",
303+
"pack_cpus",
304+
"pack_ids",
300305
"refine",
301306
"size",
302307
"ubound",
@@ -4993,7 +4998,7 @@ class BoxArray:
49934998
def size(self) -> int: ...
49944999

49955000
class Config:
4996-
amrex_version: typing.ClassVar[str] = "25.04"
5001+
amrex_version: typing.ClassVar[str] = "25.05-4-g793ea9f71759"
49975002
gpu_backend = None
49985003
have_eb: typing.ClassVar[bool] = True
49995004
have_gpu: typing.ClassVar[bool] = False
@@ -20553,6 +20558,7 @@ def initialized() -> bool:
2055320558
Returns true if there are any currently-active and initialized AMReX instances (i.e. one for which amrex::Initialize has been called, and amrex::Finalize has not). Otherwise false.
2055420559
"""
2055520560

20561+
def is_valid(arg0: int) -> bool: ...
2055620562
@typing.overload
2055720563
def lbound(arg0: Box) -> Dim3: ...
2055820564
@typing.overload
@@ -20661,8 +20667,16 @@ def length(arg0: Array4_uint_const) -> Dim3: ...
2066120667
def length(arg0: Array4_ulong_const) -> Dim3: ...
2066220668
@typing.overload
2066320669
def length(arg0: Array4_ulonglong_const) -> Dim3: ...
20670+
def make_invalid(arg0: int) -> int: ...
20671+
def make_valid(arg0: int) -> int: ...
2066420672
def max(arg0: RealVect, arg1: RealVect) -> RealVect: ...
2066520673
def min(arg0: RealVect, arg1: RealVect) -> RealVect: ...
20674+
def pack_cpus(
20675+
arg0: numpy.ndarray[numpy.uint64], arg1: numpy.ndarray[numpy.int32]
20676+
) -> typing.Any: ...
20677+
def pack_ids(
20678+
arg0: numpy.ndarray[numpy.uint64], arg1: numpy.ndarray[numpy.int64]
20679+
) -> typing.Any: ...
2066620680
@typing.overload
2066720681
def refine(arg0: Dim3, arg1: IntVect1D) -> Dim3: ...
2066820682
@typing.overload
@@ -20748,5 +20762,5 @@ def write_single_level_plotfile(
2074820762

2074920763
__author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
2075020764
__license__: str = "BSD-3-Clause-LBNL"
20751-
__version__: str = "25.04"
20765+
__version__: str = "25.05-4-g793ea9f71759"
2075220766
IntVect = IntVect3D

0 commit comments

Comments
 (0)