diff --git a/src/amrex/space1d/__init__.pyi b/src/amrex/space1d/__init__.pyi index 5b1f17ff..c23dea05 100644 --- a/src/amrex/space1d/__init__.pyi +++ b/src/amrex/space1d/__init__.pyi @@ -553,4 +553,4 @@ def d_decl(x, y, z): __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "24.10" +__version__: str = "24.10-8-g8df11b69a116" diff --git a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi index 1c9f8bcb..ceadd558 100644 --- a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi +++ b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi @@ -4959,7 +4959,7 @@ class BoxArray: def size(self) -> int: ... class Config: - amrex_version: typing.ClassVar[str] = "24.10" + amrex_version: typing.ClassVar[str] = "24.10-8-g8df11b69a116" gpu_backend = None have_eb: typing.ClassVar[bool] = False have_gpu: typing.ClassVar[bool] = False @@ -10043,14 +10043,26 @@ class ParticleContainer_16_4_0_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10208,14 +10220,26 @@ class ParticleContainer_16_4_0_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10373,14 +10397,26 @@ class ParticleContainer_16_4_0_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10538,14 +10574,26 @@ class ParticleContainer_2_1_3_1_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10703,14 +10751,26 @@ class ParticleContainer_2_1_3_1_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10868,14 +10928,26 @@ class ParticleContainer_2_1_3_1_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11033,14 +11105,26 @@ class ParticleContainer_pureSoA_1_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_1_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11192,14 +11276,26 @@ class ParticleContainer_pureSoA_1_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_1_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11351,14 +11447,26 @@ class ParticleContainer_pureSoA_1_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_1_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11510,14 +11618,26 @@ class ParticleContainer_pureSoA_5_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_5_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11669,14 +11789,26 @@ class ParticleContainer_pureSoA_5_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_5_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11828,14 +11960,26 @@ class ParticleContainer_pureSoA_5_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_5_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11987,14 +12131,26 @@ class ParticleContainer_pureSoA_8_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12146,14 +12302,26 @@ class ParticleContainer_pureSoA_8_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12305,14 +12473,26 @@ class ParticleContainer_pureSoA_8_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12547,7 +12727,9 @@ class ParticleTile_16_4_0_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_arena: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -12612,7 +12794,9 @@ class ParticleTile_16_4_0_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_default: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -12677,7 +12861,9 @@ class ParticleTile_16_4_0_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_pinned: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -12742,7 +12928,9 @@ class ParticleTile_2_1_3_1_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_arena: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -12807,7 +12995,9 @@ class ParticleTile_2_1_3_1_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_default: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -12872,7 +13062,9 @@ class ParticleTile_2_1_3_1_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_pinned: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -12937,7 +13129,9 @@ class ParticleTile_pureSoA_1_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_1_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_1_0: ... def get_struct_of_arrays(self) -> StructOfArrays_1_0_idcpu_arena: ... @@ -12995,7 +13189,9 @@ class ParticleTile_pureSoA_1_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_1_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_1_0: ... def get_struct_of_arrays(self) -> StructOfArrays_1_0_idcpu_default: ... @@ -13053,7 +13249,9 @@ class ParticleTile_pureSoA_1_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_1_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_1_0: ... def get_struct_of_arrays(self) -> StructOfArrays_1_0_idcpu_pinned: ... @@ -13111,7 +13309,9 @@ class ParticleTile_pureSoA_5_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_5_0: ... def get_struct_of_arrays(self) -> StructOfArrays_5_0_idcpu_arena: ... @@ -13169,7 +13369,9 @@ class ParticleTile_pureSoA_5_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_5_0: ... def get_struct_of_arrays(self) -> StructOfArrays_5_0_idcpu_default: ... @@ -13227,7 +13429,9 @@ class ParticleTile_pureSoA_5_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_5_0: ... def get_struct_of_arrays(self) -> StructOfArrays_5_0_idcpu_pinned: ... @@ -13285,7 +13489,9 @@ class ParticleTile_pureSoA_8_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_arena: ... @@ -13343,7 +13549,9 @@ class ParticleTile_pureSoA_8_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_default: ... @@ -13401,7 +13609,9 @@ class ParticleTile_pureSoA_8_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_pinned: ... @@ -14109,7 +14319,9 @@ class StructOfArrays_0_0_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -14292,7 +14504,9 @@ class StructOfArrays_0_0_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -14475,7 +14689,9 @@ class StructOfArrays_0_0_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -14658,7 +14874,9 @@ class StructOfArrays_1_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -14845,7 +15063,9 @@ class StructOfArrays_1_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -15032,7 +15252,9 @@ class StructOfArrays_1_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -15219,7 +15441,9 @@ class StructOfArrays_3_1_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15402,7 +15626,9 @@ class StructOfArrays_3_1_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15585,7 +15811,9 @@ class StructOfArrays_3_1_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15768,7 +15996,9 @@ class StructOfArrays_5_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -15955,7 +16185,9 @@ class StructOfArrays_5_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -16142,7 +16374,9 @@ class StructOfArrays_5_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -16329,7 +16563,9 @@ class StructOfArrays_8_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -16516,7 +16752,9 @@ class StructOfArrays_8_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -16703,7 +16941,9 @@ class StructOfArrays_8_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -18021,5 +18261,5 @@ def write_single_level_plotfile( __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "24.10" +__version__: str = "24.10-8-g8df11b69a116" IntVect = IntVect1D diff --git a/src/amrex/space2d/__init__.pyi b/src/amrex/space2d/__init__.pyi index f15344bc..ace0a07b 100644 --- a/src/amrex/space2d/__init__.pyi +++ b/src/amrex/space2d/__init__.pyi @@ -601,4 +601,4 @@ def d_decl(x, y, z): __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "24.10" +__version__: str = "24.10-8-g8df11b69a116" diff --git a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi index 3afc8cec..742634f1 100644 --- a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi +++ b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi @@ -4983,7 +4983,7 @@ class BoxArray: def size(self) -> int: ... class Config: - amrex_version: typing.ClassVar[str] = "24.10" + amrex_version: typing.ClassVar[str] = "24.10-8-g8df11b69a116" gpu_backend = None have_eb: typing.ClassVar[bool] = True have_gpu: typing.ClassVar[bool] = False @@ -10509,14 +10509,26 @@ class ParticleContainer_16_4_0_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10674,14 +10686,26 @@ class ParticleContainer_16_4_0_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10839,14 +10863,26 @@ class ParticleContainer_16_4_0_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11004,14 +11040,26 @@ class ParticleContainer_2_1_3_1_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11169,14 +11217,26 @@ class ParticleContainer_2_1_3_1_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11334,14 +11394,26 @@ class ParticleContainer_2_1_3_1_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11499,14 +11571,26 @@ class ParticleContainer_pureSoA_2_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_2_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11658,14 +11742,26 @@ class ParticleContainer_pureSoA_2_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_2_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11817,14 +11913,26 @@ class ParticleContainer_pureSoA_2_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_2_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11976,14 +12084,26 @@ class ParticleContainer_pureSoA_6_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_6_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12135,14 +12255,26 @@ class ParticleContainer_pureSoA_6_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_6_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12294,14 +12426,26 @@ class ParticleContainer_pureSoA_6_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_6_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12453,14 +12597,26 @@ class ParticleContainer_pureSoA_7_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_7_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12612,14 +12768,26 @@ class ParticleContainer_pureSoA_7_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_7_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12771,14 +12939,26 @@ class ParticleContainer_pureSoA_7_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_7_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12930,14 +13110,26 @@ class ParticleContainer_pureSoA_8_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -13089,14 +13281,26 @@ class ParticleContainer_pureSoA_8_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -13248,14 +13452,26 @@ class ParticleContainer_pureSoA_8_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -13513,7 +13729,9 @@ class ParticleTile_16_4_0_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_arena: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -13578,7 +13796,9 @@ class ParticleTile_16_4_0_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_default: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -13643,7 +13863,9 @@ class ParticleTile_16_4_0_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_pinned: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -13708,7 +13930,9 @@ class ParticleTile_2_1_3_1_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_arena: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -13773,7 +13997,9 @@ class ParticleTile_2_1_3_1_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_default: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -13838,7 +14064,9 @@ class ParticleTile_2_1_3_1_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_pinned: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -13903,7 +14131,9 @@ class ParticleTile_pureSoA_2_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_2_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_2_0: ... def get_struct_of_arrays(self) -> StructOfArrays_2_0_idcpu_arena: ... @@ -13961,7 +14191,9 @@ class ParticleTile_pureSoA_2_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_2_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_2_0: ... def get_struct_of_arrays(self) -> StructOfArrays_2_0_idcpu_default: ... @@ -14019,7 +14251,9 @@ class ParticleTile_pureSoA_2_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_2_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_2_0: ... def get_struct_of_arrays(self) -> StructOfArrays_2_0_idcpu_pinned: ... @@ -14077,7 +14311,9 @@ class ParticleTile_pureSoA_6_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_6_0: ... def get_struct_of_arrays(self) -> StructOfArrays_6_0_idcpu_arena: ... @@ -14135,7 +14371,9 @@ class ParticleTile_pureSoA_6_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_6_0: ... def get_struct_of_arrays(self) -> StructOfArrays_6_0_idcpu_default: ... @@ -14193,7 +14431,9 @@ class ParticleTile_pureSoA_6_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_6_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_6_0: ... def get_struct_of_arrays(self) -> StructOfArrays_6_0_idcpu_pinned: ... @@ -14251,7 +14491,9 @@ class ParticleTile_pureSoA_7_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_7_0: ... def get_struct_of_arrays(self) -> StructOfArrays_7_0_idcpu_arena: ... @@ -14309,7 +14551,9 @@ class ParticleTile_pureSoA_7_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_7_0: ... def get_struct_of_arrays(self) -> StructOfArrays_7_0_idcpu_default: ... @@ -14367,7 +14611,9 @@ class ParticleTile_pureSoA_7_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_7_0: ... def get_struct_of_arrays(self) -> StructOfArrays_7_0_idcpu_pinned: ... @@ -14425,7 +14671,9 @@ class ParticleTile_pureSoA_8_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_arena: ... @@ -14483,7 +14731,9 @@ class ParticleTile_pureSoA_8_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_default: ... @@ -14541,7 +14791,9 @@ class ParticleTile_pureSoA_8_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_pinned: ... @@ -15318,7 +15570,9 @@ class StructOfArrays_0_0_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15501,7 +15755,9 @@ class StructOfArrays_0_0_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15684,7 +15940,9 @@ class StructOfArrays_0_0_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15867,7 +16125,9 @@ class StructOfArrays_2_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -16054,7 +16314,9 @@ class StructOfArrays_2_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -16241,7 +16503,9 @@ class StructOfArrays_2_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -16428,7 +16692,9 @@ class StructOfArrays_3_1_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -16611,7 +16877,9 @@ class StructOfArrays_3_1_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -16794,7 +17062,9 @@ class StructOfArrays_3_1_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -16977,7 +17247,9 @@ class StructOfArrays_6_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -17164,7 +17436,9 @@ class StructOfArrays_6_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -17351,7 +17625,9 @@ class StructOfArrays_6_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -17538,7 +17814,9 @@ class StructOfArrays_7_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -17725,7 +18003,9 @@ class StructOfArrays_7_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -17912,7 +18192,9 @@ class StructOfArrays_7_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -18099,7 +18381,9 @@ class StructOfArrays_8_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -18286,7 +18570,9 @@ class StructOfArrays_8_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -18473,7 +18759,9 @@ class StructOfArrays_8_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -19791,5 +20079,5 @@ def write_single_level_plotfile( __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "24.10" +__version__: str = "24.10-8-g8df11b69a116" IntVect = IntVect2D diff --git a/src/amrex/space3d/__init__.pyi b/src/amrex/space3d/__init__.pyi index 3089024a..c7ad0434 100644 --- a/src/amrex/space3d/__init__.pyi +++ b/src/amrex/space3d/__init__.pyi @@ -553,4 +553,4 @@ def d_decl(x, y, z): __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "24.10" +__version__: str = "24.10-8-g8df11b69a116" diff --git a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi index f208ba45..af32604b 100644 --- a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi +++ b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi @@ -4959,7 +4959,7 @@ class BoxArray: def size(self) -> int: ... class Config: - amrex_version: typing.ClassVar[str] = "24.10" + amrex_version: typing.ClassVar[str] = "24.10-8-g8df11b69a116" gpu_backend = None have_eb: typing.ClassVar[bool] = True have_gpu: typing.ClassVar[bool] = False @@ -10050,14 +10050,26 @@ class ParticleContainer_16_4_0_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10215,14 +10227,26 @@ class ParticleContainer_16_4_0_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10380,14 +10404,26 @@ class ParticleContainer_16_4_0_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_16_4_0_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10545,14 +10581,26 @@ class ParticleContainer_2_1_3_1_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10710,14 +10758,26 @@ class ParticleContainer_2_1_3_1_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -10875,14 +10935,26 @@ class ParticleContainer_2_1_3_1_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_2_1_3_1_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11040,14 +11112,26 @@ class ParticleContainer_pureSoA_3_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_3_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11199,14 +11283,26 @@ class ParticleContainer_pureSoA_3_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_3_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11358,14 +11454,26 @@ class ParticleContainer_pureSoA_3_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_3_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11517,14 +11625,26 @@ class ParticleContainer_pureSoA_7_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_7_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11676,14 +11796,26 @@ class ParticleContainer_pureSoA_7_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_7_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11835,14 +11967,26 @@ class ParticleContainer_pureSoA_7_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_7_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -11994,14 +12138,26 @@ class ParticleContainer_pureSoA_8_0_arena: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_arena, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12153,14 +12309,26 @@ class ParticleContainer_pureSoA_8_0_default: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_default, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12312,14 +12480,26 @@ class ParticleContainer_pureSoA_8_0_pinned: arg2: Vector_BoxArray, arg3: Vector_IntVect, ) -> None: ... - def add_int_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_int_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Int + """ + @typing.overload + def add_int_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Int """ def add_particles_at_level( self, particles: ParticleTile_pureSoA_8_0_pinned, level: int, ngrow: int = 0 ) -> None: ... - def add_real_comp(self, communicate: bool = True) -> None: + @typing.overload + def add_real_comp(self, communicate: int = 1) -> None: + """ + add a new runtime component with type Real + """ + @typing.overload + def add_real_comp(self, name: str, communicate: int = 1) -> None: """ add a new runtime component with type Real """ @@ -12554,7 +12734,9 @@ class ParticleTile_16_4_0_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_arena: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -12619,7 +12801,9 @@ class ParticleTile_16_4_0_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_default: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -12684,7 +12868,9 @@ class ParticleTile_16_4_0_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_16_4) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_16_4_pinned: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_16_4_0_0: ... @@ -12749,7 +12935,9 @@ class ParticleTile_2_1_3_1_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_arena: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -12814,7 +13002,9 @@ class ParticleTile_2_1_3_1_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_default: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -12879,7 +13069,9 @@ class ParticleTile_2_1_3_1_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_5_2) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_array_of_structs(self) -> ArrayOfStructs_2_1_pinned: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_2_1_3_1: ... @@ -12944,7 +13136,9 @@ class ParticleTile_pureSoA_3_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_3_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_3_0: ... def get_struct_of_arrays(self) -> StructOfArrays_3_0_idcpu_arena: ... @@ -13002,7 +13196,9 @@ class ParticleTile_pureSoA_3_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_3_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_3_0: ... def get_struct_of_arrays(self) -> StructOfArrays_3_0_idcpu_default: ... @@ -13060,7 +13256,9 @@ class ParticleTile_pureSoA_3_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_3_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_3_0: ... def get_struct_of_arrays(self) -> StructOfArrays_3_0_idcpu_pinned: ... @@ -13118,7 +13316,9 @@ class ParticleTile_pureSoA_7_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_7_0: ... def get_struct_of_arrays(self) -> StructOfArrays_7_0_idcpu_arena: ... @@ -13176,7 +13376,9 @@ class ParticleTile_pureSoA_7_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_7_0: ... def get_struct_of_arrays(self) -> StructOfArrays_7_0_idcpu_default: ... @@ -13234,7 +13436,9 @@ class ParticleTile_pureSoA_7_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_7_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_7_0: ... def get_struct_of_arrays(self) -> StructOfArrays_7_0_idcpu_pinned: ... @@ -13292,7 +13496,9 @@ class ParticleTile_pureSoA_8_0_arena: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_arena: ... @@ -13350,7 +13556,9 @@ class ParticleTile_pureSoA_8_0_default: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_default: ... @@ -13408,7 +13616,9 @@ class ParticleTile_pureSoA_8_0_pinned: def __init__(self) -> None: ... def __setitem__(self, arg0: int, arg1: Particle_8_0) -> None: ... def capacity(self) -> int: ... - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_num_neighbors(self) -> int: ... def get_particle_tile_data(self) -> ParticleTileData_pureSoA_8_0: ... def get_struct_of_arrays(self) -> StructOfArrays_8_0_idcpu_pinned: ... @@ -14142,7 +14352,9 @@ class StructOfArrays_0_0_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -14325,7 +14537,9 @@ class StructOfArrays_0_0_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -14508,7 +14722,9 @@ class StructOfArrays_0_0_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -14691,7 +14907,9 @@ class StructOfArrays_3_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -14878,7 +15096,9 @@ class StructOfArrays_3_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -15065,7 +15285,9 @@ class StructOfArrays_3_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -15252,7 +15474,9 @@ class StructOfArrays_3_1_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15435,7 +15659,9 @@ class StructOfArrays_3_1_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15618,7 +15844,9 @@ class StructOfArrays_3_1_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... @typing.overload def get_int_data( self, @@ -15801,7 +16029,9 @@ class StructOfArrays_7_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -15988,7 +16218,9 @@ class StructOfArrays_7_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -16175,7 +16407,9 @@ class StructOfArrays_7_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -16362,7 +16596,9 @@ class StructOfArrays_8_0_idcpu_arena: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_arena: """ Get access to a particle IdCPU component Array @@ -16549,7 +16785,9 @@ class StructOfArrays_8_0_idcpu_default: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_std: """ Get access to a particle IdCPU component Array @@ -16736,7 +16974,9 @@ class StructOfArrays_8_0_idcpu_pinned: """ Get the number of particles """ - def define(self, arg0: int, arg1: int) -> None: ... + def define( + self, arg0: int, arg1: int, arg2: list[str], arg3: list[str] + ) -> None: ... def get_idcpu_data(self) -> PODVector_uint64_pinned: """ Get access to a particle IdCPU component Array @@ -18054,5 +18294,5 @@ def write_single_level_plotfile( __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "24.10" +__version__: str = "24.10-8-g8df11b69a116" IntVect = IntVect3D