diff --git a/src/amrex/space1d/__init__.pyi b/src/amrex/space1d/__init__.pyi index f211f514..2f0adbc7 100644 --- a/src/amrex/space1d/__init__.pyi +++ b/src/amrex/space1d/__init__.pyi @@ -111,9 +111,9 @@ from amrex.space1d.amrex_1d_pybind import ( ParConstIter_1_1_2_1_arena, ParConstIter_1_1_2_1_default, ParConstIter_1_1_2_1_pinned, - ParConstIter_pureSoA_7_0_arena, - ParConstIter_pureSoA_7_0_default, - ParConstIter_pureSoA_7_0_pinned, + ParConstIter_pureSoA_5_0_arena, + ParConstIter_pureSoA_5_0_default, + ParConstIter_pureSoA_5_0_pinned, ParConstIter_pureSoA_8_0_arena, ParConstIter_pureSoA_8_0_default, ParConstIter_pureSoA_8_0_pinned, @@ -126,9 +126,9 @@ from amrex.space1d.amrex_1d_pybind import ( ParConstIterBase_1_1_2_1_arena, ParConstIterBase_1_1_2_1_default, ParConstIterBase_1_1_2_1_pinned, - ParConstIterBase_pureSoA_7_0_arena, - ParConstIterBase_pureSoA_7_0_default, - ParConstIterBase_pureSoA_7_0_pinned, + ParConstIterBase_pureSoA_5_0_arena, + ParConstIterBase_pureSoA_5_0_default, + ParConstIterBase_pureSoA_5_0_pinned, ParConstIterBase_pureSoA_8_0_arena, ParConstIterBase_pureSoA_8_0_default, ParConstIterBase_pureSoA_8_0_pinned, @@ -141,9 +141,9 @@ from amrex.space1d.amrex_1d_pybind import ( ParIter_1_1_2_1_arena, ParIter_1_1_2_1_default, ParIter_1_1_2_1_pinned, - ParIter_pureSoA_7_0_arena, - ParIter_pureSoA_7_0_default, - ParIter_pureSoA_7_0_pinned, + ParIter_pureSoA_5_0_arena, + ParIter_pureSoA_5_0_default, + ParIter_pureSoA_5_0_pinned, ParIter_pureSoA_8_0_arena, ParIter_pureSoA_8_0_default, ParIter_pureSoA_8_0_pinned, @@ -156,9 +156,9 @@ from amrex.space1d.amrex_1d_pybind import ( ParIterBase_1_1_2_1_arena, ParIterBase_1_1_2_1_default, ParIterBase_1_1_2_1_pinned, - ParIterBase_pureSoA_7_0_arena, - ParIterBase_pureSoA_7_0_default, - ParIterBase_pureSoA_7_0_pinned, + ParIterBase_pureSoA_5_0_arena, + ParIterBase_pureSoA_5_0_default, + ParIterBase_pureSoA_5_0_pinned, ParIterBase_pureSoA_8_0_arena, ParIterBase_pureSoA_8_0_default, ParIterBase_pureSoA_8_0_pinned, @@ -169,6 +169,7 @@ from amrex.space1d.amrex_1d_pybind import ( Particle_3_2, Particle_4_0, Particle_5_0, + Particle_6_0, Particle_7_0, Particle_8_0, Particle_37_1, @@ -181,9 +182,9 @@ from amrex.space1d.amrex_1d_pybind import ( ParticleContainer_1_1_2_1_arena, ParticleContainer_1_1_2_1_default, ParticleContainer_1_1_2_1_pinned, - ParticleContainer_pureSoA_7_0_arena, - ParticleContainer_pureSoA_7_0_default, - ParticleContainer_pureSoA_7_0_pinned, + ParticleContainer_pureSoA_5_0_arena, + ParticleContainer_pureSoA_5_0_default, + ParticleContainer_pureSoA_5_0_pinned, ParticleContainer_pureSoA_8_0_arena, ParticleContainer_pureSoA_8_0_default, ParticleContainer_pureSoA_8_0_pinned, @@ -196,24 +197,24 @@ from amrex.space1d.amrex_1d_pybind import ( ParticleTile_0_0_5_0_arena, ParticleTile_0_0_5_0_default, ParticleTile_0_0_5_0_pinned, - ParticleTile_0_0_7_0_arena, - ParticleTile_0_0_7_0_default, - ParticleTile_0_0_7_0_pinned, - ParticleTile_0_0_8_0_arena, - ParticleTile_0_0_8_0_default, - ParticleTile_0_0_8_0_pinned, ParticleTile_0_0_37_1_arena, ParticleTile_0_0_37_1_default, ParticleTile_0_0_37_1_pinned, ParticleTile_1_1_2_1_arena, ParticleTile_1_1_2_1_default, ParticleTile_1_1_2_1_pinned, + ParticleTile_pureSoA_0_0_5_0_arena, + ParticleTile_pureSoA_0_0_5_0_default, + ParticleTile_pureSoA_0_0_5_0_pinned, + ParticleTile_pureSoA_0_0_8_0_arena, + ParticleTile_pureSoA_0_0_8_0_default, + ParticleTile_pureSoA_0_0_8_0_pinned, ParticleTileData_0_0_4_0, ParticleTileData_0_0_5_0, - ParticleTileData_0_0_7_0, - ParticleTileData_0_0_8_0, ParticleTileData_0_0_37_1, ParticleTileData_1_1_2_1, + ParticleTileData_pureSoA_0_0_5_0, + ParticleTileData_pureSoA_0_0_8_0, Periodicity, PIdx, PODVector_int_arena, @@ -222,6 +223,9 @@ from amrex.space1d.amrex_1d_pybind import ( PODVector_real_arena, PODVector_real_pinned, PODVector_real_std, + PODVector_uint64_arena, + PODVector_uint64_pinned, + PODVector_uint64_std, RealBox, RealVect, StructOfArrays_2_1_arena, @@ -232,13 +236,13 @@ from amrex.space1d.amrex_1d_pybind import ( StructOfArrays_4_0_pinned, StructOfArrays_5_0_arena, StructOfArrays_5_0_default, + StructOfArrays_5_0_idcpu_arena, + StructOfArrays_5_0_idcpu_default, + StructOfArrays_5_0_idcpu_pinned, StructOfArrays_5_0_pinned, - StructOfArrays_7_0_arena, - StructOfArrays_7_0_default, - StructOfArrays_7_0_pinned, - StructOfArrays_8_0_arena, - StructOfArrays_8_0_default, - StructOfArrays_8_0_pinned, + StructOfArrays_8_0_idcpu_arena, + StructOfArrays_8_0_idcpu_default, + StructOfArrays_8_0_idcpu_pinned, StructOfArrays_37_1_arena, StructOfArrays_37_1_default, StructOfArrays_37_1_pinned, @@ -346,6 +350,9 @@ __all__ = [ "PODVector_real_arena", "PODVector_real_pinned", "PODVector_real_std", + "PODVector_uint64_arena", + "PODVector_uint64_pinned", + "PODVector_uint64_std", "ParConstIterBase_0_0_4_0_arena", "ParConstIterBase_0_0_4_0_default", "ParConstIterBase_0_0_4_0_pinned", @@ -355,9 +362,9 @@ __all__ = [ "ParConstIterBase_1_1_2_1_arena", "ParConstIterBase_1_1_2_1_default", "ParConstIterBase_1_1_2_1_pinned", - "ParConstIterBase_pureSoA_7_0_arena", - "ParConstIterBase_pureSoA_7_0_default", - "ParConstIterBase_pureSoA_7_0_pinned", + "ParConstIterBase_pureSoA_5_0_arena", + "ParConstIterBase_pureSoA_5_0_default", + "ParConstIterBase_pureSoA_5_0_pinned", "ParConstIterBase_pureSoA_8_0_arena", "ParConstIterBase_pureSoA_8_0_default", "ParConstIterBase_pureSoA_8_0_pinned", @@ -370,9 +377,9 @@ __all__ = [ "ParConstIter_1_1_2_1_arena", "ParConstIter_1_1_2_1_default", "ParConstIter_1_1_2_1_pinned", - "ParConstIter_pureSoA_7_0_arena", - "ParConstIter_pureSoA_7_0_default", - "ParConstIter_pureSoA_7_0_pinned", + "ParConstIter_pureSoA_5_0_arena", + "ParConstIter_pureSoA_5_0_default", + "ParConstIter_pureSoA_5_0_pinned", "ParConstIter_pureSoA_8_0_arena", "ParConstIter_pureSoA_8_0_default", "ParConstIter_pureSoA_8_0_pinned", @@ -385,9 +392,9 @@ __all__ = [ "ParIterBase_1_1_2_1_arena", "ParIterBase_1_1_2_1_default", "ParIterBase_1_1_2_1_pinned", - "ParIterBase_pureSoA_7_0_arena", - "ParIterBase_pureSoA_7_0_default", - "ParIterBase_pureSoA_7_0_pinned", + "ParIterBase_pureSoA_5_0_arena", + "ParIterBase_pureSoA_5_0_default", + "ParIterBase_pureSoA_5_0_pinned", "ParIterBase_pureSoA_8_0_arena", "ParIterBase_pureSoA_8_0_default", "ParIterBase_pureSoA_8_0_pinned", @@ -400,9 +407,9 @@ __all__ = [ "ParIter_1_1_2_1_arena", "ParIter_1_1_2_1_default", "ParIter_1_1_2_1_pinned", - "ParIter_pureSoA_7_0_arena", - "ParIter_pureSoA_7_0_default", - "ParIter_pureSoA_7_0_pinned", + "ParIter_pureSoA_5_0_arena", + "ParIter_pureSoA_5_0_default", + "ParIter_pureSoA_5_0_pinned", "ParIter_pureSoA_8_0_arena", "ParIter_pureSoA_8_0_default", "ParIter_pureSoA_8_0_pinned", @@ -417,9 +424,9 @@ __all__ = [ "ParticleContainer_1_1_2_1_arena", "ParticleContainer_1_1_2_1_default", "ParticleContainer_1_1_2_1_pinned", - "ParticleContainer_pureSoA_7_0_arena", - "ParticleContainer_pureSoA_7_0_default", - "ParticleContainer_pureSoA_7_0_pinned", + "ParticleContainer_pureSoA_5_0_arena", + "ParticleContainer_pureSoA_5_0_default", + "ParticleContainer_pureSoA_5_0_pinned", "ParticleContainer_pureSoA_8_0_arena", "ParticleContainer_pureSoA_8_0_default", "ParticleContainer_pureSoA_8_0_pinned", @@ -429,9 +436,9 @@ __all__ = [ "ParticleTileData_0_0_37_1", "ParticleTileData_0_0_4_0", "ParticleTileData_0_0_5_0", - "ParticleTileData_0_0_7_0", - "ParticleTileData_0_0_8_0", "ParticleTileData_1_1_2_1", + "ParticleTileData_pureSoA_0_0_5_0", + "ParticleTileData_pureSoA_0_0_8_0", "ParticleTile_0_0_37_1_arena", "ParticleTile_0_0_37_1_default", "ParticleTile_0_0_37_1_pinned", @@ -441,15 +448,15 @@ __all__ = [ "ParticleTile_0_0_5_0_arena", "ParticleTile_0_0_5_0_default", "ParticleTile_0_0_5_0_pinned", - "ParticleTile_0_0_7_0_arena", - "ParticleTile_0_0_7_0_default", - "ParticleTile_0_0_7_0_pinned", - "ParticleTile_0_0_8_0_arena", - "ParticleTile_0_0_8_0_default", - "ParticleTile_0_0_8_0_pinned", "ParticleTile_1_1_2_1_arena", "ParticleTile_1_1_2_1_default", "ParticleTile_1_1_2_1_pinned", + "ParticleTile_pureSoA_0_0_5_0_arena", + "ParticleTile_pureSoA_0_0_5_0_default", + "ParticleTile_pureSoA_0_0_5_0_pinned", + "ParticleTile_pureSoA_0_0_8_0_arena", + "ParticleTile_pureSoA_0_0_8_0_default", + "ParticleTile_pureSoA_0_0_8_0_pinned", "Particle_0_0", "Particle_1_1", "Particle_2_1", @@ -457,6 +464,7 @@ __all__ = [ "Particle_3_2", "Particle_4_0", "Particle_5_0", + "Particle_6_0", "Particle_7_0", "Particle_8_0", "Periodicity", @@ -474,13 +482,13 @@ __all__ = [ "StructOfArrays_4_0_pinned", "StructOfArrays_5_0_arena", "StructOfArrays_5_0_default", + "StructOfArrays_5_0_idcpu_arena", + "StructOfArrays_5_0_idcpu_default", + "StructOfArrays_5_0_idcpu_pinned", "StructOfArrays_5_0_pinned", - "StructOfArrays_7_0_arena", - "StructOfArrays_7_0_default", - "StructOfArrays_7_0_pinned", - "StructOfArrays_8_0_arena", - "StructOfArrays_8_0_default", - "StructOfArrays_8_0_pinned", + "StructOfArrays_8_0_idcpu_arena", + "StructOfArrays_8_0_idcpu_default", + "StructOfArrays_8_0_idcpu_pinned", "The_Arena", "The_Async_Arena", "The_Cpu_Arena", diff --git a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi index 188b1bb7..c54b78c5 100644 --- a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi +++ b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi @@ -107,6 +107,9 @@ __all__ = [ "PODVector_real_arena", "PODVector_real_pinned", "PODVector_real_std", + "PODVector_uint64_arena", + "PODVector_uint64_pinned", + "PODVector_uint64_std", "ParConstIterBase_0_0_4_0_arena", "ParConstIterBase_0_0_4_0_default", "ParConstIterBase_0_0_4_0_pinned", @@ -116,9 +119,9 @@ __all__ = [ "ParConstIterBase_1_1_2_1_arena", "ParConstIterBase_1_1_2_1_default", "ParConstIterBase_1_1_2_1_pinned", - "ParConstIterBase_pureSoA_7_0_arena", - "ParConstIterBase_pureSoA_7_0_default", - "ParConstIterBase_pureSoA_7_0_pinned", + "ParConstIterBase_pureSoA_5_0_arena", + "ParConstIterBase_pureSoA_5_0_default", + "ParConstIterBase_pureSoA_5_0_pinned", "ParConstIterBase_pureSoA_8_0_arena", "ParConstIterBase_pureSoA_8_0_default", "ParConstIterBase_pureSoA_8_0_pinned", @@ -131,9 +134,9 @@ __all__ = [ "ParConstIter_1_1_2_1_arena", "ParConstIter_1_1_2_1_default", "ParConstIter_1_1_2_1_pinned", - "ParConstIter_pureSoA_7_0_arena", - "ParConstIter_pureSoA_7_0_default", - "ParConstIter_pureSoA_7_0_pinned", + "ParConstIter_pureSoA_5_0_arena", + "ParConstIter_pureSoA_5_0_default", + "ParConstIter_pureSoA_5_0_pinned", "ParConstIter_pureSoA_8_0_arena", "ParConstIter_pureSoA_8_0_default", "ParConstIter_pureSoA_8_0_pinned", @@ -146,9 +149,9 @@ __all__ = [ "ParIterBase_1_1_2_1_arena", "ParIterBase_1_1_2_1_default", "ParIterBase_1_1_2_1_pinned", - "ParIterBase_pureSoA_7_0_arena", - "ParIterBase_pureSoA_7_0_default", - "ParIterBase_pureSoA_7_0_pinned", + "ParIterBase_pureSoA_5_0_arena", + "ParIterBase_pureSoA_5_0_default", + "ParIterBase_pureSoA_5_0_pinned", "ParIterBase_pureSoA_8_0_arena", "ParIterBase_pureSoA_8_0_default", "ParIterBase_pureSoA_8_0_pinned", @@ -161,9 +164,9 @@ __all__ = [ "ParIter_1_1_2_1_arena", "ParIter_1_1_2_1_default", "ParIter_1_1_2_1_pinned", - "ParIter_pureSoA_7_0_arena", - "ParIter_pureSoA_7_0_default", - "ParIter_pureSoA_7_0_pinned", + "ParIter_pureSoA_5_0_arena", + "ParIter_pureSoA_5_0_default", + "ParIter_pureSoA_5_0_pinned", "ParIter_pureSoA_8_0_arena", "ParIter_pureSoA_8_0_default", "ParIter_pureSoA_8_0_pinned", @@ -178,9 +181,9 @@ __all__ = [ "ParticleContainer_1_1_2_1_arena", "ParticleContainer_1_1_2_1_default", "ParticleContainer_1_1_2_1_pinned", - "ParticleContainer_pureSoA_7_0_arena", - "ParticleContainer_pureSoA_7_0_default", - "ParticleContainer_pureSoA_7_0_pinned", + "ParticleContainer_pureSoA_5_0_arena", + "ParticleContainer_pureSoA_5_0_default", + "ParticleContainer_pureSoA_5_0_pinned", "ParticleContainer_pureSoA_8_0_arena", "ParticleContainer_pureSoA_8_0_default", "ParticleContainer_pureSoA_8_0_pinned", @@ -190,9 +193,9 @@ __all__ = [ "ParticleTileData_0_0_37_1", "ParticleTileData_0_0_4_0", "ParticleTileData_0_0_5_0", - "ParticleTileData_0_0_7_0", - "ParticleTileData_0_0_8_0", "ParticleTileData_1_1_2_1", + "ParticleTileData_pureSoA_0_0_5_0", + "ParticleTileData_pureSoA_0_0_8_0", "ParticleTile_0_0_37_1_arena", "ParticleTile_0_0_37_1_default", "ParticleTile_0_0_37_1_pinned", @@ -202,15 +205,15 @@ __all__ = [ "ParticleTile_0_0_5_0_arena", "ParticleTile_0_0_5_0_default", "ParticleTile_0_0_5_0_pinned", - "ParticleTile_0_0_7_0_arena", - "ParticleTile_0_0_7_0_default", - "ParticleTile_0_0_7_0_pinned", - "ParticleTile_0_0_8_0_arena", - "ParticleTile_0_0_8_0_default", - "ParticleTile_0_0_8_0_pinned", "ParticleTile_1_1_2_1_arena", "ParticleTile_1_1_2_1_default", "ParticleTile_1_1_2_1_pinned", + "ParticleTile_pureSoA_0_0_5_0_arena", + "ParticleTile_pureSoA_0_0_5_0_default", + "ParticleTile_pureSoA_0_0_5_0_pinned", + "ParticleTile_pureSoA_0_0_8_0_arena", + "ParticleTile_pureSoA_0_0_8_0_default", + "ParticleTile_pureSoA_0_0_8_0_pinned", "Particle_0_0", "Particle_1_1", "Particle_2_1", @@ -218,6 +221,7 @@ __all__ = [ "Particle_3_2", "Particle_4_0", "Particle_5_0", + "Particle_6_0", "Particle_7_0", "Particle_8_0", "Periodicity", @@ -234,13 +238,13 @@ __all__ = [ "StructOfArrays_4_0_pinned", "StructOfArrays_5_0_arena", "StructOfArrays_5_0_default", + "StructOfArrays_5_0_idcpu_arena", + "StructOfArrays_5_0_idcpu_default", + "StructOfArrays_5_0_idcpu_pinned", "StructOfArrays_5_0_pinned", - "StructOfArrays_7_0_arena", - "StructOfArrays_7_0_default", - "StructOfArrays_7_0_pinned", - "StructOfArrays_8_0_arena", - "StructOfArrays_8_0_default", - "StructOfArrays_8_0_pinned", + "StructOfArrays_8_0_idcpu_arena", + "StructOfArrays_8_0_idcpu_default", + "StructOfArrays_8_0_idcpu_pinned", "The_Arena", "The_Async_Arena", "The_Cpu_Arena", @@ -5338,6 +5342,216 @@ class PODVector_real_std: @property def __cuda_array_interface__(self) -> dict: ... +class PODVector_uint64_arena: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_arena) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + +class PODVector_uint64_pinned: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_pinned) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + +class PODVector_uint64_std: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_std) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + class ParConstIterBase_0_0_4_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = False def __init__( @@ -5581,16 +5795,16 @@ class ParConstIterBase_1_1_2_1_pinned(MFIter): the number of particles on this tile """ -class ParConstIterBase_pureSoA_7_0_arena(MFIter): +class ParConstIterBase_pureSoA_5_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_arena, level: int ) -> None: ... - def __iter__(self) -> ParConstIterBase_pureSoA_7_0_arena: ... - def __next__(self) -> ParConstIterBase_pureSoA_7_0_arena: ... + def __iter__(self) -> ParConstIterBase_pureSoA_5_0_arena: ... + def __next__(self) -> ParConstIterBase_pureSoA_5_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_arena: ... - def soa(self) -> StructOfArrays_7_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_5_0_arena: ... + def soa(self) -> StructOfArrays_5_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -5607,16 +5821,16 @@ class ParConstIterBase_pureSoA_7_0_arena(MFIter): the number of particles on this tile """ -class ParConstIterBase_pureSoA_7_0_default(MFIter): +class ParConstIterBase_pureSoA_5_0_default(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_default, level: int ) -> None: ... - def __iter__(self) -> ParConstIterBase_pureSoA_7_0_default: ... - def __next__(self) -> ParConstIterBase_pureSoA_7_0_default: ... + def __iter__(self) -> ParConstIterBase_pureSoA_5_0_default: ... + def __next__(self) -> ParConstIterBase_pureSoA_5_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_default: ... - def soa(self) -> StructOfArrays_7_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_5_0_default: ... + def soa(self) -> StructOfArrays_5_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -5633,16 +5847,16 @@ class ParConstIterBase_pureSoA_7_0_default(MFIter): the number of particles on this tile """ -class ParConstIterBase_pureSoA_7_0_pinned(MFIter): +class ParConstIterBase_pureSoA_5_0_pinned(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_pinned, level: int ) -> None: ... - def __iter__(self) -> ParConstIterBase_pureSoA_7_0_pinned: ... - def __next__(self) -> ParConstIterBase_pureSoA_7_0_pinned: ... + def __iter__(self) -> ParConstIterBase_pureSoA_5_0_pinned: ... + def __next__(self) -> ParConstIterBase_pureSoA_5_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_pinned: ... - def soa(self) -> StructOfArrays_7_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_5_0_pinned: ... + def soa(self) -> StructOfArrays_5_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -5667,8 +5881,8 @@ class ParConstIterBase_pureSoA_8_0_arena(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_arena: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_arena: ... - def soa(self) -> StructOfArrays_8_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_arena: ... + def soa(self) -> StructOfArrays_8_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -5693,8 +5907,8 @@ class ParConstIterBase_pureSoA_8_0_default(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_default: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_default: ... - def soa(self) -> StructOfArrays_8_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_default: ... + def soa(self) -> StructOfArrays_8_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -5719,8 +5933,8 @@ class ParConstIterBase_pureSoA_8_0_pinned(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_pinned: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_pinned: ... - def soa(self) -> StructOfArrays_8_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_pinned: ... + def soa(self) -> StructOfArrays_8_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -5800,24 +6014,24 @@ class ParConstIter_1_1_2_1_pinned(ParConstIterBase_1_1_2_1_pinned): ) -> None: ... def __repr__(self) -> str: ... -class ParConstIter_pureSoA_7_0_arena(ParConstIterBase_pureSoA_7_0_arena): +class ParConstIter_pureSoA_5_0_arena(ParConstIterBase_pureSoA_5_0_arena): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_arena, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParConstIter_pureSoA_7_0_default(ParConstIterBase_pureSoA_7_0_default): +class ParConstIter_pureSoA_5_0_default(ParConstIterBase_pureSoA_5_0_default): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_default, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParConstIter_pureSoA_7_0_pinned(ParConstIterBase_pureSoA_7_0_pinned): +class ParConstIter_pureSoA_5_0_pinned(ParConstIterBase_pureSoA_5_0_pinned): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_pinned, level: int ) -> None: ... def __repr__(self) -> str: ... @@ -6085,16 +6299,16 @@ class ParIterBase_1_1_2_1_pinned(MFIter): the number of particles on this tile """ -class ParIterBase_pureSoA_7_0_arena(MFIter): +class ParIterBase_pureSoA_5_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_arena, level: int ) -> None: ... - def __iter__(self) -> ParIterBase_pureSoA_7_0_arena: ... - def __next__(self) -> ParIterBase_pureSoA_7_0_arena: ... + def __iter__(self) -> ParIterBase_pureSoA_5_0_arena: ... + def __next__(self) -> ParIterBase_pureSoA_5_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_arena: ... - def soa(self) -> StructOfArrays_7_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_5_0_arena: ... + def soa(self) -> StructOfArrays_5_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -6111,16 +6325,16 @@ class ParIterBase_pureSoA_7_0_arena(MFIter): the number of particles on this tile """ -class ParIterBase_pureSoA_7_0_default(MFIter): +class ParIterBase_pureSoA_5_0_default(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_default, level: int ) -> None: ... - def __iter__(self) -> ParIterBase_pureSoA_7_0_default: ... - def __next__(self) -> ParIterBase_pureSoA_7_0_default: ... + def __iter__(self) -> ParIterBase_pureSoA_5_0_default: ... + def __next__(self) -> ParIterBase_pureSoA_5_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_default: ... - def soa(self) -> StructOfArrays_7_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_5_0_default: ... + def soa(self) -> StructOfArrays_5_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -6137,16 +6351,16 @@ class ParIterBase_pureSoA_7_0_default(MFIter): the number of particles on this tile """ -class ParIterBase_pureSoA_7_0_pinned(MFIter): +class ParIterBase_pureSoA_5_0_pinned(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_pinned, level: int ) -> None: ... - def __iter__(self) -> ParIterBase_pureSoA_7_0_pinned: ... - def __next__(self) -> ParIterBase_pureSoA_7_0_pinned: ... + def __iter__(self) -> ParIterBase_pureSoA_5_0_pinned: ... + def __next__(self) -> ParIterBase_pureSoA_5_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_pinned: ... - def soa(self) -> StructOfArrays_7_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_5_0_pinned: ... + def soa(self) -> StructOfArrays_5_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -6171,8 +6385,8 @@ class ParIterBase_pureSoA_8_0_arena(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_arena: ... def __next__(self) -> ParIterBase_pureSoA_8_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_arena: ... - def soa(self) -> StructOfArrays_8_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_arena: ... + def soa(self) -> StructOfArrays_8_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -6197,8 +6411,8 @@ class ParIterBase_pureSoA_8_0_default(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_default: ... def __next__(self) -> ParIterBase_pureSoA_8_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_default: ... - def soa(self) -> StructOfArrays_8_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_default: ... + def soa(self) -> StructOfArrays_8_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -6223,8 +6437,8 @@ class ParIterBase_pureSoA_8_0_pinned(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_pinned: ... def __next__(self) -> ParIterBase_pureSoA_8_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_pinned: ... - def soa(self) -> StructOfArrays_8_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_pinned: ... + def soa(self) -> StructOfArrays_8_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -6304,24 +6518,24 @@ class ParIter_1_1_2_1_pinned(ParIterBase_1_1_2_1_pinned): ) -> None: ... def __repr__(self) -> str: ... -class ParIter_pureSoA_7_0_arena(ParIterBase_pureSoA_7_0_arena): +class ParIter_pureSoA_5_0_arena(ParIterBase_pureSoA_5_0_arena): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_arena, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParIter_pureSoA_7_0_default(ParIterBase_pureSoA_7_0_default): +class ParIter_pureSoA_5_0_default(ParIterBase_pureSoA_5_0_default): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_default, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParIter_pureSoA_7_0_pinned(ParIterBase_pureSoA_7_0_pinned): +class ParIter_pureSoA_5_0_pinned(ParIterBase_pureSoA_5_0_pinned): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_5_0_pinned, level: int ) -> None: ... def __repr__(self) -> str: ... @@ -7762,16 +7976,16 @@ class ParticleContainer_1_1_2_1_pinned: The number of runtime Real components in SoA """ -class ParticleContainer_pureSoA_7_0_arena: +class ParticleContainer_pureSoA_5_0_arena: NArrayInt: typing.ClassVar[int] = 0 - NArrayReal: typing.ClassVar[int] = 7 + NArrayReal: typing.ClassVar[int] = 5 NStructInt: typing.ClassVar[int] = 0 NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True - const_iterator = ParConstIter_pureSoA_7_0_arena - iterator = ParIter_pureSoA_7_0_arena + const_iterator = ParConstIter_pureSoA_5_0_arena + iterator = ParIter_pureSoA_5_0_arena def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_arena, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_5_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -7798,7 +8012,7 @@ class ParticleContainer_pureSoA_7_0_arena: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_arena]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_5_0_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -7899,16 +8113,19 @@ class ParticleContainer_pureSoA_7_0_arena: The number of runtime Real components in SoA """ -class ParticleContainer_pureSoA_7_0_default: +class ParticleContainer_pureSoA_5_0_default: NArrayInt: typing.ClassVar[int] = 0 - NArrayReal: typing.ClassVar[int] = 7 + NArrayReal: typing.ClassVar[int] = 5 NStructInt: typing.ClassVar[int] = 0 NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True - const_iterator = ParConstIter_pureSoA_7_0_default - iterator = ParIter_pureSoA_7_0_default + const_iterator = ParConstIter_pureSoA_5_0_default + iterator = ParIter_pureSoA_5_0_default def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_default, level: int, ngrow: int = 0 + self, + particles: ParticleTile_pureSoA_0_0_5_0_default, + level: int, + ngrow: int = 0, ) -> None: ... def ByteSpread( self, @@ -7935,7 +8152,7 @@ class ParticleContainer_pureSoA_7_0_default: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_default]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_5_0_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8036,16 +8253,16 @@ class ParticleContainer_pureSoA_7_0_default: The number of runtime Real components in SoA """ -class ParticleContainer_pureSoA_7_0_pinned: +class ParticleContainer_pureSoA_5_0_pinned: NArrayInt: typing.ClassVar[int] = 0 - NArrayReal: typing.ClassVar[int] = 7 + NArrayReal: typing.ClassVar[int] = 5 NStructInt: typing.ClassVar[int] = 0 NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True - const_iterator = ParConstIter_pureSoA_7_0_pinned - iterator = ParIter_pureSoA_7_0_pinned + const_iterator = ParConstIter_pureSoA_5_0_pinned + iterator = ParIter_pureSoA_5_0_pinned def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_pinned, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_5_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8072,7 +8289,7 @@ class ParticleContainer_pureSoA_7_0_pinned: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_pinned]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_5_0_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8182,7 +8399,7 @@ class ParticleContainer_pureSoA_8_0_arena: const_iterator = ParConstIter_pureSoA_8_0_arena iterator = ParIter_pureSoA_8_0_arena def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_arena, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_8_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8209,7 +8426,7 @@ class ParticleContainer_pureSoA_8_0_arena: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_arena]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8319,7 +8536,10 @@ class ParticleContainer_pureSoA_8_0_default: const_iterator = ParConstIter_pureSoA_8_0_default iterator = ParIter_pureSoA_8_0_default def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_default, level: int, ngrow: int = 0 + self, + particles: ParticleTile_pureSoA_0_0_8_0_default, + level: int, + ngrow: int = 0, ) -> None: ... def ByteSpread( self, @@ -8346,7 +8566,7 @@ class ParticleContainer_pureSoA_8_0_default: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_default]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8456,7 +8676,7 @@ class ParticleContainer_pureSoA_8_0_pinned: const_iterator = ParConstIter_pureSoA_8_0_pinned iterator = ParIter_pureSoA_8_0_pinned def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_pinned, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_8_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8483,7 +8703,7 @@ class ParticleContainer_pureSoA_8_0_pinned: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_pinned]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8671,12 +8891,12 @@ class ParticleTileData_0_0_5_0: @property def m_size(self) -> int: ... -class ParticleTileData_0_0_7_0: - def __getitem__(self, arg0: int) -> Particle_7_0: ... +class ParticleTileData_1_1_2_1: + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_7_0: ... - def setSuperParticle(self, arg0: Particle_7_0, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_3_2: ... + def setSuperParticle(self, arg0: Particle_3_2, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -8684,12 +8904,12 @@ class ParticleTileData_0_0_7_0: @property def m_size(self) -> int: ... -class ParticleTileData_0_0_8_0: - def __getitem__(self, arg0: int) -> Particle_8_0: ... +class ParticleTileData_pureSoA_0_0_5_0: + def __getitem__(self, arg0: int) -> Particle_5_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_8_0: ... - def setSuperParticle(self, arg0: Particle_8_0, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_5_0: ... + def setSuperParticle(self, arg0: Particle_5_0, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -8697,12 +8917,12 @@ class ParticleTileData_0_0_8_0: @property def m_size(self) -> int: ... -class ParticleTileData_1_1_2_1: - def __getitem__(self, arg0: int) -> Particle_3_2: ... +class ParticleTileData_pureSoA_0_0_8_0: + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_3_2: ... - def setSuperParticle(self, arg0: Particle_3_2, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_8_0: ... + def setSuperParticle(self, arg0: Particle_8_0, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -9205,27 +9425,34 @@ class ParticleTile_0_0_5_0_pinned: def size(self) -> int: ... def swap(self, arg0: ParticleTile_0_0_5_0_pinned) -> None: ... -class ParticleTile_0_0_7_0_arena: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_arena: ... +class ParticleTile_1_1_2_1_arena: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_arena: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9234,7 +9461,7 @@ class ParticleTile_0_0_7_0_arena: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9243,7 +9470,7 @@ class ParticleTile_0_0_7_0_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9251,29 +9478,36 @@ class ParticleTile_0_0_7_0_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_arena) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_arena) -> None: ... -class ParticleTile_0_0_7_0_default: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_default: ... +class ParticleTile_1_1_2_1_default: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_default: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9282,7 +9516,7 @@ class ParticleTile_0_0_7_0_default: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9291,7 +9525,7 @@ class ParticleTile_0_0_7_0_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9299,29 +9533,36 @@ class ParticleTile_0_0_7_0_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_default) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_default) -> None: ... -class ParticleTile_0_0_7_0_pinned: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_pinned: ... +class ParticleTile_1_1_2_1_pinned: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_pinned: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9330,7 +9571,7 @@ class ParticleTile_0_0_7_0_pinned: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9339,7 +9580,7 @@ class ParticleTile_0_0_7_0_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9347,29 +9588,29 @@ class ParticleTile_0_0_7_0_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_pinned) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_pinned) -> None: ... -class ParticleTile_0_0_8_0_arena: +class ParticleTile_pureSoA_0_0_5_0_arena: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_arena: ... + NAR: typing.ClassVar[int] = 5 + def GetStructOfArrays(self) -> StructOfArrays_5_0_idcpu_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_5_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_5_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_5_0) -> None: """ Add one particle to this tile. """ @@ -9387,7 +9628,7 @@ class ParticleTile_0_0_8_0_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(5)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9395,29 +9636,29 @@ class ParticleTile_0_0_8_0_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_arena) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_5_0_arena) -> None: ... -class ParticleTile_0_0_8_0_default: +class ParticleTile_pureSoA_0_0_5_0_default: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_default: ... + NAR: typing.ClassVar[int] = 5 + def GetStructOfArrays(self) -> StructOfArrays_5_0_idcpu_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_5_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_5_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_5_0) -> None: """ Add one particle to this tile. """ @@ -9435,7 +9676,7 @@ class ParticleTile_0_0_8_0_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(5)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9443,29 +9684,29 @@ class ParticleTile_0_0_8_0_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_default) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_5_0_default) -> None: ... -class ParticleTile_0_0_8_0_pinned: +class ParticleTile_pureSoA_0_0_5_0_pinned: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_pinned: ... + NAR: typing.ClassVar[int] = 5 + def GetStructOfArrays(self) -> StructOfArrays_5_0_idcpu_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_5_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_5_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_5_0) -> None: """ Add one particle to this tile. """ @@ -9483,7 +9724,7 @@ class ParticleTile_0_0_8_0_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(5)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9491,36 +9732,29 @@ class ParticleTile_0_0_8_0_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_pinned) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_5_0_pinned) -> None: ... -class ParticleTile_1_1_2_1_arena: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_arena: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_arena: ... +class ParticleTile_pureSoA_0_0_8_0_arena: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9529,7 +9763,7 @@ class ParticleTile_1_1_2_1_arena: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9538,7 +9772,7 @@ class ParticleTile_1_1_2_1_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9546,36 +9780,29 @@ class ParticleTile_1_1_2_1_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_arena) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_arena) -> None: ... -class ParticleTile_1_1_2_1_default: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_default: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_default: ... +class ParticleTile_pureSoA_0_0_8_0_default: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9584,7 +9811,7 @@ class ParticleTile_1_1_2_1_default: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9593,7 +9820,7 @@ class ParticleTile_1_1_2_1_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9601,36 +9828,29 @@ class ParticleTile_1_1_2_1_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_default) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_default) -> None: ... -class ParticleTile_1_1_2_1_pinned: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_pinned: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_pinned: ... +class ParticleTile_pureSoA_0_0_8_0_pinned: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9639,7 +9859,7 @@ class ParticleTile_1_1_2_1_pinned: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9648,7 +9868,7 @@ class ParticleTile_1_1_2_1_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9656,7 +9876,7 @@ class ParticleTile_1_1_2_1_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_pinned) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_pinned) -> None: ... class Particle_0_0: NInt: typing.ClassVar[int] = 0 @@ -10112,6 +10332,70 @@ class Particle_5_0: arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(5)], ) -> None: ... +class Particle_6_0: + NInt: typing.ClassVar[int] = 0 + NReal: typing.ClassVar[int] = 6 + x: float + @typing.overload + def NextID(self) -> int: ... + @typing.overload + def NextID(self, arg0: int) -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, arg0: float) -> None: ... + @typing.overload + def __init__(self, arg0: float, *args) -> None: ... + @typing.overload + def __init__(self, arg0: float, **kwargs) -> None: ... + @typing.overload + def __init__(self, **kwargs) -> None: ... + def __repr__(self) -> str: ... + def __str__(self) -> str: ... + def cpu(self) -> int: ... + @typing.overload + def get_idata(self, arg0: int) -> None: ... + @typing.overload + def get_idata(self) -> None: ... + @typing.overload + def get_rdata(self, arg0: int) -> float: ... + @typing.overload + def get_rdata( + self, + ) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ... + def id(self) -> int: ... + @typing.overload + def pos(self, arg0: int) -> float: ... + @typing.overload + def pos(self) -> RealVect: ... + @typing.overload + def setPos(self, arg0: int, arg1: float) -> None: ... + @typing.overload + def setPos(self, arg0: RealVect) -> None: ... + @typing.overload + def setPos( + self, + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(1)], + ) -> None: ... + @typing.overload + def set_idata(self, arg0: int, arg1: int) -> None: ... + @typing.overload + def set_idata(self, arg0: IntVect) -> None: ... + @typing.overload + def set_idata( + self, + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + ) -> None: ... + @typing.overload + def set_rdata(self, arg0: int, arg1: float) -> None: ... + @typing.overload + def set_rdata(self, arg0: RealVect) -> None: ... + @typing.overload + def set_rdata( + self, + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)], + ) -> None: ... + class Particle_7_0: NInt: typing.ClassVar[int] = 0 NReal: typing.ClassVar[int] = 7 @@ -11579,18 +11863,22 @@ class StructOfArrays_5_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_5_0_pinned: +class StructOfArrays_5_0_idcpu_arena: + def GetIdCPUData(self) -> PODVector_uint64_arena: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, ) -> typing.Annotated[ - list[PODVector_int_pinned], pybind11_stubgen.typing_ext.FixedSize(0) + list[PODVector_int_arena], pybind11_stubgen.typing_ext.FixedSize(0) ]: """ Get access to the particle Int Arrays (only compile-time components) """ @typing.overload - def GetIntData(self, index: int) -> PODVector_int_pinned: + def GetIntData(self, index: int) -> PODVector_int_arena: """ Get access to a particle Real component Array (compile-time and runtime component) """ @@ -11598,13 +11886,13 @@ class StructOfArrays_5_0_pinned: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_pinned], pybind11_stubgen.typing_ext.FixedSize(5) + list[PODVector_real_arena], pybind11_stubgen.typing_ext.FixedSize(5) ]: """ Get access to the particle Real Arrays (only compile-time components) """ @typing.overload - def GetRealData(self, index: int) -> PODVector_real_pinned: + def GetRealData(self, index: int) -> PODVector_real_arena: """ Get access to a particle Real component Array (compile-time and runtime component) """ @@ -11678,18 +11966,22 @@ class StructOfArrays_5_0_pinned: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_arena: +class StructOfArrays_5_0_idcpu_default: + def GetIdCPUData(self) -> PODVector_uint64_std: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, ) -> typing.Annotated[ - list[PODVector_int_arena], pybind11_stubgen.typing_ext.FixedSize(0) + list[PODVector_int_std], pybind11_stubgen.typing_ext.FixedSize(0) ]: """ Get access to the particle Int Arrays (only compile-time components) """ @typing.overload - def GetIntData(self, index: int) -> PODVector_int_arena: + def GetIntData(self, index: int) -> PODVector_int_std: """ Get access to a particle Real component Array (compile-time and runtime component) """ @@ -11697,13 +11989,13 @@ class StructOfArrays_7_0_arena: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_arena], pybind11_stubgen.typing_ext.FixedSize(7) + list[PODVector_real_std], pybind11_stubgen.typing_ext.FixedSize(5) ]: """ Get access to the particle Real Arrays (only compile-time components) """ @typing.overload - def GetRealData(self, index: int) -> PODVector_real_arena: + def GetRealData(self, index: int) -> PODVector_real_std: """ Get access to a particle Real component Array (compile-time and runtime component) """ @@ -11777,18 +12069,22 @@ class StructOfArrays_7_0_arena: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_default: +class StructOfArrays_5_0_idcpu_pinned: + def GetIdCPUData(self) -> PODVector_uint64_pinned: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, ) -> typing.Annotated[ - list[PODVector_int_std], pybind11_stubgen.typing_ext.FixedSize(0) + list[PODVector_int_pinned], pybind11_stubgen.typing_ext.FixedSize(0) ]: """ Get access to the particle Int Arrays (only compile-time components) """ @typing.overload - def GetIntData(self, index: int) -> PODVector_int_std: + def GetIntData(self, index: int) -> PODVector_int_pinned: """ Get access to a particle Real component Array (compile-time and runtime component) """ @@ -11796,13 +12092,13 @@ class StructOfArrays_7_0_default: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_std], pybind11_stubgen.typing_ext.FixedSize(7) + list[PODVector_real_pinned], pybind11_stubgen.typing_ext.FixedSize(5) ]: """ Get access to the particle Real Arrays (only compile-time components) """ @typing.overload - def GetRealData(self, index: int) -> PODVector_real_std: + def GetRealData(self, index: int) -> PODVector_real_pinned: """ Get access to a particle Real component Array (compile-time and runtime component) """ @@ -11876,7 +12172,7 @@ class StructOfArrays_7_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_pinned: +class StructOfArrays_5_0_pinned: @typing.overload def GetIntData( self, @@ -11895,7 +12191,7 @@ class StructOfArrays_7_0_pinned: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_pinned], pybind11_stubgen.typing_ext.FixedSize(7) + list[PODVector_real_pinned], pybind11_stubgen.typing_ext.FixedSize(5) ]: """ Get access to the particle Real Arrays (only compile-time components) @@ -11975,7 +12271,11 @@ class StructOfArrays_7_0_pinned: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_arena: +class StructOfArrays_8_0_idcpu_arena: + def GetIdCPUData(self) -> PODVector_uint64_arena: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12074,7 +12374,11 @@ class StructOfArrays_8_0_arena: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_default: +class StructOfArrays_8_0_idcpu_default: + def GetIdCPUData(self) -> PODVector_uint64_std: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12173,7 +12477,11 @@ class StructOfArrays_8_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_pinned: +class StructOfArrays_8_0_idcpu_pinned: + def GetIdCPUData(self) -> PODVector_uint64_pinned: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, diff --git a/src/amrex/space2d/__init__.pyi b/src/amrex/space2d/__init__.pyi index 9fa14d0d..0a86cd3e 100644 --- a/src/amrex/space2d/__init__.pyi +++ b/src/amrex/space2d/__init__.pyi @@ -111,9 +111,9 @@ from amrex.space2d.amrex_2d_pybind import ( ParConstIter_1_1_2_1_arena, ParConstIter_1_1_2_1_default, ParConstIter_1_1_2_1_pinned, - ParConstIter_pureSoA_7_0_arena, - ParConstIter_pureSoA_7_0_default, - ParConstIter_pureSoA_7_0_pinned, + ParConstIter_pureSoA_6_0_arena, + ParConstIter_pureSoA_6_0_default, + ParConstIter_pureSoA_6_0_pinned, ParConstIter_pureSoA_8_0_arena, ParConstIter_pureSoA_8_0_default, ParConstIter_pureSoA_8_0_pinned, @@ -126,9 +126,9 @@ from amrex.space2d.amrex_2d_pybind import ( ParConstIterBase_1_1_2_1_arena, ParConstIterBase_1_1_2_1_default, ParConstIterBase_1_1_2_1_pinned, - ParConstIterBase_pureSoA_7_0_arena, - ParConstIterBase_pureSoA_7_0_default, - ParConstIterBase_pureSoA_7_0_pinned, + ParConstIterBase_pureSoA_6_0_arena, + ParConstIterBase_pureSoA_6_0_default, + ParConstIterBase_pureSoA_6_0_pinned, ParConstIterBase_pureSoA_8_0_arena, ParConstIterBase_pureSoA_8_0_default, ParConstIterBase_pureSoA_8_0_pinned, @@ -141,9 +141,9 @@ from amrex.space2d.amrex_2d_pybind import ( ParIter_1_1_2_1_arena, ParIter_1_1_2_1_default, ParIter_1_1_2_1_pinned, - ParIter_pureSoA_7_0_arena, - ParIter_pureSoA_7_0_default, - ParIter_pureSoA_7_0_pinned, + ParIter_pureSoA_6_0_arena, + ParIter_pureSoA_6_0_default, + ParIter_pureSoA_6_0_pinned, ParIter_pureSoA_8_0_arena, ParIter_pureSoA_8_0_default, ParIter_pureSoA_8_0_pinned, @@ -156,9 +156,9 @@ from amrex.space2d.amrex_2d_pybind import ( ParIterBase_1_1_2_1_arena, ParIterBase_1_1_2_1_default, ParIterBase_1_1_2_1_pinned, - ParIterBase_pureSoA_7_0_arena, - ParIterBase_pureSoA_7_0_default, - ParIterBase_pureSoA_7_0_pinned, + ParIterBase_pureSoA_6_0_arena, + ParIterBase_pureSoA_6_0_default, + ParIterBase_pureSoA_6_0_pinned, ParIterBase_pureSoA_8_0_arena, ParIterBase_pureSoA_8_0_default, ParIterBase_pureSoA_8_0_pinned, @@ -169,6 +169,7 @@ from amrex.space2d.amrex_2d_pybind import ( Particle_3_2, Particle_4_0, Particle_5_0, + Particle_6_0, Particle_7_0, Particle_8_0, Particle_37_1, @@ -181,9 +182,9 @@ from amrex.space2d.amrex_2d_pybind import ( ParticleContainer_1_1_2_1_arena, ParticleContainer_1_1_2_1_default, ParticleContainer_1_1_2_1_pinned, - ParticleContainer_pureSoA_7_0_arena, - ParticleContainer_pureSoA_7_0_default, - ParticleContainer_pureSoA_7_0_pinned, + ParticleContainer_pureSoA_6_0_arena, + ParticleContainer_pureSoA_6_0_default, + ParticleContainer_pureSoA_6_0_pinned, ParticleContainer_pureSoA_8_0_arena, ParticleContainer_pureSoA_8_0_default, ParticleContainer_pureSoA_8_0_pinned, @@ -196,24 +197,24 @@ from amrex.space2d.amrex_2d_pybind import ( ParticleTile_0_0_5_0_arena, ParticleTile_0_0_5_0_default, ParticleTile_0_0_5_0_pinned, - ParticleTile_0_0_7_0_arena, - ParticleTile_0_0_7_0_default, - ParticleTile_0_0_7_0_pinned, - ParticleTile_0_0_8_0_arena, - ParticleTile_0_0_8_0_default, - ParticleTile_0_0_8_0_pinned, ParticleTile_0_0_37_1_arena, ParticleTile_0_0_37_1_default, ParticleTile_0_0_37_1_pinned, ParticleTile_1_1_2_1_arena, ParticleTile_1_1_2_1_default, ParticleTile_1_1_2_1_pinned, + ParticleTile_pureSoA_0_0_6_0_arena, + ParticleTile_pureSoA_0_0_6_0_default, + ParticleTile_pureSoA_0_0_6_0_pinned, + ParticleTile_pureSoA_0_0_8_0_arena, + ParticleTile_pureSoA_0_0_8_0_default, + ParticleTile_pureSoA_0_0_8_0_pinned, ParticleTileData_0_0_4_0, ParticleTileData_0_0_5_0, - ParticleTileData_0_0_7_0, - ParticleTileData_0_0_8_0, ParticleTileData_0_0_37_1, ParticleTileData_1_1_2_1, + ParticleTileData_pureSoA_0_0_6_0, + ParticleTileData_pureSoA_0_0_8_0, Periodicity, PIdx, PODVector_int_arena, @@ -222,6 +223,9 @@ from amrex.space2d.amrex_2d_pybind import ( PODVector_real_arena, PODVector_real_pinned, PODVector_real_std, + PODVector_uint64_arena, + PODVector_uint64_pinned, + PODVector_uint64_std, RealBox, RealVect, StructOfArrays_2_1_arena, @@ -233,12 +237,12 @@ from amrex.space2d.amrex_2d_pybind import ( StructOfArrays_5_0_arena, StructOfArrays_5_0_default, StructOfArrays_5_0_pinned, - StructOfArrays_7_0_arena, - StructOfArrays_7_0_default, - StructOfArrays_7_0_pinned, - StructOfArrays_8_0_arena, - StructOfArrays_8_0_default, - StructOfArrays_8_0_pinned, + StructOfArrays_6_0_idcpu_arena, + StructOfArrays_6_0_idcpu_default, + StructOfArrays_6_0_idcpu_pinned, + StructOfArrays_8_0_idcpu_arena, + StructOfArrays_8_0_idcpu_default, + StructOfArrays_8_0_idcpu_pinned, StructOfArrays_37_1_arena, StructOfArrays_37_1_default, StructOfArrays_37_1_pinned, @@ -346,6 +350,9 @@ __all__ = [ "PODVector_real_arena", "PODVector_real_pinned", "PODVector_real_std", + "PODVector_uint64_arena", + "PODVector_uint64_pinned", + "PODVector_uint64_std", "ParConstIterBase_0_0_4_0_arena", "ParConstIterBase_0_0_4_0_default", "ParConstIterBase_0_0_4_0_pinned", @@ -355,9 +362,9 @@ __all__ = [ "ParConstIterBase_1_1_2_1_arena", "ParConstIterBase_1_1_2_1_default", "ParConstIterBase_1_1_2_1_pinned", - "ParConstIterBase_pureSoA_7_0_arena", - "ParConstIterBase_pureSoA_7_0_default", - "ParConstIterBase_pureSoA_7_0_pinned", + "ParConstIterBase_pureSoA_6_0_arena", + "ParConstIterBase_pureSoA_6_0_default", + "ParConstIterBase_pureSoA_6_0_pinned", "ParConstIterBase_pureSoA_8_0_arena", "ParConstIterBase_pureSoA_8_0_default", "ParConstIterBase_pureSoA_8_0_pinned", @@ -370,9 +377,9 @@ __all__ = [ "ParConstIter_1_1_2_1_arena", "ParConstIter_1_1_2_1_default", "ParConstIter_1_1_2_1_pinned", - "ParConstIter_pureSoA_7_0_arena", - "ParConstIter_pureSoA_7_0_default", - "ParConstIter_pureSoA_7_0_pinned", + "ParConstIter_pureSoA_6_0_arena", + "ParConstIter_pureSoA_6_0_default", + "ParConstIter_pureSoA_6_0_pinned", "ParConstIter_pureSoA_8_0_arena", "ParConstIter_pureSoA_8_0_default", "ParConstIter_pureSoA_8_0_pinned", @@ -385,9 +392,9 @@ __all__ = [ "ParIterBase_1_1_2_1_arena", "ParIterBase_1_1_2_1_default", "ParIterBase_1_1_2_1_pinned", - "ParIterBase_pureSoA_7_0_arena", - "ParIterBase_pureSoA_7_0_default", - "ParIterBase_pureSoA_7_0_pinned", + "ParIterBase_pureSoA_6_0_arena", + "ParIterBase_pureSoA_6_0_default", + "ParIterBase_pureSoA_6_0_pinned", "ParIterBase_pureSoA_8_0_arena", "ParIterBase_pureSoA_8_0_default", "ParIterBase_pureSoA_8_0_pinned", @@ -400,9 +407,9 @@ __all__ = [ "ParIter_1_1_2_1_arena", "ParIter_1_1_2_1_default", "ParIter_1_1_2_1_pinned", - "ParIter_pureSoA_7_0_arena", - "ParIter_pureSoA_7_0_default", - "ParIter_pureSoA_7_0_pinned", + "ParIter_pureSoA_6_0_arena", + "ParIter_pureSoA_6_0_default", + "ParIter_pureSoA_6_0_pinned", "ParIter_pureSoA_8_0_arena", "ParIter_pureSoA_8_0_default", "ParIter_pureSoA_8_0_pinned", @@ -417,9 +424,9 @@ __all__ = [ "ParticleContainer_1_1_2_1_arena", "ParticleContainer_1_1_2_1_default", "ParticleContainer_1_1_2_1_pinned", - "ParticleContainer_pureSoA_7_0_arena", - "ParticleContainer_pureSoA_7_0_default", - "ParticleContainer_pureSoA_7_0_pinned", + "ParticleContainer_pureSoA_6_0_arena", + "ParticleContainer_pureSoA_6_0_default", + "ParticleContainer_pureSoA_6_0_pinned", "ParticleContainer_pureSoA_8_0_arena", "ParticleContainer_pureSoA_8_0_default", "ParticleContainer_pureSoA_8_0_pinned", @@ -429,9 +436,9 @@ __all__ = [ "ParticleTileData_0_0_37_1", "ParticleTileData_0_0_4_0", "ParticleTileData_0_0_5_0", - "ParticleTileData_0_0_7_0", - "ParticleTileData_0_0_8_0", "ParticleTileData_1_1_2_1", + "ParticleTileData_pureSoA_0_0_6_0", + "ParticleTileData_pureSoA_0_0_8_0", "ParticleTile_0_0_37_1_arena", "ParticleTile_0_0_37_1_default", "ParticleTile_0_0_37_1_pinned", @@ -441,15 +448,15 @@ __all__ = [ "ParticleTile_0_0_5_0_arena", "ParticleTile_0_0_5_0_default", "ParticleTile_0_0_5_0_pinned", - "ParticleTile_0_0_7_0_arena", - "ParticleTile_0_0_7_0_default", - "ParticleTile_0_0_7_0_pinned", - "ParticleTile_0_0_8_0_arena", - "ParticleTile_0_0_8_0_default", - "ParticleTile_0_0_8_0_pinned", "ParticleTile_1_1_2_1_arena", "ParticleTile_1_1_2_1_default", "ParticleTile_1_1_2_1_pinned", + "ParticleTile_pureSoA_0_0_6_0_arena", + "ParticleTile_pureSoA_0_0_6_0_default", + "ParticleTile_pureSoA_0_0_6_0_pinned", + "ParticleTile_pureSoA_0_0_8_0_arena", + "ParticleTile_pureSoA_0_0_8_0_default", + "ParticleTile_pureSoA_0_0_8_0_pinned", "Particle_0_0", "Particle_1_1", "Particle_2_1", @@ -457,6 +464,7 @@ __all__ = [ "Particle_3_2", "Particle_4_0", "Particle_5_0", + "Particle_6_0", "Particle_7_0", "Particle_8_0", "Periodicity", @@ -475,12 +483,12 @@ __all__ = [ "StructOfArrays_5_0_arena", "StructOfArrays_5_0_default", "StructOfArrays_5_0_pinned", - "StructOfArrays_7_0_arena", - "StructOfArrays_7_0_default", - "StructOfArrays_7_0_pinned", - "StructOfArrays_8_0_arena", - "StructOfArrays_8_0_default", - "StructOfArrays_8_0_pinned", + "StructOfArrays_6_0_idcpu_arena", + "StructOfArrays_6_0_idcpu_default", + "StructOfArrays_6_0_idcpu_pinned", + "StructOfArrays_8_0_idcpu_arena", + "StructOfArrays_8_0_idcpu_default", + "StructOfArrays_8_0_idcpu_pinned", "The_Arena", "The_Async_Arena", "The_Cpu_Arena", diff --git a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi index bbab999b..e3059969 100644 --- a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi +++ b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi @@ -107,6 +107,9 @@ __all__ = [ "PODVector_real_arena", "PODVector_real_pinned", "PODVector_real_std", + "PODVector_uint64_arena", + "PODVector_uint64_pinned", + "PODVector_uint64_std", "ParConstIterBase_0_0_4_0_arena", "ParConstIterBase_0_0_4_0_default", "ParConstIterBase_0_0_4_0_pinned", @@ -116,9 +119,9 @@ __all__ = [ "ParConstIterBase_1_1_2_1_arena", "ParConstIterBase_1_1_2_1_default", "ParConstIterBase_1_1_2_1_pinned", - "ParConstIterBase_pureSoA_7_0_arena", - "ParConstIterBase_pureSoA_7_0_default", - "ParConstIterBase_pureSoA_7_0_pinned", + "ParConstIterBase_pureSoA_6_0_arena", + "ParConstIterBase_pureSoA_6_0_default", + "ParConstIterBase_pureSoA_6_0_pinned", "ParConstIterBase_pureSoA_8_0_arena", "ParConstIterBase_pureSoA_8_0_default", "ParConstIterBase_pureSoA_8_0_pinned", @@ -131,9 +134,9 @@ __all__ = [ "ParConstIter_1_1_2_1_arena", "ParConstIter_1_1_2_1_default", "ParConstIter_1_1_2_1_pinned", - "ParConstIter_pureSoA_7_0_arena", - "ParConstIter_pureSoA_7_0_default", - "ParConstIter_pureSoA_7_0_pinned", + "ParConstIter_pureSoA_6_0_arena", + "ParConstIter_pureSoA_6_0_default", + "ParConstIter_pureSoA_6_0_pinned", "ParConstIter_pureSoA_8_0_arena", "ParConstIter_pureSoA_8_0_default", "ParConstIter_pureSoA_8_0_pinned", @@ -146,9 +149,9 @@ __all__ = [ "ParIterBase_1_1_2_1_arena", "ParIterBase_1_1_2_1_default", "ParIterBase_1_1_2_1_pinned", - "ParIterBase_pureSoA_7_0_arena", - "ParIterBase_pureSoA_7_0_default", - "ParIterBase_pureSoA_7_0_pinned", + "ParIterBase_pureSoA_6_0_arena", + "ParIterBase_pureSoA_6_0_default", + "ParIterBase_pureSoA_6_0_pinned", "ParIterBase_pureSoA_8_0_arena", "ParIterBase_pureSoA_8_0_default", "ParIterBase_pureSoA_8_0_pinned", @@ -161,9 +164,9 @@ __all__ = [ "ParIter_1_1_2_1_arena", "ParIter_1_1_2_1_default", "ParIter_1_1_2_1_pinned", - "ParIter_pureSoA_7_0_arena", - "ParIter_pureSoA_7_0_default", - "ParIter_pureSoA_7_0_pinned", + "ParIter_pureSoA_6_0_arena", + "ParIter_pureSoA_6_0_default", + "ParIter_pureSoA_6_0_pinned", "ParIter_pureSoA_8_0_arena", "ParIter_pureSoA_8_0_default", "ParIter_pureSoA_8_0_pinned", @@ -178,9 +181,9 @@ __all__ = [ "ParticleContainer_1_1_2_1_arena", "ParticleContainer_1_1_2_1_default", "ParticleContainer_1_1_2_1_pinned", - "ParticleContainer_pureSoA_7_0_arena", - "ParticleContainer_pureSoA_7_0_default", - "ParticleContainer_pureSoA_7_0_pinned", + "ParticleContainer_pureSoA_6_0_arena", + "ParticleContainer_pureSoA_6_0_default", + "ParticleContainer_pureSoA_6_0_pinned", "ParticleContainer_pureSoA_8_0_arena", "ParticleContainer_pureSoA_8_0_default", "ParticleContainer_pureSoA_8_0_pinned", @@ -190,9 +193,9 @@ __all__ = [ "ParticleTileData_0_0_37_1", "ParticleTileData_0_0_4_0", "ParticleTileData_0_0_5_0", - "ParticleTileData_0_0_7_0", - "ParticleTileData_0_0_8_0", "ParticleTileData_1_1_2_1", + "ParticleTileData_pureSoA_0_0_6_0", + "ParticleTileData_pureSoA_0_0_8_0", "ParticleTile_0_0_37_1_arena", "ParticleTile_0_0_37_1_default", "ParticleTile_0_0_37_1_pinned", @@ -202,15 +205,15 @@ __all__ = [ "ParticleTile_0_0_5_0_arena", "ParticleTile_0_0_5_0_default", "ParticleTile_0_0_5_0_pinned", - "ParticleTile_0_0_7_0_arena", - "ParticleTile_0_0_7_0_default", - "ParticleTile_0_0_7_0_pinned", - "ParticleTile_0_0_8_0_arena", - "ParticleTile_0_0_8_0_default", - "ParticleTile_0_0_8_0_pinned", "ParticleTile_1_1_2_1_arena", "ParticleTile_1_1_2_1_default", "ParticleTile_1_1_2_1_pinned", + "ParticleTile_pureSoA_0_0_6_0_arena", + "ParticleTile_pureSoA_0_0_6_0_default", + "ParticleTile_pureSoA_0_0_6_0_pinned", + "ParticleTile_pureSoA_0_0_8_0_arena", + "ParticleTile_pureSoA_0_0_8_0_default", + "ParticleTile_pureSoA_0_0_8_0_pinned", "Particle_0_0", "Particle_1_1", "Particle_2_1", @@ -218,6 +221,7 @@ __all__ = [ "Particle_3_2", "Particle_4_0", "Particle_5_0", + "Particle_6_0", "Particle_7_0", "Particle_8_0", "Periodicity", @@ -235,12 +239,12 @@ __all__ = [ "StructOfArrays_5_0_arena", "StructOfArrays_5_0_default", "StructOfArrays_5_0_pinned", - "StructOfArrays_7_0_arena", - "StructOfArrays_7_0_default", - "StructOfArrays_7_0_pinned", - "StructOfArrays_8_0_arena", - "StructOfArrays_8_0_default", - "StructOfArrays_8_0_pinned", + "StructOfArrays_6_0_idcpu_arena", + "StructOfArrays_6_0_idcpu_default", + "StructOfArrays_6_0_idcpu_pinned", + "StructOfArrays_8_0_idcpu_arena", + "StructOfArrays_8_0_idcpu_default", + "StructOfArrays_8_0_idcpu_pinned", "The_Arena", "The_Async_Arena", "The_Cpu_Arena", @@ -5344,6 +5348,216 @@ class PODVector_real_std: @property def __cuda_array_interface__(self) -> dict: ... +class PODVector_uint64_arena: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_arena) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + +class PODVector_uint64_pinned: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_pinned) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + +class PODVector_uint64_std: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_std) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + class ParConstIterBase_0_0_4_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = False def __init__( @@ -5587,16 +5801,16 @@ class ParConstIterBase_1_1_2_1_pinned(MFIter): the number of particles on this tile """ -class ParConstIterBase_pureSoA_7_0_arena(MFIter): +class ParConstIterBase_pureSoA_6_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_arena, level: int ) -> None: ... - def __iter__(self) -> ParConstIterBase_pureSoA_7_0_arena: ... - def __next__(self) -> ParConstIterBase_pureSoA_7_0_arena: ... + def __iter__(self) -> ParConstIterBase_pureSoA_6_0_arena: ... + def __next__(self) -> ParConstIterBase_pureSoA_6_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_arena: ... - def soa(self) -> StructOfArrays_7_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_6_0_arena: ... + def soa(self) -> StructOfArrays_6_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -5613,16 +5827,16 @@ class ParConstIterBase_pureSoA_7_0_arena(MFIter): the number of particles on this tile """ -class ParConstIterBase_pureSoA_7_0_default(MFIter): +class ParConstIterBase_pureSoA_6_0_default(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_default, level: int ) -> None: ... - def __iter__(self) -> ParConstIterBase_pureSoA_7_0_default: ... - def __next__(self) -> ParConstIterBase_pureSoA_7_0_default: ... + def __iter__(self) -> ParConstIterBase_pureSoA_6_0_default: ... + def __next__(self) -> ParConstIterBase_pureSoA_6_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_default: ... - def soa(self) -> StructOfArrays_7_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_6_0_default: ... + def soa(self) -> StructOfArrays_6_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -5639,16 +5853,16 @@ class ParConstIterBase_pureSoA_7_0_default(MFIter): the number of particles on this tile """ -class ParConstIterBase_pureSoA_7_0_pinned(MFIter): +class ParConstIterBase_pureSoA_6_0_pinned(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_pinned, level: int ) -> None: ... - def __iter__(self) -> ParConstIterBase_pureSoA_7_0_pinned: ... - def __next__(self) -> ParConstIterBase_pureSoA_7_0_pinned: ... + def __iter__(self) -> ParConstIterBase_pureSoA_6_0_pinned: ... + def __next__(self) -> ParConstIterBase_pureSoA_6_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_pinned: ... - def soa(self) -> StructOfArrays_7_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_6_0_pinned: ... + def soa(self) -> StructOfArrays_6_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -5673,8 +5887,8 @@ class ParConstIterBase_pureSoA_8_0_arena(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_arena: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_arena: ... - def soa(self) -> StructOfArrays_8_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_arena: ... + def soa(self) -> StructOfArrays_8_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -5699,8 +5913,8 @@ class ParConstIterBase_pureSoA_8_0_default(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_default: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_default: ... - def soa(self) -> StructOfArrays_8_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_default: ... + def soa(self) -> StructOfArrays_8_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -5725,8 +5939,8 @@ class ParConstIterBase_pureSoA_8_0_pinned(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_pinned: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_pinned: ... - def soa(self) -> StructOfArrays_8_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_pinned: ... + def soa(self) -> StructOfArrays_8_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -5806,24 +6020,24 @@ class ParConstIter_1_1_2_1_pinned(ParConstIterBase_1_1_2_1_pinned): ) -> None: ... def __repr__(self) -> str: ... -class ParConstIter_pureSoA_7_0_arena(ParConstIterBase_pureSoA_7_0_arena): +class ParConstIter_pureSoA_6_0_arena(ParConstIterBase_pureSoA_6_0_arena): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_arena, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParConstIter_pureSoA_7_0_default(ParConstIterBase_pureSoA_7_0_default): +class ParConstIter_pureSoA_6_0_default(ParConstIterBase_pureSoA_6_0_default): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_default, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParConstIter_pureSoA_7_0_pinned(ParConstIterBase_pureSoA_7_0_pinned): +class ParConstIter_pureSoA_6_0_pinned(ParConstIterBase_pureSoA_6_0_pinned): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_pinned, level: int ) -> None: ... def __repr__(self) -> str: ... @@ -6091,16 +6305,16 @@ class ParIterBase_1_1_2_1_pinned(MFIter): the number of particles on this tile """ -class ParIterBase_pureSoA_7_0_arena(MFIter): +class ParIterBase_pureSoA_6_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_arena, level: int ) -> None: ... - def __iter__(self) -> ParIterBase_pureSoA_7_0_arena: ... - def __next__(self) -> ParIterBase_pureSoA_7_0_arena: ... + def __iter__(self) -> ParIterBase_pureSoA_6_0_arena: ... + def __next__(self) -> ParIterBase_pureSoA_6_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_arena: ... - def soa(self) -> StructOfArrays_7_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_6_0_arena: ... + def soa(self) -> StructOfArrays_6_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -6117,16 +6331,16 @@ class ParIterBase_pureSoA_7_0_arena(MFIter): the number of particles on this tile """ -class ParIterBase_pureSoA_7_0_default(MFIter): +class ParIterBase_pureSoA_6_0_default(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_default, level: int ) -> None: ... - def __iter__(self) -> ParIterBase_pureSoA_7_0_default: ... - def __next__(self) -> ParIterBase_pureSoA_7_0_default: ... + def __iter__(self) -> ParIterBase_pureSoA_6_0_default: ... + def __next__(self) -> ParIterBase_pureSoA_6_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_default: ... - def soa(self) -> StructOfArrays_7_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_6_0_default: ... + def soa(self) -> StructOfArrays_6_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -6143,16 +6357,16 @@ class ParIterBase_pureSoA_7_0_default(MFIter): the number of particles on this tile """ -class ParIterBase_pureSoA_7_0_pinned(MFIter): +class ParIterBase_pureSoA_6_0_pinned(MFIter): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_pinned, level: int ) -> None: ... - def __iter__(self) -> ParIterBase_pureSoA_7_0_pinned: ... - def __next__(self) -> ParIterBase_pureSoA_7_0_pinned: ... + def __iter__(self) -> ParIterBase_pureSoA_6_0_pinned: ... + def __next__(self) -> ParIterBase_pureSoA_6_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_pinned: ... - def soa(self) -> StructOfArrays_7_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_6_0_pinned: ... + def soa(self) -> StructOfArrays_6_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -6177,8 +6391,8 @@ class ParIterBase_pureSoA_8_0_arena(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_arena: ... def __next__(self) -> ParIterBase_pureSoA_8_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_arena: ... - def soa(self) -> StructOfArrays_8_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_arena: ... + def soa(self) -> StructOfArrays_8_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -6203,8 +6417,8 @@ class ParIterBase_pureSoA_8_0_default(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_default: ... def __next__(self) -> ParIterBase_pureSoA_8_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_default: ... - def soa(self) -> StructOfArrays_8_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_default: ... + def soa(self) -> StructOfArrays_8_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -6229,8 +6443,8 @@ class ParIterBase_pureSoA_8_0_pinned(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_pinned: ... def __next__(self) -> ParIterBase_pureSoA_8_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_pinned: ... - def soa(self) -> StructOfArrays_8_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_pinned: ... + def soa(self) -> StructOfArrays_8_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -6310,24 +6524,24 @@ class ParIter_1_1_2_1_pinned(ParIterBase_1_1_2_1_pinned): ) -> None: ... def __repr__(self) -> str: ... -class ParIter_pureSoA_7_0_arena(ParIterBase_pureSoA_7_0_arena): +class ParIter_pureSoA_6_0_arena(ParIterBase_pureSoA_6_0_arena): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_arena, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_arena, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParIter_pureSoA_7_0_default(ParIterBase_pureSoA_7_0_default): +class ParIter_pureSoA_6_0_default(ParIterBase_pureSoA_6_0_default): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_default, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_default, level: int ) -> None: ... def __repr__(self) -> str: ... -class ParIter_pureSoA_7_0_pinned(ParIterBase_pureSoA_7_0_pinned): +class ParIter_pureSoA_6_0_pinned(ParIterBase_pureSoA_6_0_pinned): is_soa_particle: typing.ClassVar[bool] = True def __init__( - self, particle_container: ParticleContainer_pureSoA_7_0_pinned, level: int + self, particle_container: ParticleContainer_pureSoA_6_0_pinned, level: int ) -> None: ... def __repr__(self) -> str: ... @@ -7768,16 +7982,16 @@ class ParticleContainer_1_1_2_1_pinned: The number of runtime Real components in SoA """ -class ParticleContainer_pureSoA_7_0_arena: +class ParticleContainer_pureSoA_6_0_arena: NArrayInt: typing.ClassVar[int] = 0 - NArrayReal: typing.ClassVar[int] = 7 + NArrayReal: typing.ClassVar[int] = 6 NStructInt: typing.ClassVar[int] = 0 NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True - const_iterator = ParConstIter_pureSoA_7_0_arena - iterator = ParIter_pureSoA_7_0_arena + const_iterator = ParConstIter_pureSoA_6_0_arena + iterator = ParIter_pureSoA_6_0_arena def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_arena, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_6_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -7804,7 +8018,7 @@ class ParticleContainer_pureSoA_7_0_arena: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_arena]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_6_0_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -7905,16 +8119,19 @@ class ParticleContainer_pureSoA_7_0_arena: The number of runtime Real components in SoA """ -class ParticleContainer_pureSoA_7_0_default: +class ParticleContainer_pureSoA_6_0_default: NArrayInt: typing.ClassVar[int] = 0 - NArrayReal: typing.ClassVar[int] = 7 + NArrayReal: typing.ClassVar[int] = 6 NStructInt: typing.ClassVar[int] = 0 NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True - const_iterator = ParConstIter_pureSoA_7_0_default - iterator = ParIter_pureSoA_7_0_default + const_iterator = ParConstIter_pureSoA_6_0_default + iterator = ParIter_pureSoA_6_0_default def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_default, level: int, ngrow: int = 0 + self, + particles: ParticleTile_pureSoA_0_0_6_0_default, + level: int, + ngrow: int = 0, ) -> None: ... def ByteSpread( self, @@ -7941,7 +8158,7 @@ class ParticleContainer_pureSoA_7_0_default: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_default]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_6_0_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8042,16 +8259,16 @@ class ParticleContainer_pureSoA_7_0_default: The number of runtime Real components in SoA """ -class ParticleContainer_pureSoA_7_0_pinned: +class ParticleContainer_pureSoA_6_0_pinned: NArrayInt: typing.ClassVar[int] = 0 - NArrayReal: typing.ClassVar[int] = 7 + NArrayReal: typing.ClassVar[int] = 6 NStructInt: typing.ClassVar[int] = 0 NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True - const_iterator = ParConstIter_pureSoA_7_0_pinned - iterator = ParIter_pureSoA_7_0_pinned + const_iterator = ParConstIter_pureSoA_6_0_pinned + iterator = ParIter_pureSoA_6_0_pinned def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_pinned, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_6_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8078,7 +8295,7 @@ class ParticleContainer_pureSoA_7_0_pinned: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_pinned]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_6_0_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8188,7 +8405,7 @@ class ParticleContainer_pureSoA_8_0_arena: const_iterator = ParConstIter_pureSoA_8_0_arena iterator = ParIter_pureSoA_8_0_arena def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_arena, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_8_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8215,7 +8432,7 @@ class ParticleContainer_pureSoA_8_0_arena: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_arena]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8325,7 +8542,10 @@ class ParticleContainer_pureSoA_8_0_default: const_iterator = ParConstIter_pureSoA_8_0_default iterator = ParIter_pureSoA_8_0_default def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_default, level: int, ngrow: int = 0 + self, + particles: ParticleTile_pureSoA_0_0_8_0_default, + level: int, + ngrow: int = 0, ) -> None: ... def ByteSpread( self, @@ -8352,7 +8572,7 @@ class ParticleContainer_pureSoA_8_0_default: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_default]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8462,7 +8682,7 @@ class ParticleContainer_pureSoA_8_0_pinned: const_iterator = ParConstIter_pureSoA_8_0_pinned iterator = ParIter_pureSoA_8_0_pinned def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_pinned, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_8_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8489,7 +8709,7 @@ class ParticleContainer_pureSoA_8_0_pinned: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_pinned]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8677,12 +8897,12 @@ class ParticleTileData_0_0_5_0: @property def m_size(self) -> int: ... -class ParticleTileData_0_0_7_0: - def __getitem__(self, arg0: int) -> Particle_7_0: ... +class ParticleTileData_1_1_2_1: + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_7_0: ... - def setSuperParticle(self, arg0: Particle_7_0, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_3_2: ... + def setSuperParticle(self, arg0: Particle_3_2, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -8690,12 +8910,12 @@ class ParticleTileData_0_0_7_0: @property def m_size(self) -> int: ... -class ParticleTileData_0_0_8_0: - def __getitem__(self, arg0: int) -> Particle_8_0: ... +class ParticleTileData_pureSoA_0_0_6_0: + def __getitem__(self, arg0: int) -> Particle_6_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_8_0: ... - def setSuperParticle(self, arg0: Particle_8_0, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_6_0: ... + def setSuperParticle(self, arg0: Particle_6_0, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -8703,12 +8923,12 @@ class ParticleTileData_0_0_8_0: @property def m_size(self) -> int: ... -class ParticleTileData_1_1_2_1: - def __getitem__(self, arg0: int) -> Particle_3_2: ... +class ParticleTileData_pureSoA_0_0_8_0: + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_3_2: ... - def setSuperParticle(self, arg0: Particle_3_2, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_8_0: ... + def setSuperParticle(self, arg0: Particle_8_0, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -9211,27 +9431,34 @@ class ParticleTile_0_0_5_0_pinned: def size(self) -> int: ... def swap(self, arg0: ParticleTile_0_0_5_0_pinned) -> None: ... -class ParticleTile_0_0_7_0_arena: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_arena: ... +class ParticleTile_1_1_2_1_arena: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_arena: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9240,7 +9467,7 @@ class ParticleTile_0_0_7_0_arena: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9249,7 +9476,7 @@ class ParticleTile_0_0_7_0_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9257,29 +9484,36 @@ class ParticleTile_0_0_7_0_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_arena) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_arena) -> None: ... -class ParticleTile_0_0_7_0_default: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_default: ... +class ParticleTile_1_1_2_1_default: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_default: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9288,7 +9522,7 @@ class ParticleTile_0_0_7_0_default: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9297,7 +9531,7 @@ class ParticleTile_0_0_7_0_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9305,29 +9539,36 @@ class ParticleTile_0_0_7_0_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_default) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_default) -> None: ... -class ParticleTile_0_0_7_0_pinned: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_pinned: ... +class ParticleTile_1_1_2_1_pinned: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_pinned: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9336,7 +9577,7 @@ class ParticleTile_0_0_7_0_pinned: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9345,7 +9586,7 @@ class ParticleTile_0_0_7_0_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9353,29 +9594,29 @@ class ParticleTile_0_0_7_0_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_pinned) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_pinned) -> None: ... -class ParticleTile_0_0_8_0_arena: +class ParticleTile_pureSoA_0_0_6_0_arena: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_arena: ... + NAR: typing.ClassVar[int] = 6 + def GetStructOfArrays(self) -> StructOfArrays_6_0_idcpu_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_6_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_6_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_6_0) -> None: """ Add one particle to this tile. """ @@ -9393,7 +9634,7 @@ class ParticleTile_0_0_8_0_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9401,29 +9642,29 @@ class ParticleTile_0_0_8_0_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_arena) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_6_0_arena) -> None: ... -class ParticleTile_0_0_8_0_default: +class ParticleTile_pureSoA_0_0_6_0_default: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_default: ... + NAR: typing.ClassVar[int] = 6 + def GetStructOfArrays(self) -> StructOfArrays_6_0_idcpu_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_6_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_6_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_6_0) -> None: """ Add one particle to this tile. """ @@ -9441,7 +9682,7 @@ class ParticleTile_0_0_8_0_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9449,29 +9690,29 @@ class ParticleTile_0_0_8_0_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_default) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_6_0_default) -> None: ... -class ParticleTile_0_0_8_0_pinned: +class ParticleTile_pureSoA_0_0_6_0_pinned: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_pinned: ... + NAR: typing.ClassVar[int] = 6 + def GetStructOfArrays(self) -> StructOfArrays_6_0_idcpu_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_6_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_6_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_6_0) -> None: """ Add one particle to this tile. """ @@ -9489,7 +9730,7 @@ class ParticleTile_0_0_8_0_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9497,36 +9738,29 @@ class ParticleTile_0_0_8_0_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_pinned) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_6_0_pinned) -> None: ... -class ParticleTile_1_1_2_1_arena: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_arena: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_arena: ... +class ParticleTile_pureSoA_0_0_8_0_arena: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9535,7 +9769,7 @@ class ParticleTile_1_1_2_1_arena: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9544,7 +9778,7 @@ class ParticleTile_1_1_2_1_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9552,36 +9786,29 @@ class ParticleTile_1_1_2_1_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_arena) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_arena) -> None: ... -class ParticleTile_1_1_2_1_default: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_default: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_default: ... +class ParticleTile_pureSoA_0_0_8_0_default: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9590,7 +9817,7 @@ class ParticleTile_1_1_2_1_default: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9599,7 +9826,7 @@ class ParticleTile_1_1_2_1_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9607,36 +9834,29 @@ class ParticleTile_1_1_2_1_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_default) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_default) -> None: ... -class ParticleTile_1_1_2_1_pinned: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_pinned: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_pinned: ... +class ParticleTile_pureSoA_0_0_8_0_pinned: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9645,7 +9865,7 @@ class ParticleTile_1_1_2_1_pinned: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9654,7 +9874,7 @@ class ParticleTile_1_1_2_1_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9662,7 +9882,7 @@ class ParticleTile_1_1_2_1_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_pinned) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_pinned) -> None: ... class Particle_0_0: NInt: typing.ClassVar[int] = 0 @@ -10125,6 +10345,71 @@ class Particle_5_0: arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(5)], ) -> None: ... +class Particle_6_0: + NInt: typing.ClassVar[int] = 0 + NReal: typing.ClassVar[int] = 6 + x: float + y: float + @typing.overload + def NextID(self) -> int: ... + @typing.overload + def NextID(self, arg0: int) -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, arg0: float, arg1: float) -> None: ... + @typing.overload + def __init__(self, arg0: float, arg1: float, *args) -> None: ... + @typing.overload + def __init__(self, arg0: float, arg1: float, **kwargs) -> None: ... + @typing.overload + def __init__(self, **kwargs) -> None: ... + def __repr__(self) -> str: ... + def __str__(self) -> str: ... + def cpu(self) -> int: ... + @typing.overload + def get_idata(self, arg0: int) -> None: ... + @typing.overload + def get_idata(self) -> None: ... + @typing.overload + def get_rdata(self, arg0: int) -> float: ... + @typing.overload + def get_rdata( + self, + ) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ... + def id(self) -> int: ... + @typing.overload + def pos(self, arg0: int) -> float: ... + @typing.overload + def pos(self) -> RealVect: ... + @typing.overload + def setPos(self, arg0: int, arg1: float) -> None: ... + @typing.overload + def setPos(self, arg0: RealVect) -> None: ... + @typing.overload + def setPos( + self, + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + ) -> None: ... + @typing.overload + def set_idata(self, arg0: int, arg1: int) -> None: ... + @typing.overload + def set_idata(self, arg0: IntVect) -> None: ... + @typing.overload + def set_idata( + self, + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + ) -> None: ... + @typing.overload + def set_rdata(self, arg0: int, arg1: float) -> None: ... + @typing.overload + def set_rdata(self, arg0: RealVect) -> None: ... + @typing.overload + def set_rdata( + self, + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)], + ) -> None: ... + class Particle_7_0: NInt: typing.ClassVar[int] = 0 NReal: typing.ClassVar[int] = 7 @@ -11695,7 +11980,11 @@ class StructOfArrays_5_0_pinned: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_arena: +class StructOfArrays_6_0_idcpu_arena: + def GetIdCPUData(self) -> PODVector_uint64_arena: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -11714,7 +12003,7 @@ class StructOfArrays_7_0_arena: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_arena], pybind11_stubgen.typing_ext.FixedSize(7) + list[PODVector_real_arena], pybind11_stubgen.typing_ext.FixedSize(6) ]: """ Get access to the particle Real Arrays (only compile-time components) @@ -11794,7 +12083,11 @@ class StructOfArrays_7_0_arena: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_default: +class StructOfArrays_6_0_idcpu_default: + def GetIdCPUData(self) -> PODVector_uint64_std: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -11813,7 +12106,7 @@ class StructOfArrays_7_0_default: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_std], pybind11_stubgen.typing_ext.FixedSize(7) + list[PODVector_real_std], pybind11_stubgen.typing_ext.FixedSize(6) ]: """ Get access to the particle Real Arrays (only compile-time components) @@ -11893,7 +12186,11 @@ class StructOfArrays_7_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_pinned: +class StructOfArrays_6_0_idcpu_pinned: + def GetIdCPUData(self) -> PODVector_uint64_pinned: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -11912,7 +12209,7 @@ class StructOfArrays_7_0_pinned: def GetRealData( self, ) -> typing.Annotated[ - list[PODVector_real_pinned], pybind11_stubgen.typing_ext.FixedSize(7) + list[PODVector_real_pinned], pybind11_stubgen.typing_ext.FixedSize(6) ]: """ Get access to the particle Real Arrays (only compile-time components) @@ -11992,7 +12289,11 @@ class StructOfArrays_7_0_pinned: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_arena: +class StructOfArrays_8_0_idcpu_arena: + def GetIdCPUData(self) -> PODVector_uint64_arena: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12091,7 +12392,11 @@ class StructOfArrays_8_0_arena: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_default: +class StructOfArrays_8_0_idcpu_default: + def GetIdCPUData(self) -> PODVector_uint64_std: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12190,7 +12495,11 @@ class StructOfArrays_8_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_pinned: +class StructOfArrays_8_0_idcpu_pinned: + def GetIdCPUData(self) -> PODVector_uint64_pinned: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, diff --git a/src/amrex/space3d/__init__.pyi b/src/amrex/space3d/__init__.pyi index 9c3b85a2..18b20c8d 100644 --- a/src/amrex/space3d/__init__.pyi +++ b/src/amrex/space3d/__init__.pyi @@ -169,6 +169,7 @@ from amrex.space3d.amrex_3d_pybind import ( Particle_3_2, Particle_4_0, Particle_5_0, + Particle_6_0, Particle_7_0, Particle_8_0, Particle_37_1, @@ -196,24 +197,24 @@ from amrex.space3d.amrex_3d_pybind import ( ParticleTile_0_0_5_0_arena, ParticleTile_0_0_5_0_default, ParticleTile_0_0_5_0_pinned, - ParticleTile_0_0_7_0_arena, - ParticleTile_0_0_7_0_default, - ParticleTile_0_0_7_0_pinned, - ParticleTile_0_0_8_0_arena, - ParticleTile_0_0_8_0_default, - ParticleTile_0_0_8_0_pinned, ParticleTile_0_0_37_1_arena, ParticleTile_0_0_37_1_default, ParticleTile_0_0_37_1_pinned, ParticleTile_1_1_2_1_arena, ParticleTile_1_1_2_1_default, ParticleTile_1_1_2_1_pinned, + ParticleTile_pureSoA_0_0_7_0_arena, + ParticleTile_pureSoA_0_0_7_0_default, + ParticleTile_pureSoA_0_0_7_0_pinned, + ParticleTile_pureSoA_0_0_8_0_arena, + ParticleTile_pureSoA_0_0_8_0_default, + ParticleTile_pureSoA_0_0_8_0_pinned, ParticleTileData_0_0_4_0, ParticleTileData_0_0_5_0, - ParticleTileData_0_0_7_0, - ParticleTileData_0_0_8_0, ParticleTileData_0_0_37_1, ParticleTileData_1_1_2_1, + ParticleTileData_pureSoA_0_0_7_0, + ParticleTileData_pureSoA_0_0_8_0, Periodicity, PIdx, PODVector_int_arena, @@ -222,6 +223,9 @@ from amrex.space3d.amrex_3d_pybind import ( PODVector_real_arena, PODVector_real_pinned, PODVector_real_std, + PODVector_uint64_arena, + PODVector_uint64_pinned, + PODVector_uint64_std, RealBox, RealVect, StructOfArrays_2_1_arena, @@ -233,12 +237,12 @@ from amrex.space3d.amrex_3d_pybind import ( StructOfArrays_5_0_arena, StructOfArrays_5_0_default, StructOfArrays_5_0_pinned, - StructOfArrays_7_0_arena, - StructOfArrays_7_0_default, - StructOfArrays_7_0_pinned, - StructOfArrays_8_0_arena, - StructOfArrays_8_0_default, - StructOfArrays_8_0_pinned, + StructOfArrays_7_0_idcpu_arena, + StructOfArrays_7_0_idcpu_default, + StructOfArrays_7_0_idcpu_pinned, + StructOfArrays_8_0_idcpu_arena, + StructOfArrays_8_0_idcpu_default, + StructOfArrays_8_0_idcpu_pinned, StructOfArrays_37_1_arena, StructOfArrays_37_1_default, StructOfArrays_37_1_pinned, @@ -346,6 +350,9 @@ __all__ = [ "PODVector_real_arena", "PODVector_real_pinned", "PODVector_real_std", + "PODVector_uint64_arena", + "PODVector_uint64_pinned", + "PODVector_uint64_std", "ParConstIterBase_0_0_4_0_arena", "ParConstIterBase_0_0_4_0_default", "ParConstIterBase_0_0_4_0_pinned", @@ -429,9 +436,9 @@ __all__ = [ "ParticleTileData_0_0_37_1", "ParticleTileData_0_0_4_0", "ParticleTileData_0_0_5_0", - "ParticleTileData_0_0_7_0", - "ParticleTileData_0_0_8_0", "ParticleTileData_1_1_2_1", + "ParticleTileData_pureSoA_0_0_7_0", + "ParticleTileData_pureSoA_0_0_8_0", "ParticleTile_0_0_37_1_arena", "ParticleTile_0_0_37_1_default", "ParticleTile_0_0_37_1_pinned", @@ -441,15 +448,15 @@ __all__ = [ "ParticleTile_0_0_5_0_arena", "ParticleTile_0_0_5_0_default", "ParticleTile_0_0_5_0_pinned", - "ParticleTile_0_0_7_0_arena", - "ParticleTile_0_0_7_0_default", - "ParticleTile_0_0_7_0_pinned", - "ParticleTile_0_0_8_0_arena", - "ParticleTile_0_0_8_0_default", - "ParticleTile_0_0_8_0_pinned", "ParticleTile_1_1_2_1_arena", "ParticleTile_1_1_2_1_default", "ParticleTile_1_1_2_1_pinned", + "ParticleTile_pureSoA_0_0_7_0_arena", + "ParticleTile_pureSoA_0_0_7_0_default", + "ParticleTile_pureSoA_0_0_7_0_pinned", + "ParticleTile_pureSoA_0_0_8_0_arena", + "ParticleTile_pureSoA_0_0_8_0_default", + "ParticleTile_pureSoA_0_0_8_0_pinned", "Particle_0_0", "Particle_1_1", "Particle_2_1", @@ -457,6 +464,7 @@ __all__ = [ "Particle_3_2", "Particle_4_0", "Particle_5_0", + "Particle_6_0", "Particle_7_0", "Particle_8_0", "Periodicity", @@ -475,12 +483,12 @@ __all__ = [ "StructOfArrays_5_0_arena", "StructOfArrays_5_0_default", "StructOfArrays_5_0_pinned", - "StructOfArrays_7_0_arena", - "StructOfArrays_7_0_default", - "StructOfArrays_7_0_pinned", - "StructOfArrays_8_0_arena", - "StructOfArrays_8_0_default", - "StructOfArrays_8_0_pinned", + "StructOfArrays_7_0_idcpu_arena", + "StructOfArrays_7_0_idcpu_default", + "StructOfArrays_7_0_idcpu_pinned", + "StructOfArrays_8_0_idcpu_arena", + "StructOfArrays_8_0_idcpu_default", + "StructOfArrays_8_0_idcpu_pinned", "The_Arena", "The_Async_Arena", "The_Cpu_Arena", diff --git a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi index 6fb490ac..10cc863d 100644 --- a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi +++ b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi @@ -107,6 +107,9 @@ __all__ = [ "PODVector_real_arena", "PODVector_real_pinned", "PODVector_real_std", + "PODVector_uint64_arena", + "PODVector_uint64_pinned", + "PODVector_uint64_std", "ParConstIterBase_0_0_4_0_arena", "ParConstIterBase_0_0_4_0_default", "ParConstIterBase_0_0_4_0_pinned", @@ -190,9 +193,9 @@ __all__ = [ "ParticleTileData_0_0_37_1", "ParticleTileData_0_0_4_0", "ParticleTileData_0_0_5_0", - "ParticleTileData_0_0_7_0", - "ParticleTileData_0_0_8_0", "ParticleTileData_1_1_2_1", + "ParticleTileData_pureSoA_0_0_7_0", + "ParticleTileData_pureSoA_0_0_8_0", "ParticleTile_0_0_37_1_arena", "ParticleTile_0_0_37_1_default", "ParticleTile_0_0_37_1_pinned", @@ -202,15 +205,15 @@ __all__ = [ "ParticleTile_0_0_5_0_arena", "ParticleTile_0_0_5_0_default", "ParticleTile_0_0_5_0_pinned", - "ParticleTile_0_0_7_0_arena", - "ParticleTile_0_0_7_0_default", - "ParticleTile_0_0_7_0_pinned", - "ParticleTile_0_0_8_0_arena", - "ParticleTile_0_0_8_0_default", - "ParticleTile_0_0_8_0_pinned", "ParticleTile_1_1_2_1_arena", "ParticleTile_1_1_2_1_default", "ParticleTile_1_1_2_1_pinned", + "ParticleTile_pureSoA_0_0_7_0_arena", + "ParticleTile_pureSoA_0_0_7_0_default", + "ParticleTile_pureSoA_0_0_7_0_pinned", + "ParticleTile_pureSoA_0_0_8_0_arena", + "ParticleTile_pureSoA_0_0_8_0_default", + "ParticleTile_pureSoA_0_0_8_0_pinned", "Particle_0_0", "Particle_1_1", "Particle_2_1", @@ -218,6 +221,7 @@ __all__ = [ "Particle_3_2", "Particle_4_0", "Particle_5_0", + "Particle_6_0", "Particle_7_0", "Particle_8_0", "Periodicity", @@ -235,12 +239,12 @@ __all__ = [ "StructOfArrays_5_0_arena", "StructOfArrays_5_0_default", "StructOfArrays_5_0_pinned", - "StructOfArrays_7_0_arena", - "StructOfArrays_7_0_default", - "StructOfArrays_7_0_pinned", - "StructOfArrays_8_0_arena", - "StructOfArrays_8_0_default", - "StructOfArrays_8_0_pinned", + "StructOfArrays_7_0_idcpu_arena", + "StructOfArrays_7_0_idcpu_default", + "StructOfArrays_7_0_idcpu_pinned", + "StructOfArrays_8_0_idcpu_arena", + "StructOfArrays_8_0_idcpu_default", + "StructOfArrays_8_0_idcpu_pinned", "The_Arena", "The_Async_Arena", "The_Cpu_Arena", @@ -5347,6 +5351,216 @@ class PODVector_real_std: @property def __cuda_array_interface__(self) -> dict: ... +class PODVector_uint64_arena: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_arena) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + +class PODVector_uint64_pinned: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_pinned) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + +class PODVector_uint64_std: + def __getitem__(self, arg0: int) -> int: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int) -> None: ... + @typing.overload + def __init__(self, other: PODVector_uint64_std) -> None: ... + def __len__(self) -> int: ... + def __repr__(self) -> str: ... + def __setitem__(self, arg0: int, arg1: int) -> None: ... + def capacity(self) -> int: ... + def clear(self) -> None: ... + def empty(self) -> bool: ... + def pop_back(self) -> None: ... + def push_back(self, arg0: int) -> None: ... + def reserve(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int) -> None: ... + @typing.overload + def resize(self, arg0: int, arg1: int) -> None: ... + def shrink_to_fit(self) -> None: ... + def size(self) -> int: ... + def to_cupy(self, copy=False): + """ + + Provide a Cupy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + cupy.array + A 1D cupy array. + + Raises + ------ + ImportError + Raises an exception if cupy is not installed + + """ + def to_host(self) -> PODVector_uint64_pinned: ... + def to_numpy(self, copy=False): + """ + + Provide a Numpy view into a PODVector (e.g., RealVector, IntVector). + + Parameters + ---------- + self : amrex.PODVector_* + A PODVector class in pyAMReX + copy : bool, optional + Copy the data if true, otherwise create a view (default). + + Returns + ------- + np.array + A 1D numpy array. + + """ + @property + def __array_interface__(self) -> dict: ... + @property + def __cuda_array_interface__(self) -> dict: ... + class ParConstIterBase_0_0_4_0_arena(MFIter): is_soa_particle: typing.ClassVar[bool] = False def __init__( @@ -5598,8 +5812,8 @@ class ParConstIterBase_pureSoA_7_0_arena(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_7_0_arena: ... def __next__(self) -> ParConstIterBase_pureSoA_7_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_arena: ... - def soa(self) -> StructOfArrays_7_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_7_0_arena: ... + def soa(self) -> StructOfArrays_7_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -5624,8 +5838,8 @@ class ParConstIterBase_pureSoA_7_0_default(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_7_0_default: ... def __next__(self) -> ParConstIterBase_pureSoA_7_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_default: ... - def soa(self) -> StructOfArrays_7_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_7_0_default: ... + def soa(self) -> StructOfArrays_7_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -5650,8 +5864,8 @@ class ParConstIterBase_pureSoA_7_0_pinned(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_7_0_pinned: ... def __next__(self) -> ParConstIterBase_pureSoA_7_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_pinned: ... - def soa(self) -> StructOfArrays_7_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_7_0_pinned: ... + def soa(self) -> StructOfArrays_7_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -5676,8 +5890,8 @@ class ParConstIterBase_pureSoA_8_0_arena(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_arena: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_arena: ... - def soa(self) -> StructOfArrays_8_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_arena: ... + def soa(self) -> StructOfArrays_8_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -5702,8 +5916,8 @@ class ParConstIterBase_pureSoA_8_0_default(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_default: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_default: ... - def soa(self) -> StructOfArrays_8_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_default: ... + def soa(self) -> StructOfArrays_8_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -5728,8 +5942,8 @@ class ParConstIterBase_pureSoA_8_0_pinned(MFIter): def __iter__(self) -> ParConstIterBase_pureSoA_8_0_pinned: ... def __next__(self) -> ParConstIterBase_pureSoA_8_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_pinned: ... - def soa(self) -> StructOfArrays_8_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_pinned: ... + def soa(self) -> StructOfArrays_8_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -6102,8 +6316,8 @@ class ParIterBase_pureSoA_7_0_arena(MFIter): def __iter__(self) -> ParIterBase_pureSoA_7_0_arena: ... def __next__(self) -> ParIterBase_pureSoA_7_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_arena: ... - def soa(self) -> StructOfArrays_7_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_7_0_arena: ... + def soa(self) -> StructOfArrays_7_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -6128,8 +6342,8 @@ class ParIterBase_pureSoA_7_0_default(MFIter): def __iter__(self) -> ParIterBase_pureSoA_7_0_default: ... def __next__(self) -> ParIterBase_pureSoA_7_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_default: ... - def soa(self) -> StructOfArrays_7_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_7_0_default: ... + def soa(self) -> StructOfArrays_7_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -6154,8 +6368,8 @@ class ParIterBase_pureSoA_7_0_pinned(MFIter): def __iter__(self) -> ParIterBase_pureSoA_7_0_pinned: ... def __next__(self) -> ParIterBase_pureSoA_7_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_7_0_pinned: ... - def soa(self) -> StructOfArrays_7_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_7_0_pinned: ... + def soa(self) -> StructOfArrays_7_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -6180,8 +6394,8 @@ class ParIterBase_pureSoA_8_0_arena(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_arena: ... def __next__(self) -> ParIterBase_pureSoA_8_0_arena: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_arena: ... - def soa(self) -> StructOfArrays_8_0_arena: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_arena: ... + def soa(self) -> StructOfArrays_8_0_idcpu_arena: ... @property def level(self) -> int: ... @property @@ -6206,8 +6420,8 @@ class ParIterBase_pureSoA_8_0_default(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_default: ... def __next__(self) -> ParIterBase_pureSoA_8_0_default: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_default: ... - def soa(self) -> StructOfArrays_8_0_default: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_default: ... + def soa(self) -> StructOfArrays_8_0_idcpu_default: ... @property def level(self) -> int: ... @property @@ -6232,8 +6446,8 @@ class ParIterBase_pureSoA_8_0_pinned(MFIter): def __iter__(self) -> ParIterBase_pureSoA_8_0_pinned: ... def __next__(self) -> ParIterBase_pureSoA_8_0_pinned: ... def geom(self, level: int) -> Geometry: ... - def particle_tile(self) -> ParticleTile_0_0_8_0_pinned: ... - def soa(self) -> StructOfArrays_8_0_pinned: ... + def particle_tile(self) -> ParticleTile_pureSoA_0_0_8_0_pinned: ... + def soa(self) -> StructOfArrays_8_0_idcpu_pinned: ... @property def level(self) -> int: ... @property @@ -7780,7 +7994,7 @@ class ParticleContainer_pureSoA_7_0_arena: const_iterator = ParConstIter_pureSoA_7_0_arena iterator = ParIter_pureSoA_7_0_arena def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_arena, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_7_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -7807,7 +8021,7 @@ class ParticleContainer_pureSoA_7_0_arena: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_arena]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_7_0_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -7917,7 +8131,10 @@ class ParticleContainer_pureSoA_7_0_default: const_iterator = ParConstIter_pureSoA_7_0_default iterator = ParIter_pureSoA_7_0_default def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_default, level: int, ngrow: int = 0 + self, + particles: ParticleTile_pureSoA_0_0_7_0_default, + level: int, + ngrow: int = 0, ) -> None: ... def ByteSpread( self, @@ -7944,7 +8161,7 @@ class ParticleContainer_pureSoA_7_0_default: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_default]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_7_0_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8054,7 +8271,7 @@ class ParticleContainer_pureSoA_7_0_pinned: const_iterator = ParConstIter_pureSoA_7_0_pinned iterator = ParIter_pureSoA_7_0_pinned def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_7_0_pinned, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_7_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8081,7 +8298,7 @@ class ParticleContainer_pureSoA_7_0_pinned: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_7_0_pinned]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_7_0_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8191,7 +8408,7 @@ class ParticleContainer_pureSoA_8_0_arena: const_iterator = ParConstIter_pureSoA_8_0_arena iterator = ParIter_pureSoA_8_0_arena def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_arena, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_8_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8218,7 +8435,7 @@ class ParticleContainer_pureSoA_8_0_arena: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_arena]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8328,7 +8545,10 @@ class ParticleContainer_pureSoA_8_0_default: const_iterator = ParConstIter_pureSoA_8_0_default iterator = ParIter_pureSoA_8_0_default def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_default, level: int, ngrow: int = 0 + self, + particles: ParticleTile_pureSoA_0_0_8_0_default, + level: int, + ngrow: int = 0, ) -> None: ... def ByteSpread( self, @@ -8355,7 +8575,7 @@ class ParticleContainer_pureSoA_8_0_default: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_default]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8465,7 +8685,7 @@ class ParticleContainer_pureSoA_8_0_pinned: const_iterator = ParConstIter_pureSoA_8_0_pinned iterator = ParIter_pureSoA_8_0_pinned def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_0_pinned, level: int, ngrow: int = 0 + self, particles: ParticleTile_pureSoA_0_0_8_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread( self, @@ -8492,7 +8712,7 @@ class ParticleContainer_pureSoA_8_0_pinned: ) -> None: ... def GetParticles( self, level: int - ) -> dict[tuple[int, int], ParticleTile_0_0_8_0_pinned]: ... + ) -> dict[tuple[int, int], ParticleTile_pureSoA_0_0_8_0_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( self, level: int, only_valid: bool = True, only_local: bool = False @@ -8680,12 +8900,12 @@ class ParticleTileData_0_0_5_0: @property def m_size(self) -> int: ... -class ParticleTileData_0_0_7_0: - def __getitem__(self, arg0: int) -> Particle_7_0: ... +class ParticleTileData_1_1_2_1: + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_7_0: ... - def setSuperParticle(self, arg0: Particle_7_0, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_3_2: ... + def setSuperParticle(self, arg0: Particle_3_2, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -8693,12 +8913,12 @@ class ParticleTileData_0_0_7_0: @property def m_size(self) -> int: ... -class ParticleTileData_0_0_8_0: - def __getitem__(self, arg0: int) -> Particle_8_0: ... +class ParticleTileData_pureSoA_0_0_7_0: + def __getitem__(self, arg0: int) -> Particle_7_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_8_0: ... - def setSuperParticle(self, arg0: Particle_8_0, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_7_0: ... + def setSuperParticle(self, arg0: Particle_7_0, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -8706,12 +8926,12 @@ class ParticleTileData_0_0_8_0: @property def m_size(self) -> int: ... -class ParticleTileData_1_1_2_1: - def __getitem__(self, arg0: int) -> Particle_3_2: ... +class ParticleTileData_pureSoA_0_0_8_0: + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... - def getSuperParticle(self, arg0: int) -> Particle_3_2: ... - def setSuperParticle(self, arg0: Particle_3_2, arg1: int) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def getSuperParticle(self, arg0: int) -> Particle_8_0: ... + def setSuperParticle(self, arg0: Particle_8_0, arg1: int) -> None: ... @property def m_num_runtime_int(self) -> int: ... @property @@ -9214,27 +9434,34 @@ class ParticleTile_0_0_5_0_pinned: def size(self) -> int: ... def swap(self, arg0: ParticleTile_0_0_5_0_pinned) -> None: ... -class ParticleTile_0_0_7_0_arena: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_arena: ... +class ParticleTile_1_1_2_1_arena: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_arena: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9243,7 +9470,7 @@ class ParticleTile_0_0_7_0_arena: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9252,7 +9479,7 @@ class ParticleTile_0_0_7_0_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9260,29 +9487,36 @@ class ParticleTile_0_0_7_0_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_arena) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_arena) -> None: ... -class ParticleTile_0_0_7_0_default: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_default: ... +class ParticleTile_1_1_2_1_default: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_default: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9291,7 +9525,7 @@ class ParticleTile_0_0_7_0_default: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9300,7 +9534,7 @@ class ParticleTile_0_0_7_0_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9308,29 +9542,36 @@ class ParticleTile_0_0_7_0_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_default) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_default) -> None: ... -class ParticleTile_0_0_7_0_pinned: - NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 7 - def GetStructOfArrays(self) -> StructOfArrays_7_0_pinned: ... +class ParticleTile_1_1_2_1_pinned: + NAI: typing.ClassVar[int] = 1 + NAR: typing.ClassVar[int] = 2 + def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_pinned: ... + def GetStructOfArrays(self) -> StructOfArrays_2_1_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_7_0: ... + def __getitem__(self, arg0: int) -> Particle_3_2: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_7_0: ... + def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_7_0) -> None: + @typing.overload + def push_back(self, arg0: Particle_1_1) -> None: + """ + Add one particle to this tile. + """ + @typing.overload + def push_back(self, arg0: Particle_3_2) -> None: """ Add one particle to this tile. """ @@ -9339,7 +9580,7 @@ class ParticleTile_0_0_7_0_pinned: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9348,7 +9589,7 @@ class ParticleTile_0_0_7_0_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9356,29 +9597,29 @@ class ParticleTile_0_0_7_0_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_7_0_pinned) -> None: ... + def swap(self, arg0: ParticleTile_1_1_2_1_pinned) -> None: ... -class ParticleTile_0_0_8_0_arena: +class ParticleTile_pureSoA_0_0_7_0_arena: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_arena: ... + NAR: typing.ClassVar[int] = 7 + def GetStructOfArrays(self) -> StructOfArrays_7_0_idcpu_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_7_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_7_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_7_0) -> None: """ Add one particle to this tile. """ @@ -9396,7 +9637,7 @@ class ParticleTile_0_0_8_0_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9404,29 +9645,29 @@ class ParticleTile_0_0_8_0_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_arena) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_7_0_arena) -> None: ... -class ParticleTile_0_0_8_0_default: +class ParticleTile_pureSoA_0_0_7_0_default: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_default: ... + NAR: typing.ClassVar[int] = 7 + def GetStructOfArrays(self) -> StructOfArrays_7_0_idcpu_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_7_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_7_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_7_0) -> None: """ Add one particle to this tile. """ @@ -9444,7 +9685,7 @@ class ParticleTile_0_0_8_0_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9452,29 +9693,29 @@ class ParticleTile_0_0_8_0_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_default) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_7_0_default) -> None: ... -class ParticleTile_0_0_8_0_pinned: +class ParticleTile_pureSoA_0_0_7_0_pinned: NAI: typing.ClassVar[int] = 0 - NAR: typing.ClassVar[int] = 8 - def GetStructOfArrays(self) -> StructOfArrays_8_0_pinned: ... + NAR: typing.ClassVar[int] = 7 + def GetStructOfArrays(self) -> StructOfArrays_7_0_idcpu_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_8_0: ... + def __getitem__(self, arg0: int) -> Particle_7_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_0_0_8_0: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_7_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - def push_back(self, arg0: Particle_8_0) -> None: + def push_back(self, arg0: Particle_7_0) -> None: """ Add one particle to this tile. """ @@ -9492,7 +9733,7 @@ class ParticleTile_0_0_8_0_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9500,36 +9741,29 @@ class ParticleTile_0_0_8_0_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_0_0_8_0_pinned) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_7_0_pinned) -> None: ... -class ParticleTile_1_1_2_1_arena: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_arena: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_arena: ... +class ParticleTile_pureSoA_0_0_8_0_arena: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_arena: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9538,7 +9772,7 @@ class ParticleTile_1_1_2_1_arena: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9547,7 +9781,7 @@ class ParticleTile_1_1_2_1_arena: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9555,36 +9789,29 @@ class ParticleTile_1_1_2_1_arena: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_arena) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_arena) -> None: ... -class ParticleTile_1_1_2_1_default: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_default: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_default: ... +class ParticleTile_pureSoA_0_0_8_0_default: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_default: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9593,7 +9820,7 @@ class ParticleTile_1_1_2_1_default: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9602,7 +9829,7 @@ class ParticleTile_1_1_2_1_default: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9610,36 +9837,29 @@ class ParticleTile_1_1_2_1_default: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_default) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_default) -> None: ... -class ParticleTile_1_1_2_1_pinned: - NAI: typing.ClassVar[int] = 1 - NAR: typing.ClassVar[int] = 2 - def GetArrayOfStructs(self) -> ArrayOfStructs_1_1_pinned: ... - def GetStructOfArrays(self) -> StructOfArrays_2_1_pinned: ... +class ParticleTile_pureSoA_0_0_8_0_pinned: + NAI: typing.ClassVar[int] = 0 + NAR: typing.ClassVar[int] = 8 + def GetStructOfArrays(self) -> StructOfArrays_8_0_idcpu_pinned: ... def NumIntComps(self) -> int: ... def NumRealComps(self) -> int: ... def NumRuntimeIntComps(self) -> int: ... def NumRuntimeRealComps(self) -> int: ... - def __getitem__(self, arg0: int) -> Particle_3_2: ... + def __getitem__(self, arg0: int) -> Particle_8_0: ... def __init__(self) -> None: ... - def __setitem__(self, arg0: int, arg1: Particle_3_2) -> None: ... + def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... def define(self, arg0: int, arg1: int) -> None: ... def empty(self) -> bool: ... def getNumNeighbors(self) -> int: ... - def getParticleTileData(self) -> ParticleTileData_1_1_2_1: ... + def getParticleTileData(self) -> ParticleTileData_pureSoA_0_0_8_0: ... def numNeighborParticles(self) -> int: ... def numParticles(self) -> int: ... def numRealParticles(self) -> int: ... def numTotalParticles(self) -> int: ... - @typing.overload - def push_back(self, arg0: Particle_1_1) -> None: - """ - Add one particle to this tile. - """ - @typing.overload - def push_back(self, arg0: Particle_3_2) -> None: + def push_back(self, arg0: Particle_8_0) -> None: """ Add one particle to this tile. """ @@ -9648,7 +9868,7 @@ class ParticleTile_1_1_2_1_pinned: @typing.overload def push_back_int( self, - arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(1)], + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], ) -> None: ... @typing.overload def push_back_int(self, arg0: int, arg1: int, arg2: int) -> None: ... @@ -9657,7 +9877,7 @@ class ParticleTile_1_1_2_1_pinned: @typing.overload def push_back_real( self, - arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)], + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(8)], ) -> None: ... @typing.overload def push_back_real(self, arg0: int, arg1: int, arg2: float) -> None: ... @@ -9665,7 +9885,7 @@ class ParticleTile_1_1_2_1_pinned: def setNumNeighbors(self, arg0: int) -> None: ... def shrink_to_fit(self) -> None: ... def size(self) -> int: ... - def swap(self, arg0: ParticleTile_1_1_2_1_pinned) -> None: ... + def swap(self, arg0: ParticleTile_pureSoA_0_0_8_0_pinned) -> None: ... class Particle_0_0: NInt: typing.ClassVar[int] = 0 @@ -10135,6 +10355,72 @@ class Particle_5_0: arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(5)], ) -> None: ... +class Particle_6_0: + NInt: typing.ClassVar[int] = 0 + NReal: typing.ClassVar[int] = 6 + x: float + y: float + z: float + @typing.overload + def NextID(self) -> int: ... + @typing.overload + def NextID(self, arg0: int) -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, arg0: float, arg1: float, arg2: float) -> None: ... + @typing.overload + def __init__(self, arg0: float, arg1: float, arg2: float, *args) -> None: ... + @typing.overload + def __init__(self, arg0: float, arg1: float, arg2: float, **kwargs) -> None: ... + @typing.overload + def __init__(self, **kwargs) -> None: ... + def __repr__(self) -> str: ... + def __str__(self) -> str: ... + def cpu(self) -> int: ... + @typing.overload + def get_idata(self, arg0: int) -> None: ... + @typing.overload + def get_idata(self) -> None: ... + @typing.overload + def get_rdata(self, arg0: int) -> float: ... + @typing.overload + def get_rdata( + self, + ) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]: ... + def id(self) -> int: ... + @typing.overload + def pos(self, arg0: int) -> float: ... + @typing.overload + def pos(self) -> RealVect: ... + @typing.overload + def setPos(self, arg0: int, arg1: float) -> None: ... + @typing.overload + def setPos(self, arg0: RealVect) -> None: ... + @typing.overload + def setPos( + self, + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)], + ) -> None: ... + @typing.overload + def set_idata(self, arg0: int, arg1: int) -> None: ... + @typing.overload + def set_idata(self, arg0: IntVect) -> None: ... + @typing.overload + def set_idata( + self, + arg0: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(0)], + ) -> None: ... + @typing.overload + def set_rdata(self, arg0: int, arg1: float) -> None: ... + @typing.overload + def set_rdata(self, arg0: RealVect) -> None: ... + @typing.overload + def set_rdata( + self, + arg0: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)], + ) -> None: ... + class Particle_7_0: NInt: typing.ClassVar[int] = 0 NReal: typing.ClassVar[int] = 7 @@ -11719,7 +12005,11 @@ class StructOfArrays_5_0_pinned: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_arena: +class StructOfArrays_7_0_idcpu_arena: + def GetIdCPUData(self) -> PODVector_uint64_arena: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -11818,7 +12108,11 @@ class StructOfArrays_7_0_arena: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_default: +class StructOfArrays_7_0_idcpu_default: + def GetIdCPUData(self) -> PODVector_uint64_std: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -11917,7 +12211,11 @@ class StructOfArrays_7_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_7_0_pinned: +class StructOfArrays_7_0_idcpu_pinned: + def GetIdCPUData(self) -> PODVector_uint64_pinned: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12016,7 +12314,11 @@ class StructOfArrays_7_0_pinned: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_arena: +class StructOfArrays_8_0_idcpu_arena: + def GetIdCPUData(self) -> PODVector_uint64_arena: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12115,7 +12417,11 @@ class StructOfArrays_8_0_arena: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_default: +class StructOfArrays_8_0_idcpu_default: + def GetIdCPUData(self) -> PODVector_uint64_std: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self, @@ -12214,7 +12520,11 @@ class StructOfArrays_8_0_default: Get the number of compile-time + runtime Real components """ -class StructOfArrays_8_0_pinned: +class StructOfArrays_8_0_idcpu_pinned: + def GetIdCPUData(self) -> PODVector_uint64_pinned: + """ + Get access to a particle IdCPU component Array + """ @typing.overload def GetIntData( self,