Skip to content

Commit 44f9337

Browse files
ax3lgithub-actions[bot]
authored andcommitted
Update Stub Files
1 parent 805bfbe commit 44f9337

File tree

6 files changed

+150
-0
lines changed

6 files changed

+150
-0
lines changed

src/amrex/space1d/__init__.pyi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ from amrex.space1d.amrex_1d_pybind import (
310310
write_single_level_plotfile,
311311
)
312312
from amrex.space1d.amrex_1d_pybind import IntVect1D as IntVect
313+
from amrex.space1d.amrex_1d_pybind import PODVector_int_std as PODVector_int_default
314+
from amrex.space1d.amrex_1d_pybind import PODVector_real_std as PODVector_real_default
315+
from amrex.space1d.amrex_1d_pybind import (
316+
PODVector_uint64_std as PODVector_uint64_default,
317+
)
313318

314319
from . import amrex_1d_pybind
315320

@@ -390,14 +395,17 @@ __all__: list[str] = [
390395
"MPMD_NProcs",
391396
"MultiFab",
392397
"PODVector_int_arena",
398+
"PODVector_int_default",
393399
"PODVector_int_pinned",
394400
"PODVector_int_polymorphic",
395401
"PODVector_int_std",
396402
"PODVector_real_arena",
403+
"PODVector_real_default",
397404
"PODVector_real_pinned",
398405
"PODVector_real_polymorphic",
399406
"PODVector_real_std",
400407
"PODVector_uint64_arena",
408+
"PODVector_uint64_default",
401409
"PODVector_uint64_pinned",
402410
"PODVector_uint64_polymorphic",
403411
"PODVector_uint64_std",

src/amrex/space1d/amrex_1d_pybind/__init__.pyi

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,17 @@ __all__: list[str] = [
126126
"MPMD_NProcs",
127127
"MultiFab",
128128
"PODVector_int_arena",
129+
"PODVector_int_default",
129130
"PODVector_int_pinned",
130131
"PODVector_int_polymorphic",
131132
"PODVector_int_std",
132133
"PODVector_real_arena",
134+
"PODVector_real_default",
133135
"PODVector_real_pinned",
134136
"PODVector_real_polymorphic",
135137
"PODVector_real_std",
136138
"PODVector_uint64_arena",
139+
"PODVector_uint64_default",
137140
"PODVector_uint64_pinned",
138141
"PODVector_uint64_polymorphic",
139142
"PODVector_uint64_std",
@@ -11666,6 +11669,9 @@ class GrowthStrategy(enum.Enum):
1166611669
Poisson: typing.ClassVar[GrowthStrategy] # value = <GrowthStrategy.Poisson: 0>
1166711670

1166811671
class PODVector_real_pinned:
11672+
"""
11673+
A plain-old-data (POD) vector of 'real' elements with 'pinned' allocation.
11674+
"""
1166911675
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1167011676
@typing.overload
1167111677
def __init__(self) -> None: ...
@@ -11779,6 +11785,9 @@ class PODVector_real_pinned:
1177911785
def __cuda_array_interface__(self) -> dict: ...
1178011786

1178111787
class PODVector_real_arena:
11788+
"""
11789+
A plain-old-data (POD) vector of 'real' elements with 'arena' allocation.
11790+
"""
1178211791
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1178311792
@typing.overload
1178411793
def __init__(self) -> None: ...
@@ -11892,6 +11901,9 @@ class PODVector_real_arena:
1189211901
def __cuda_array_interface__(self) -> dict: ...
1189311902

1189411903
class PODVector_real_std:
11904+
"""
11905+
A plain-old-data (POD) vector of 'real' elements with 'std' allocation.
11906+
"""
1189511907
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1189611908
@typing.overload
1189711909
def __init__(self) -> None: ...
@@ -12005,6 +12017,9 @@ class PODVector_real_std:
1200512017
def __cuda_array_interface__(self) -> dict: ...
1200612018

1200712019
class PODVector_real_polymorphic:
12020+
"""
12021+
A plain-old-data (POD) vector of 'real' elements with 'polymorphic' allocation.
12022+
"""
1200812023
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1200912024
@typing.overload
1201012025
def __init__(self) -> None: ...
@@ -12118,6 +12133,9 @@ class PODVector_real_polymorphic:
1211812133
def __cuda_array_interface__(self) -> dict: ...
1211912134

1212012135
class PODVector_int_pinned:
12136+
"""
12137+
A plain-old-data (POD) vector of 'int' elements with 'pinned' allocation.
12138+
"""
1212112139
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1212212140
@typing.overload
1212312141
def __init__(self) -> None: ...
@@ -12231,6 +12249,9 @@ class PODVector_int_pinned:
1223112249
def __cuda_array_interface__(self) -> dict: ...
1223212250

1223312251
class PODVector_int_arena:
12252+
"""
12253+
A plain-old-data (POD) vector of 'int' elements with 'arena' allocation.
12254+
"""
1223412255
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1223512256
@typing.overload
1223612257
def __init__(self) -> None: ...
@@ -12344,6 +12365,9 @@ class PODVector_int_arena:
1234412365
def __cuda_array_interface__(self) -> dict: ...
1234512366

1234612367
class PODVector_int_std:
12368+
"""
12369+
A plain-old-data (POD) vector of 'int' elements with 'std' allocation.
12370+
"""
1234712371
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1234812372
@typing.overload
1234912373
def __init__(self) -> None: ...
@@ -12457,6 +12481,9 @@ class PODVector_int_std:
1245712481
def __cuda_array_interface__(self) -> dict: ...
1245812482

1245912483
class PODVector_int_polymorphic:
12484+
"""
12485+
A plain-old-data (POD) vector of 'int' elements with 'polymorphic' allocation.
12486+
"""
1246012487
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1246112488
@typing.overload
1246212489
def __init__(self) -> None: ...
@@ -12570,6 +12597,9 @@ class PODVector_int_polymorphic:
1257012597
def __cuda_array_interface__(self) -> dict: ...
1257112598

1257212599
class PODVector_uint64_pinned:
12600+
"""
12601+
A plain-old-data (POD) vector of 'uint64' elements with 'pinned' allocation.
12602+
"""
1257312603
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1257412604
@typing.overload
1257512605
def __init__(self) -> None: ...
@@ -12683,6 +12713,9 @@ class PODVector_uint64_pinned:
1268312713
def __cuda_array_interface__(self) -> dict: ...
1268412714

1268512715
class PODVector_uint64_arena:
12716+
"""
12717+
A plain-old-data (POD) vector of 'uint64' elements with 'arena' allocation.
12718+
"""
1268612719
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1268712720
@typing.overload
1268812721
def __init__(self) -> None: ...
@@ -12796,6 +12829,9 @@ class PODVector_uint64_arena:
1279612829
def __cuda_array_interface__(self) -> dict: ...
1279712830

1279812831
class PODVector_uint64_std:
12832+
"""
12833+
A plain-old-data (POD) vector of 'uint64' elements with 'std' allocation.
12834+
"""
1279912835
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1280012836
@typing.overload
1280112837
def __init__(self) -> None: ...
@@ -12909,6 +12945,9 @@ class PODVector_uint64_std:
1290912945
def __cuda_array_interface__(self) -> dict: ...
1291012946

1291112947
class PODVector_uint64_polymorphic:
12948+
"""
12949+
A plain-old-data (POD) vector of 'uint64' elements with 'polymorphic' allocation.
12950+
"""
1291212951
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1291312952
@typing.overload
1291412953
def __init__(self) -> None: ...
@@ -25488,3 +25527,6 @@ __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grot
2548825527
__license__: str = "BSD-3-Clause-LBNL"
2548925528
__version__: str = "26.02"
2549025529
IntVect = IntVect1D
25530+
PODVector_real_default = PODVector_real_std
25531+
PODVector_int_default = PODVector_int_std
25532+
PODVector_uint64_default = PODVector_uint64_std

src/amrex/space2d/__init__.pyi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,11 @@ from amrex.space2d.amrex_2d_pybind import (
324324
write_single_level_plotfile,
325325
)
326326
from amrex.space2d.amrex_2d_pybind import IntVect2D as IntVect
327+
from amrex.space2d.amrex_2d_pybind import PODVector_int_std as PODVector_int_default
328+
from amrex.space2d.amrex_2d_pybind import PODVector_real_std as PODVector_real_default
329+
from amrex.space2d.amrex_2d_pybind import (
330+
PODVector_uint64_std as PODVector_uint64_default,
331+
)
327332

328333
from . import amrex_2d_pybind
329334

@@ -407,14 +412,17 @@ __all__: list[str] = [
407412
"MPMD_NProcs",
408413
"MultiFab",
409414
"PODVector_int_arena",
415+
"PODVector_int_default",
410416
"PODVector_int_pinned",
411417
"PODVector_int_polymorphic",
412418
"PODVector_int_std",
413419
"PODVector_real_arena",
420+
"PODVector_real_default",
414421
"PODVector_real_pinned",
415422
"PODVector_real_polymorphic",
416423
"PODVector_real_std",
417424
"PODVector_uint64_arena",
425+
"PODVector_uint64_default",
418426
"PODVector_uint64_pinned",
419427
"PODVector_uint64_polymorphic",
420428
"PODVector_uint64_std",

src/amrex/space2d/amrex_2d_pybind/__init__.pyi

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,17 @@ __all__: list[str] = [
129129
"MPMD_NProcs",
130130
"MultiFab",
131131
"PODVector_int_arena",
132+
"PODVector_int_default",
132133
"PODVector_int_pinned",
133134
"PODVector_int_polymorphic",
134135
"PODVector_int_std",
135136
"PODVector_real_arena",
137+
"PODVector_real_default",
136138
"PODVector_real_pinned",
137139
"PODVector_real_polymorphic",
138140
"PODVector_real_std",
139141
"PODVector_uint64_arena",
142+
"PODVector_uint64_default",
140143
"PODVector_uint64_pinned",
141144
"PODVector_uint64_polymorphic",
142145
"PODVector_uint64_std",
@@ -11699,6 +11702,9 @@ class GrowthStrategy(enum.Enum):
1169911702
Poisson: typing.ClassVar[GrowthStrategy] # value = <GrowthStrategy.Poisson: 0>
1170011703

1170111704
class PODVector_real_pinned:
11705+
"""
11706+
A plain-old-data (POD) vector of 'real' elements with 'pinned' allocation.
11707+
"""
1170211708
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1170311709
@typing.overload
1170411710
def __init__(self) -> None: ...
@@ -11812,6 +11818,9 @@ class PODVector_real_pinned:
1181211818
def __cuda_array_interface__(self) -> dict: ...
1181311819

1181411820
class PODVector_real_arena:
11821+
"""
11822+
A plain-old-data (POD) vector of 'real' elements with 'arena' allocation.
11823+
"""
1181511824
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1181611825
@typing.overload
1181711826
def __init__(self) -> None: ...
@@ -11925,6 +11934,9 @@ class PODVector_real_arena:
1192511934
def __cuda_array_interface__(self) -> dict: ...
1192611935

1192711936
class PODVector_real_std:
11937+
"""
11938+
A plain-old-data (POD) vector of 'real' elements with 'std' allocation.
11939+
"""
1192811940
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1192911941
@typing.overload
1193011942
def __init__(self) -> None: ...
@@ -12038,6 +12050,9 @@ class PODVector_real_std:
1203812050
def __cuda_array_interface__(self) -> dict: ...
1203912051

1204012052
class PODVector_real_polymorphic:
12053+
"""
12054+
A plain-old-data (POD) vector of 'real' elements with 'polymorphic' allocation.
12055+
"""
1204112056
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> float: ...
1204212057
@typing.overload
1204312058
def __init__(self) -> None: ...
@@ -12151,6 +12166,9 @@ class PODVector_real_polymorphic:
1215112166
def __cuda_array_interface__(self) -> dict: ...
1215212167

1215312168
class PODVector_int_pinned:
12169+
"""
12170+
A plain-old-data (POD) vector of 'int' elements with 'pinned' allocation.
12171+
"""
1215412172
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1215512173
@typing.overload
1215612174
def __init__(self) -> None: ...
@@ -12264,6 +12282,9 @@ class PODVector_int_pinned:
1226412282
def __cuda_array_interface__(self) -> dict: ...
1226512283

1226612284
class PODVector_int_arena:
12285+
"""
12286+
A plain-old-data (POD) vector of 'int' elements with 'arena' allocation.
12287+
"""
1226712288
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1226812289
@typing.overload
1226912290
def __init__(self) -> None: ...
@@ -12377,6 +12398,9 @@ class PODVector_int_arena:
1237712398
def __cuda_array_interface__(self) -> dict: ...
1237812399

1237912400
class PODVector_int_std:
12401+
"""
12402+
A plain-old-data (POD) vector of 'int' elements with 'std' allocation.
12403+
"""
1238012404
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1238112405
@typing.overload
1238212406
def __init__(self) -> None: ...
@@ -12490,6 +12514,9 @@ class PODVector_int_std:
1249012514
def __cuda_array_interface__(self) -> dict: ...
1249112515

1249212516
class PODVector_int_polymorphic:
12517+
"""
12518+
A plain-old-data (POD) vector of 'int' elements with 'polymorphic' allocation.
12519+
"""
1249312520
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1249412521
@typing.overload
1249512522
def __init__(self) -> None: ...
@@ -12603,6 +12630,9 @@ class PODVector_int_polymorphic:
1260312630
def __cuda_array_interface__(self) -> dict: ...
1260412631

1260512632
class PODVector_uint64_pinned:
12633+
"""
12634+
A plain-old-data (POD) vector of 'uint64' elements with 'pinned' allocation.
12635+
"""
1260612636
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1260712637
@typing.overload
1260812638
def __init__(self) -> None: ...
@@ -12716,6 +12746,9 @@ class PODVector_uint64_pinned:
1271612746
def __cuda_array_interface__(self) -> dict: ...
1271712747

1271812748
class PODVector_uint64_arena:
12749+
"""
12750+
A plain-old-data (POD) vector of 'uint64' elements with 'arena' allocation.
12751+
"""
1271912752
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1272012753
@typing.overload
1272112754
def __init__(self) -> None: ...
@@ -12829,6 +12862,9 @@ class PODVector_uint64_arena:
1282912862
def __cuda_array_interface__(self) -> dict: ...
1283012863

1283112864
class PODVector_uint64_std:
12865+
"""
12866+
A plain-old-data (POD) vector of 'uint64' elements with 'std' allocation.
12867+
"""
1283212868
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1283312869
@typing.overload
1283412870
def __init__(self) -> None: ...
@@ -12942,6 +12978,9 @@ class PODVector_uint64_std:
1294212978
def __cuda_array_interface__(self) -> dict: ...
1294312979

1294412980
class PODVector_uint64_polymorphic:
12981+
"""
12982+
A plain-old-data (POD) vector of 'uint64' elements with 'polymorphic' allocation.
12983+
"""
1294512984
def __getitem__(self, arg0: typing.SupportsInt | typing.SupportsIndex) -> int: ...
1294612985
@typing.overload
1294712986
def __init__(self) -> None: ...
@@ -26523,3 +26562,6 @@ basic: EBSupport # value = <EBSupport.basic: 1>
2652326562
full: EBSupport # value = <EBSupport.full: 3>
2652426563
volume: EBSupport # value = <EBSupport.volume: 2>
2652526564
IntVect = IntVect2D
26565+
PODVector_real_default = PODVector_real_std
26566+
PODVector_int_default = PODVector_int_std
26567+
PODVector_uint64_default = PODVector_uint64_std

src/amrex/space3d/__init__.pyi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,11 @@ from amrex.space3d.amrex_3d_pybind import (
314314
write_single_level_plotfile,
315315
)
316316
from amrex.space3d.amrex_3d_pybind import IntVect3D as IntVect
317+
from amrex.space3d.amrex_3d_pybind import PODVector_int_std as PODVector_int_default
318+
from amrex.space3d.amrex_3d_pybind import PODVector_real_std as PODVector_real_default
319+
from amrex.space3d.amrex_3d_pybind import (
320+
PODVector_uint64_std as PODVector_uint64_default,
321+
)
317322

318323
from . import amrex_3d_pybind
319324

@@ -397,14 +402,17 @@ __all__: list[str] = [
397402
"MPMD_NProcs",
398403
"MultiFab",
399404
"PODVector_int_arena",
405+
"PODVector_int_default",
400406
"PODVector_int_pinned",
401407
"PODVector_int_polymorphic",
402408
"PODVector_int_std",
403409
"PODVector_real_arena",
410+
"PODVector_real_default",
404411
"PODVector_real_pinned",
405412
"PODVector_real_polymorphic",
406413
"PODVector_real_std",
407414
"PODVector_uint64_arena",
415+
"PODVector_uint64_default",
408416
"PODVector_uint64_pinned",
409417
"PODVector_uint64_polymorphic",
410418
"PODVector_uint64_std",

0 commit comments

Comments
 (0)