Skip to content

Commit 4544ca0

Browse files
Update Stub Files
1 parent 0846589 commit 4544ca0

File tree

9 files changed

+63
-63
lines changed

9 files changed

+63
-63
lines changed

src/amrex/space1d/__init__.pyi

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ from amrex.extensions.PODVector import register_PODVector_extension
5050
from amrex.extensions.SmallMatrix import register_SmallMatrix_extension
5151
from amrex.extensions.StructOfArrays import register_SoA_extension
5252
from amrex.space1d.amrex_1d_pybind import (
53+
AlmostEqual,
5354
AMReX,
5455
AmrInfo,
5556
AmrMesh,
@@ -109,7 +110,14 @@ from amrex.space1d.amrex_1d_pybind import (
109110
MFInfo,
110111
MFIter,
111112
MFItInfo,
113+
MPMD_AppNum,
112114
MPMD_Copier,
115+
MPMD_Finalize,
116+
MPMD_Initialize_without_split,
117+
MPMD_Initialized,
118+
MPMD_MyProc,
119+
MPMD_MyProgId,
120+
MPMD_NProcs,
113121
MultiFab,
114122
ParallelDescriptor,
115123
ParConstIter_2_1_3_1_arena,
@@ -256,6 +264,12 @@ from amrex.space1d.amrex_1d_pybind import (
256264
StructOfArrays_8_0_idcpu_arena,
257265
StructOfArrays_8_0_idcpu_default,
258266
StructOfArrays_8_0_idcpu_pinned,
267+
The_Arena,
268+
The_Async_Arena,
269+
The_Cpu_Arena,
270+
The_Device_Arena,
271+
The_Managed_Arena,
272+
The_Pinned_Arena,
259273
Vector_Box,
260274
Vector_BoxArray,
261275
Vector_DistributionMapping,
@@ -267,24 +281,6 @@ from amrex.space1d.amrex_1d_pybind import (
267281
Vector_string,
268282
VisMF,
269283
XDim3,
270-
iMultiFab,
271-
)
272-
from amrex.space1d.amrex_1d_pybind import IntVect1D as IntVect
273-
from amrex.space1d.amrex_1d_pybind.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 import (
274-
AlmostEqual,
275-
MPMD_AppNum,
276-
MPMD_Finalize,
277-
MPMD_Initialize_without_split,
278-
MPMD_Initialized,
279-
MPMD_MyProc,
280-
MPMD_MyProgId,
281-
MPMD_NProcs,
282-
The_Arena,
283-
The_Async_Arena,
284-
The_Cpu_Arena,
285-
The_Device_Arena,
286-
The_Managed_Arena,
287-
The_Pinned_Arena,
288284
almost_equal,
289285
begin,
290286
coarsen,
@@ -294,6 +290,7 @@ from amrex.space1d.amrex_1d_pybind.pybind11_detail_function_record_v1_system_lib
294290
end,
295291
finalize,
296292
htod_memcpy,
293+
iMultiFab,
297294
initialize,
298295
initialize_when_MPMD,
299296
initialized,
@@ -313,10 +310,11 @@ from amrex.space1d.amrex_1d_pybind.pybind11_detail_function_record_v1_system_lib
313310
unpack_ids,
314311
write_single_level_plotfile,
315312
)
313+
from amrex.space1d.amrex_1d_pybind import IntVect1D as IntVect
316314

317315
from . import amrex_1d_pybind
318316

319-
__all__ = [
317+
__all__: list[str] = [
320318
"AMReX",
321319
"AlmostEqual",
322320
"AmrInfo",

src/amrex/space1d/amrex_1d_pybind/ParallelDescriptor.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
__all__ = ["IOProcessor", "IOProcessorNumber", "MyProc", "NProcs"]
3+
__all__: list[str] = ["IOProcessor", "IOProcessorNumber", "MyProc", "NProcs"]
44

55
def IOProcessor() -> bool: ...
66
def IOProcessorNumber() -> int: ...

src/amrex/space1d/amrex_1d_pybind/__init__.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import numpy.typing
4949

5050
from . import ParallelDescriptor
5151

52-
__all__ = [
52+
__all__: list[str] = [
5353
"AMReX",
5454
"AlmostEqual",
5555
"AmrInfo",
@@ -5478,8 +5478,10 @@ class Config:
54785478
have_gpu: typing.ClassVar[bool] = False
54795479
have_mpi: typing.ClassVar[bool] = True
54805480
have_omp: typing.ClassVar[bool] = False
5481+
have_simd: typing.ClassVar[bool] = False
54815482
precision: typing.ClassVar[str] = "DOUBLE"
54825483
precision_particles: typing.ClassVar[str] = "DOUBLE"
5484+
simd_size: typing.ClassVar[int] = 1
54835485
spacedim: typing.ClassVar[int] = 1
54845486
verbose: typing.ClassVar[int] = 1
54855487

src/amrex/space2d/__init__.pyi

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ from amrex.extensions.PODVector import register_PODVector_extension
5050
from amrex.extensions.SmallMatrix import register_SmallMatrix_extension
5151
from amrex.extensions.StructOfArrays import register_SoA_extension
5252
from amrex.space2d.amrex_2d_pybind import (
53+
AlmostEqual,
5354
AMReX,
5455
AmrInfo,
5556
AmrMesh,
@@ -109,7 +110,14 @@ from amrex.space2d.amrex_2d_pybind import (
109110
MFInfo,
110111
MFIter,
111112
MFItInfo,
113+
MPMD_AppNum,
112114
MPMD_Copier,
115+
MPMD_Finalize,
116+
MPMD_Initialize_without_split,
117+
MPMD_Initialized,
118+
MPMD_MyProc,
119+
MPMD_MyProgId,
120+
MPMD_NProcs,
113121
MultiFab,
114122
ParallelDescriptor,
115123
ParConstIter_2_1_3_1_arena,
@@ -280,6 +288,12 @@ from amrex.space2d.amrex_2d_pybind import (
280288
StructOfArrays_8_0_idcpu_arena,
281289
StructOfArrays_8_0_idcpu_default,
282290
StructOfArrays_8_0_idcpu_pinned,
291+
The_Arena,
292+
The_Async_Arena,
293+
The_Cpu_Arena,
294+
The_Device_Arena,
295+
The_Managed_Arena,
296+
The_Pinned_Arena,
283297
Vector_Box,
284298
Vector_BoxArray,
285299
Vector_DistributionMapping,
@@ -291,24 +305,6 @@ from amrex.space2d.amrex_2d_pybind import (
291305
Vector_string,
292306
VisMF,
293307
XDim3,
294-
iMultiFab,
295-
)
296-
from amrex.space2d.amrex_2d_pybind import IntVect2D as IntVect
297-
from amrex.space2d.amrex_2d_pybind.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 import (
298-
AlmostEqual,
299-
MPMD_AppNum,
300-
MPMD_Finalize,
301-
MPMD_Initialize_without_split,
302-
MPMD_Initialized,
303-
MPMD_MyProc,
304-
MPMD_MyProgId,
305-
MPMD_NProcs,
306-
The_Arena,
307-
The_Async_Arena,
308-
The_Cpu_Arena,
309-
The_Device_Arena,
310-
The_Managed_Arena,
311-
The_Pinned_Arena,
312308
almost_equal,
313309
begin,
314310
coarsen,
@@ -318,6 +314,7 @@ from amrex.space2d.amrex_2d_pybind.pybind11_detail_function_record_v1_system_lib
318314
end,
319315
finalize,
320316
htod_memcpy,
317+
iMultiFab,
321318
initialize,
322319
initialize_when_MPMD,
323320
initialized,
@@ -337,10 +334,11 @@ from amrex.space2d.amrex_2d_pybind.pybind11_detail_function_record_v1_system_lib
337334
unpack_ids,
338335
write_single_level_plotfile,
339336
)
337+
from amrex.space2d.amrex_2d_pybind import IntVect2D as IntVect
340338

341339
from . import amrex_2d_pybind
342340

343-
__all__ = [
341+
__all__: list[str] = [
344342
"AMReX",
345343
"AlmostEqual",
346344
"AmrInfo",

src/amrex/space2d/amrex_2d_pybind/ParallelDescriptor.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
__all__ = ["IOProcessor", "IOProcessorNumber", "MyProc", "NProcs"]
3+
__all__: list[str] = ["IOProcessor", "IOProcessorNumber", "MyProc", "NProcs"]
44

55
def IOProcessor() -> bool: ...
66
def IOProcessorNumber() -> int: ...

src/amrex/space2d/amrex_2d_pybind/__init__.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import numpy.typing
4949

5050
from . import ParallelDescriptor
5151

52-
__all__ = [
52+
__all__: list[str] = [
5353
"AMReX",
5454
"AlmostEqual",
5555
"AmrInfo",
@@ -5502,8 +5502,10 @@ class Config:
55025502
have_gpu: typing.ClassVar[bool] = False
55035503
have_mpi: typing.ClassVar[bool] = True
55045504
have_omp: typing.ClassVar[bool] = False
5505+
have_simd: typing.ClassVar[bool] = False
55055506
precision: typing.ClassVar[str] = "DOUBLE"
55065507
precision_particles: typing.ClassVar[str] = "DOUBLE"
5508+
simd_size: typing.ClassVar[int] = 1
55075509
spacedim: typing.ClassVar[int] = 2
55085510
verbose: typing.ClassVar[int] = 1
55095511

src/amrex/space3d/__init__.pyi

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ from amrex.extensions.PODVector import register_PODVector_extension
5050
from amrex.extensions.SmallMatrix import register_SmallMatrix_extension
5151
from amrex.extensions.StructOfArrays import register_SoA_extension
5252
from amrex.space3d.amrex_3d_pybind import (
53+
AlmostEqual,
5354
AMReX,
5455
AmrInfo,
5556
AmrMesh,
@@ -109,7 +110,14 @@ from amrex.space3d.amrex_3d_pybind import (
109110
MFInfo,
110111
MFIter,
111112
MFItInfo,
113+
MPMD_AppNum,
112114
MPMD_Copier,
115+
MPMD_Finalize,
116+
MPMD_Initialize_without_split,
117+
MPMD_Initialized,
118+
MPMD_MyProc,
119+
MPMD_MyProgId,
120+
MPMD_NProcs,
113121
MultiFab,
114122
ParallelDescriptor,
115123
ParConstIter_2_1_3_1_arena,
@@ -256,6 +264,12 @@ from amrex.space3d.amrex_3d_pybind import (
256264
StructOfArrays_8_0_idcpu_arena,
257265
StructOfArrays_8_0_idcpu_default,
258266
StructOfArrays_8_0_idcpu_pinned,
267+
The_Arena,
268+
The_Async_Arena,
269+
The_Cpu_Arena,
270+
The_Device_Arena,
271+
The_Managed_Arena,
272+
The_Pinned_Arena,
259273
Vector_Box,
260274
Vector_BoxArray,
261275
Vector_DistributionMapping,
@@ -267,24 +281,6 @@ from amrex.space3d.amrex_3d_pybind import (
267281
Vector_string,
268282
VisMF,
269283
XDim3,
270-
iMultiFab,
271-
)
272-
from amrex.space3d.amrex_3d_pybind import IntVect3D as IntVect
273-
from amrex.space3d.amrex_3d_pybind.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 import (
274-
AlmostEqual,
275-
MPMD_AppNum,
276-
MPMD_Finalize,
277-
MPMD_Initialize_without_split,
278-
MPMD_Initialized,
279-
MPMD_MyProc,
280-
MPMD_MyProgId,
281-
MPMD_NProcs,
282-
The_Arena,
283-
The_Async_Arena,
284-
The_Cpu_Arena,
285-
The_Device_Arena,
286-
The_Managed_Arena,
287-
The_Pinned_Arena,
288284
almost_equal,
289285
begin,
290286
coarsen,
@@ -294,6 +290,7 @@ from amrex.space3d.amrex_3d_pybind.pybind11_detail_function_record_v1_system_lib
294290
end,
295291
finalize,
296292
htod_memcpy,
293+
iMultiFab,
297294
initialize,
298295
initialize_when_MPMD,
299296
initialized,
@@ -313,10 +310,11 @@ from amrex.space3d.amrex_3d_pybind.pybind11_detail_function_record_v1_system_lib
313310
unpack_ids,
314311
write_single_level_plotfile,
315312
)
313+
from amrex.space3d.amrex_3d_pybind import IntVect3D as IntVect
316314

317315
from . import amrex_3d_pybind
318316

319-
__all__ = [
317+
__all__: list[str] = [
320318
"AMReX",
321319
"AlmostEqual",
322320
"AmrInfo",

src/amrex/space3d/amrex_3d_pybind/ParallelDescriptor.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
__all__ = ["IOProcessor", "IOProcessorNumber", "MyProc", "NProcs"]
3+
__all__: list[str] = ["IOProcessor", "IOProcessorNumber", "MyProc", "NProcs"]
44

55
def IOProcessor() -> bool: ...
66
def IOProcessorNumber() -> int: ...

src/amrex/space3d/amrex_3d_pybind/__init__.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import numpy.typing
4949

5050
from . import ParallelDescriptor
5151

52-
__all__ = [
52+
__all__: list[str] = [
5353
"AMReX",
5454
"AlmostEqual",
5555
"AmrInfo",
@@ -5478,8 +5478,10 @@ class Config:
54785478
have_gpu: typing.ClassVar[bool] = False
54795479
have_mpi: typing.ClassVar[bool] = True
54805480
have_omp: typing.ClassVar[bool] = False
5481+
have_simd: typing.ClassVar[bool] = False
54815482
precision: typing.ClassVar[str] = "DOUBLE"
54825483
precision_particles: typing.ClassVar[str] = "DOUBLE"
5484+
simd_size: typing.ClassVar[int] = 1
54835485
spacedim: typing.ClassVar[int] = 3
54845486
verbose: typing.ClassVar[int] = 1
54855487

0 commit comments

Comments
 (0)