diff --git a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi index 91951b9c..a480bdb9 100644 --- a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi +++ b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi @@ -10442,9 +10442,25 @@ class ParticleContainer_16_4_0_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10484,6 +10500,7 @@ class ParticleContainer_16_4_0_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -10522,6 +10539,11 @@ class ParticleContainer_16_4_0_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -10543,6 +10565,11 @@ class ParticleContainer_16_4_0_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_16_4_0_0_default: is_soa_particle: typing.ClassVar[bool] = False @@ -10621,9 +10648,25 @@ class ParticleContainer_16_4_0_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10663,6 +10706,7 @@ class ParticleContainer_16_4_0_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -10701,6 +10745,11 @@ class ParticleContainer_16_4_0_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -10722,6 +10771,11 @@ class ParticleContainer_16_4_0_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_16_4_0_0_pinned: is_soa_particle: typing.ClassVar[bool] = False @@ -10800,9 +10854,25 @@ class ParticleContainer_16_4_0_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10842,6 +10912,7 @@ class ParticleContainer_16_4_0_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -10880,6 +10951,11 @@ class ParticleContainer_16_4_0_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -10901,6 +10977,11 @@ class ParticleContainer_16_4_0_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_arena: is_soa_particle: typing.ClassVar[bool] = False @@ -10979,9 +11060,25 @@ class ParticleContainer_2_1_3_1_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11021,6 +11118,7 @@ class ParticleContainer_2_1_3_1_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11059,6 +11157,11 @@ class ParticleContainer_2_1_3_1_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11080,6 +11183,11 @@ class ParticleContainer_2_1_3_1_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_default: is_soa_particle: typing.ClassVar[bool] = False @@ -11158,9 +11266,25 @@ class ParticleContainer_2_1_3_1_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11200,6 +11324,7 @@ class ParticleContainer_2_1_3_1_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11238,6 +11363,11 @@ class ParticleContainer_2_1_3_1_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11259,6 +11389,11 @@ class ParticleContainer_2_1_3_1_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_pinned: is_soa_particle: typing.ClassVar[bool] = False @@ -11337,9 +11472,25 @@ class ParticleContainer_2_1_3_1_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11379,6 +11530,7 @@ class ParticleContainer_2_1_3_1_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11417,6 +11569,11 @@ class ParticleContainer_2_1_3_1_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11438,6 +11595,11 @@ class ParticleContainer_2_1_3_1_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_1_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -11516,9 +11678,25 @@ class ParticleContainer_pureSoA_1_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_1_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -11552,6 +11730,7 @@ class ParticleContainer_pureSoA_1_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11590,6 +11769,11 @@ class ParticleContainer_pureSoA_1_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11611,6 +11795,11 @@ class ParticleContainer_pureSoA_1_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_1_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -11689,9 +11878,25 @@ class ParticleContainer_pureSoA_1_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_1_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -11725,6 +11930,7 @@ class ParticleContainer_pureSoA_1_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11763,6 +11969,11 @@ class ParticleContainer_pureSoA_1_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11784,6 +11995,11 @@ class ParticleContainer_pureSoA_1_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_1_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -11862,9 +12078,25 @@ class ParticleContainer_pureSoA_1_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_1_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -11898,6 +12130,7 @@ class ParticleContainer_pureSoA_1_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11936,6 +12169,11 @@ class ParticleContainer_pureSoA_1_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11957,6 +12195,11 @@ class ParticleContainer_pureSoA_1_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_5_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -12035,9 +12278,25 @@ class ParticleContainer_pureSoA_5_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_5_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12071,6 +12330,7 @@ class ParticleContainer_pureSoA_5_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12109,6 +12369,11 @@ class ParticleContainer_pureSoA_5_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12130,6 +12395,11 @@ class ParticleContainer_pureSoA_5_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_5_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -12208,9 +12478,25 @@ class ParticleContainer_pureSoA_5_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_5_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12244,6 +12530,7 @@ class ParticleContainer_pureSoA_5_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12282,6 +12569,11 @@ class ParticleContainer_pureSoA_5_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12303,6 +12595,11 @@ class ParticleContainer_pureSoA_5_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_5_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -12381,9 +12678,25 @@ class ParticleContainer_pureSoA_5_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_5_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12417,6 +12730,7 @@ class ParticleContainer_pureSoA_5_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12455,6 +12769,11 @@ class ParticleContainer_pureSoA_5_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12476,6 +12795,11 @@ class ParticleContainer_pureSoA_5_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -12554,9 +12878,25 @@ class ParticleContainer_pureSoA_8_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12590,6 +12930,7 @@ class ParticleContainer_pureSoA_8_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12628,6 +12969,11 @@ class ParticleContainer_pureSoA_8_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12649,6 +12995,11 @@ class ParticleContainer_pureSoA_8_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -12727,9 +13078,25 @@ class ParticleContainer_pureSoA_8_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12763,6 +13130,7 @@ class ParticleContainer_pureSoA_8_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12801,6 +13169,11 @@ class ParticleContainer_pureSoA_8_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12822,6 +13195,11 @@ class ParticleContainer_pureSoA_8_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -12900,9 +13278,25 @@ class ParticleContainer_pureSoA_8_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12936,6 +13330,7 @@ class ParticleContainer_pureSoA_8_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect1D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12974,6 +13369,11 @@ class ParticleContainer_pureSoA_8_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12995,6 +13395,11 @@ class ParticleContainer_pureSoA_8_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleInitType_16_4_0_0: is_soa_particle: typing.ClassVar[bool] = False @@ -16187,50 +16592,6 @@ class StructOfArrays_0_0_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16311,6 +16672,11 @@ class StructOfArrays_0_0_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16327,6 +16693,11 @@ class StructOfArrays_0_0_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16374,50 +16745,6 @@ class StructOfArrays_0_0_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16498,6 +16825,11 @@ class StructOfArrays_0_0_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16514,6 +16846,11 @@ class StructOfArrays_0_0_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16561,50 +16898,6 @@ class StructOfArrays_0_0_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16685,6 +16978,11 @@ class StructOfArrays_0_0_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16701,6 +16999,11 @@ class StructOfArrays_0_0_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16752,50 +17055,6 @@ class StructOfArrays_1_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16876,6 +17135,11 @@ class StructOfArrays_1_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16892,6 +17156,11 @@ class StructOfArrays_1_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16943,50 +17212,6 @@ class StructOfArrays_1_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17067,6 +17292,11 @@ class StructOfArrays_1_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17083,6 +17313,11 @@ class StructOfArrays_1_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17134,50 +17369,6 @@ class StructOfArrays_1_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17258,6 +17449,11 @@ class StructOfArrays_1_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17274,6 +17470,11 @@ class StructOfArrays_1_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17321,50 +17522,6 @@ class StructOfArrays_3_1_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17445,6 +17602,11 @@ class StructOfArrays_3_1_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17461,6 +17623,11 @@ class StructOfArrays_3_1_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17508,50 +17675,6 @@ class StructOfArrays_3_1_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17632,6 +17755,11 @@ class StructOfArrays_3_1_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17648,6 +17776,11 @@ class StructOfArrays_3_1_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17695,50 +17828,6 @@ class StructOfArrays_3_1_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17819,6 +17908,11 @@ class StructOfArrays_3_1_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17835,6 +17929,11 @@ class StructOfArrays_3_1_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17886,50 +17985,6 @@ class StructOfArrays_5_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18010,6 +18065,11 @@ class StructOfArrays_5_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18026,6 +18086,11 @@ class StructOfArrays_5_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18077,50 +18142,6 @@ class StructOfArrays_5_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18201,6 +18222,11 @@ class StructOfArrays_5_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18217,6 +18243,11 @@ class StructOfArrays_5_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18268,50 +18299,6 @@ class StructOfArrays_5_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18392,6 +18379,11 @@ class StructOfArrays_5_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18408,6 +18400,11 @@ class StructOfArrays_5_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18459,50 +18456,6 @@ class StructOfArrays_8_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18583,6 +18536,11 @@ class StructOfArrays_8_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18599,6 +18557,11 @@ class StructOfArrays_8_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18650,50 +18613,6 @@ class StructOfArrays_8_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18774,6 +18693,11 @@ class StructOfArrays_8_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18790,6 +18714,11 @@ class StructOfArrays_8_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18841,50 +18770,6 @@ class StructOfArrays_8_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18965,6 +18850,11 @@ class StructOfArrays_8_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18981,6 +18871,11 @@ class StructOfArrays_8_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles diff --git a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi index be79206d..808fb204 100644 --- a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi +++ b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi @@ -10932,9 +10932,25 @@ class ParticleContainer_16_4_0_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10974,6 +10990,7 @@ class ParticleContainer_16_4_0_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11012,6 +11029,11 @@ class ParticleContainer_16_4_0_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11033,6 +11055,11 @@ class ParticleContainer_16_4_0_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_16_4_0_0_default: is_soa_particle: typing.ClassVar[bool] = False @@ -11111,9 +11138,25 @@ class ParticleContainer_16_4_0_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -11153,6 +11196,7 @@ class ParticleContainer_16_4_0_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11191,6 +11235,11 @@ class ParticleContainer_16_4_0_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11212,6 +11261,11 @@ class ParticleContainer_16_4_0_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_16_4_0_0_pinned: is_soa_particle: typing.ClassVar[bool] = False @@ -11290,9 +11344,25 @@ class ParticleContainer_16_4_0_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -11332,6 +11402,7 @@ class ParticleContainer_16_4_0_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11370,6 +11441,11 @@ class ParticleContainer_16_4_0_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11391,6 +11467,11 @@ class ParticleContainer_16_4_0_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_arena: is_soa_particle: typing.ClassVar[bool] = False @@ -11469,9 +11550,25 @@ class ParticleContainer_2_1_3_1_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11511,6 +11608,7 @@ class ParticleContainer_2_1_3_1_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11549,6 +11647,11 @@ class ParticleContainer_2_1_3_1_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11570,6 +11673,11 @@ class ParticleContainer_2_1_3_1_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_default: is_soa_particle: typing.ClassVar[bool] = False @@ -11648,9 +11756,25 @@ class ParticleContainer_2_1_3_1_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11690,6 +11814,7 @@ class ParticleContainer_2_1_3_1_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11728,6 +11853,11 @@ class ParticleContainer_2_1_3_1_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11749,6 +11879,11 @@ class ParticleContainer_2_1_3_1_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_pinned: is_soa_particle: typing.ClassVar[bool] = False @@ -11827,9 +11962,25 @@ class ParticleContainer_2_1_3_1_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11869,6 +12020,7 @@ class ParticleContainer_2_1_3_1_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11907,6 +12059,11 @@ class ParticleContainer_2_1_3_1_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11928,6 +12085,11 @@ class ParticleContainer_2_1_3_1_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_2_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -12006,9 +12168,25 @@ class ParticleContainer_pureSoA_2_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_2_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12042,6 +12220,7 @@ class ParticleContainer_pureSoA_2_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12080,6 +12259,11 @@ class ParticleContainer_pureSoA_2_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12101,6 +12285,11 @@ class ParticleContainer_pureSoA_2_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_2_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -12179,9 +12368,25 @@ class ParticleContainer_pureSoA_2_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_2_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12215,6 +12420,7 @@ class ParticleContainer_pureSoA_2_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12253,6 +12459,11 @@ class ParticleContainer_pureSoA_2_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12274,6 +12485,11 @@ class ParticleContainer_pureSoA_2_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_2_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -12352,9 +12568,25 @@ class ParticleContainer_pureSoA_2_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_2_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12388,6 +12620,7 @@ class ParticleContainer_pureSoA_2_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12426,6 +12659,11 @@ class ParticleContainer_pureSoA_2_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12447,6 +12685,11 @@ class ParticleContainer_pureSoA_2_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_6_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -12525,9 +12768,25 @@ class ParticleContainer_pureSoA_6_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_6_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12561,6 +12820,7 @@ class ParticleContainer_pureSoA_6_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12599,6 +12859,11 @@ class ParticleContainer_pureSoA_6_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12620,6 +12885,11 @@ class ParticleContainer_pureSoA_6_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_6_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -12698,9 +12968,25 @@ class ParticleContainer_pureSoA_6_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_6_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12734,6 +13020,7 @@ class ParticleContainer_pureSoA_6_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12772,6 +13059,11 @@ class ParticleContainer_pureSoA_6_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12793,6 +13085,11 @@ class ParticleContainer_pureSoA_6_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_6_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -12871,9 +13168,25 @@ class ParticleContainer_pureSoA_6_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_6_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12907,6 +13220,7 @@ class ParticleContainer_pureSoA_6_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12945,6 +13259,11 @@ class ParticleContainer_pureSoA_6_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12966,6 +13285,11 @@ class ParticleContainer_pureSoA_6_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_7_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -13044,9 +13368,25 @@ class ParticleContainer_pureSoA_7_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_7_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -13080,6 +13420,7 @@ class ParticleContainer_pureSoA_7_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -13118,6 +13459,11 @@ class ParticleContainer_pureSoA_7_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -13139,6 +13485,11 @@ class ParticleContainer_pureSoA_7_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_7_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -13217,9 +13568,25 @@ class ParticleContainer_pureSoA_7_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_7_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -13253,6 +13620,7 @@ class ParticleContainer_pureSoA_7_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -13291,6 +13659,11 @@ class ParticleContainer_pureSoA_7_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -13312,6 +13685,11 @@ class ParticleContainer_pureSoA_7_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_7_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -13390,9 +13768,25 @@ class ParticleContainer_pureSoA_7_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_7_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -13426,6 +13820,7 @@ class ParticleContainer_pureSoA_7_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -13464,6 +13859,11 @@ class ParticleContainer_pureSoA_7_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -13485,6 +13885,11 @@ class ParticleContainer_pureSoA_7_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -13563,9 +13968,25 @@ class ParticleContainer_pureSoA_8_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -13599,6 +14020,7 @@ class ParticleContainer_pureSoA_8_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -13637,6 +14059,11 @@ class ParticleContainer_pureSoA_8_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -13658,6 +14085,11 @@ class ParticleContainer_pureSoA_8_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -13736,9 +14168,25 @@ class ParticleContainer_pureSoA_8_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -13772,6 +14220,7 @@ class ParticleContainer_pureSoA_8_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -13810,6 +14259,11 @@ class ParticleContainer_pureSoA_8_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -13831,6 +14285,11 @@ class ParticleContainer_pureSoA_8_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -13909,9 +14368,25 @@ class ParticleContainer_pureSoA_8_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -13945,6 +14420,7 @@ class ParticleContainer_pureSoA_8_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect2D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -13983,6 +14459,11 @@ class ParticleContainer_pureSoA_8_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -14004,6 +14485,11 @@ class ParticleContainer_pureSoA_8_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleInitType_16_4_0_0: is_soa_particle: typing.ClassVar[bool] = False @@ -17480,54 +17966,10 @@ class StructOfArrays_0_0_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): + def to_cupy(self, copy=False): """ - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ - def to_cupy(self, copy=False): - """ - - Provide CuPy views into a StructOfArrays. + Provide CuPy views into a StructOfArrays. Parameters ---------- @@ -17604,6 +18046,11 @@ class StructOfArrays_0_0_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17620,6 +18067,11 @@ class StructOfArrays_0_0_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17667,50 +18119,6 @@ class StructOfArrays_0_0_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17791,6 +18199,11 @@ class StructOfArrays_0_0_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17807,6 +18220,11 @@ class StructOfArrays_0_0_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17854,50 +18272,6 @@ class StructOfArrays_0_0_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17978,6 +18352,11 @@ class StructOfArrays_0_0_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17994,6 +18373,11 @@ class StructOfArrays_0_0_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18045,50 +18429,6 @@ class StructOfArrays_2_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18169,6 +18509,11 @@ class StructOfArrays_2_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18185,6 +18530,11 @@ class StructOfArrays_2_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18236,50 +18586,6 @@ class StructOfArrays_2_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18360,6 +18666,11 @@ class StructOfArrays_2_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18376,6 +18687,11 @@ class StructOfArrays_2_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18427,50 +18743,6 @@ class StructOfArrays_2_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18551,6 +18823,11 @@ class StructOfArrays_2_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18567,6 +18844,11 @@ class StructOfArrays_2_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18614,50 +18896,6 @@ class StructOfArrays_3_1_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18738,6 +18976,11 @@ class StructOfArrays_3_1_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18754,6 +18997,11 @@ class StructOfArrays_3_1_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18801,50 +19049,6 @@ class StructOfArrays_3_1_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18925,6 +19129,11 @@ class StructOfArrays_3_1_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18941,6 +19150,11 @@ class StructOfArrays_3_1_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18988,50 +19202,6 @@ class StructOfArrays_3_1_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -19112,6 +19282,11 @@ class StructOfArrays_3_1_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -19128,6 +19303,11 @@ class StructOfArrays_3_1_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -19179,50 +19359,6 @@ class StructOfArrays_6_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -19303,6 +19439,11 @@ class StructOfArrays_6_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -19319,6 +19460,11 @@ class StructOfArrays_6_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -19370,50 +19516,6 @@ class StructOfArrays_6_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -19494,6 +19596,11 @@ class StructOfArrays_6_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -19510,6 +19617,11 @@ class StructOfArrays_6_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -19561,50 +19673,6 @@ class StructOfArrays_6_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -19685,6 +19753,11 @@ class StructOfArrays_6_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -19701,6 +19774,11 @@ class StructOfArrays_6_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -19752,50 +19830,6 @@ class StructOfArrays_7_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -19876,6 +19910,11 @@ class StructOfArrays_7_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -19892,6 +19931,11 @@ class StructOfArrays_7_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -19943,50 +19987,6 @@ class StructOfArrays_7_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -20067,6 +20067,11 @@ class StructOfArrays_7_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -20083,6 +20088,11 @@ class StructOfArrays_7_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -20134,50 +20144,6 @@ class StructOfArrays_7_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -20258,6 +20224,11 @@ class StructOfArrays_7_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -20274,6 +20245,11 @@ class StructOfArrays_7_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -20325,50 +20301,6 @@ class StructOfArrays_8_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -20449,6 +20381,11 @@ class StructOfArrays_8_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -20465,6 +20402,11 @@ class StructOfArrays_8_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -20516,50 +20458,6 @@ class StructOfArrays_8_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -20640,6 +20538,11 @@ class StructOfArrays_8_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -20656,6 +20559,11 @@ class StructOfArrays_8_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -20707,50 +20615,6 @@ class StructOfArrays_8_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -20831,6 +20695,11 @@ class StructOfArrays_8_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -20847,6 +20716,11 @@ class StructOfArrays_8_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles diff --git a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi index 8b272660..5ee2ab22 100644 --- a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi +++ b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi @@ -10449,9 +10449,25 @@ class ParticleContainer_16_4_0_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10491,6 +10507,7 @@ class ParticleContainer_16_4_0_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -10529,6 +10546,11 @@ class ParticleContainer_16_4_0_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -10550,6 +10572,11 @@ class ParticleContainer_16_4_0_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_16_4_0_0_default: is_soa_particle: typing.ClassVar[bool] = False @@ -10628,9 +10655,25 @@ class ParticleContainer_16_4_0_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10670,6 +10713,7 @@ class ParticleContainer_16_4_0_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -10708,6 +10752,11 @@ class ParticleContainer_16_4_0_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -10729,6 +10778,11 @@ class ParticleContainer_16_4_0_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_16_4_0_0_pinned: is_soa_particle: typing.ClassVar[bool] = False @@ -10807,9 +10861,25 @@ class ParticleContainer_16_4_0_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_16_4_0_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_16_4_0_0 @@ -10849,6 +10919,7 @@ class ParticleContainer_16_4_0_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -10887,6 +10958,11 @@ class ParticleContainer_16_4_0_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -10908,6 +10984,11 @@ class ParticleContainer_16_4_0_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_arena: is_soa_particle: typing.ClassVar[bool] = False @@ -10986,9 +11067,25 @@ class ParticleContainer_2_1_3_1_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11028,6 +11125,7 @@ class ParticleContainer_2_1_3_1_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11066,6 +11164,11 @@ class ParticleContainer_2_1_3_1_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11087,6 +11190,11 @@ class ParticleContainer_2_1_3_1_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_default: is_soa_particle: typing.ClassVar[bool] = False @@ -11165,9 +11273,25 @@ class ParticleContainer_2_1_3_1_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11207,6 +11331,7 @@ class ParticleContainer_2_1_3_1_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11245,6 +11370,11 @@ class ParticleContainer_2_1_3_1_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11266,6 +11396,11 @@ class ParticleContainer_2_1_3_1_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_2_1_3_1_pinned: is_soa_particle: typing.ClassVar[bool] = False @@ -11344,9 +11479,25 @@ class ParticleContainer_2_1_3_1_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_2_1_3_1_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_one_per_cell( self, arg0: float, arg1: float, arg2: float, arg3: ParticleInitType_2_1_3_1 @@ -11386,6 +11537,7 @@ class ParticleContainer_2_1_3_1_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11424,6 +11576,11 @@ class ParticleContainer_2_1_3_1_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11445,6 +11602,11 @@ class ParticleContainer_2_1_3_1_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_3_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -11523,9 +11685,25 @@ class ParticleContainer_pureSoA_3_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_3_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -11559,6 +11737,7 @@ class ParticleContainer_pureSoA_3_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11597,6 +11776,11 @@ class ParticleContainer_pureSoA_3_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11618,6 +11802,11 @@ class ParticleContainer_pureSoA_3_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_3_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -11696,9 +11885,25 @@ class ParticleContainer_pureSoA_3_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_3_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -11732,6 +11937,7 @@ class ParticleContainer_pureSoA_3_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11770,6 +11976,11 @@ class ParticleContainer_pureSoA_3_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11791,6 +12002,11 @@ class ParticleContainer_pureSoA_3_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_3_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -11869,9 +12085,25 @@ class ParticleContainer_pureSoA_3_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_3_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -11905,6 +12137,7 @@ class ParticleContainer_pureSoA_3_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -11943,6 +12176,11 @@ class ParticleContainer_pureSoA_3_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -11964,6 +12202,11 @@ class ParticleContainer_pureSoA_3_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_7_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -12042,9 +12285,25 @@ class ParticleContainer_pureSoA_7_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_7_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12078,6 +12337,7 @@ class ParticleContainer_pureSoA_7_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12116,6 +12376,11 @@ class ParticleContainer_pureSoA_7_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12137,6 +12402,11 @@ class ParticleContainer_pureSoA_7_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_7_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -12215,9 +12485,25 @@ class ParticleContainer_pureSoA_7_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_7_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12251,6 +12537,7 @@ class ParticleContainer_pureSoA_7_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12289,6 +12576,11 @@ class ParticleContainer_pureSoA_7_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12310,6 +12602,11 @@ class ParticleContainer_pureSoA_7_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_7_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -12388,9 +12685,25 @@ class ParticleContainer_pureSoA_7_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_7_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12424,6 +12737,7 @@ class ParticleContainer_pureSoA_7_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12462,6 +12776,11 @@ class ParticleContainer_pureSoA_7_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12483,6 +12802,11 @@ class ParticleContainer_pureSoA_7_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_arena: is_soa_particle: typing.ClassVar[bool] = True @@ -12561,9 +12885,25 @@ class ParticleContainer_pureSoA_8_0_arena: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_arena]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12597,6 +12937,7 @@ class ParticleContainer_pureSoA_8_0_arena: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12635,6 +12976,11 @@ class ParticleContainer_pureSoA_8_0_arena: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12656,6 +13002,11 @@ class ParticleContainer_pureSoA_8_0_arena: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_default: is_soa_particle: typing.ClassVar[bool] = True @@ -12734,9 +13085,25 @@ class ParticleContainer_pureSoA_8_0_default: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_default]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12770,6 +13137,7 @@ class ParticleContainer_pureSoA_8_0_default: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12808,6 +13176,11 @@ class ParticleContainer_pureSoA_8_0_default: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -12829,6 +13202,11 @@ class ParticleContainer_pureSoA_8_0_default: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleContainer_pureSoA_8_0_pinned: is_soa_particle: typing.ClassVar[bool] = True @@ -12907,9 +13285,25 @@ class ParticleContainer_pureSoA_8_0_pinned: add a new runtime component with type Real """ def clear_particles(self) -> None: ... + def get_int_comp_index(self, arg0: str) -> int: + """ + Get the Integer SoA index of a component + """ def get_particles( self, level: int ) -> dict[tuple[int, int], ParticleTile_pureSoA_8_0_pinned]: ... + def get_real_comp_index(self, arg0: str) -> int: + """ + Get the ParticleReal SoA index of a component + """ + def has_int_comp(self, arg0: str) -> bool: + """ + Check if a container has an Integer component + """ + def has_real_comp(self, arg0: str) -> bool: + """ + Check if a container has an ParticleReal component + """ def increment(self, arg0: MultiFab, arg1: int) -> None: ... def init_random( self, @@ -12943,6 +13337,7 @@ class ParticleContainer_pureSoA_8_0_pinned: def resize_data(self) -> None: ... def restart(self, dir: str, file: str) -> None: ... def restart_checkpoint(self, dir: str, file: str, is_checkpoint: bool) -> None: ... + def set_soa_compile_time_names(self, arg0: list[str], arg1: list[str]) -> None: ... def shrink_t_fit(self) -> None: ... def sort_particles_by_bin(self, arg0: IntVect3D) -> None: ... def sort_particles_by_cell(self) -> None: ... @@ -12981,6 +13376,11 @@ class ParticleContainer_pureSoA_8_0_pinned: @property def finest_level(self) -> int: ... @property + def int_soa_names(self) -> list[str]: + """ + Get the names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ The number of compile-time and runtime int components in SoA @@ -13002,6 +13402,11 @@ class ParticleContainer_pureSoA_8_0_pinned: """ The number of runtime Real components in SoA """ + @property + def real_soa_names(self) -> list[str]: + """ + Get the names for the Real SoA components + """ class ParticleInitType_16_4_0_0: is_soa_particle: typing.ClassVar[bool] = False @@ -16220,50 +16625,6 @@ class StructOfArrays_0_0_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16344,6 +16705,11 @@ class StructOfArrays_0_0_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16360,6 +16726,11 @@ class StructOfArrays_0_0_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16407,50 +16778,6 @@ class StructOfArrays_0_0_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16531,6 +16858,11 @@ class StructOfArrays_0_0_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16547,6 +16879,11 @@ class StructOfArrays_0_0_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16594,50 +16931,6 @@ class StructOfArrays_0_0_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16718,6 +17011,11 @@ class StructOfArrays_0_0_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16734,6 +17032,11 @@ class StructOfArrays_0_0_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16785,50 +17088,6 @@ class StructOfArrays_3_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -16909,6 +17168,11 @@ class StructOfArrays_3_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -16925,6 +17189,11 @@ class StructOfArrays_3_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -16976,50 +17245,6 @@ class StructOfArrays_3_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17100,6 +17325,11 @@ class StructOfArrays_3_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17116,6 +17346,11 @@ class StructOfArrays_3_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17167,50 +17402,6 @@ class StructOfArrays_3_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17291,6 +17482,11 @@ class StructOfArrays_3_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17307,6 +17503,11 @@ class StructOfArrays_3_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17354,50 +17555,6 @@ class StructOfArrays_3_1_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17478,6 +17635,11 @@ class StructOfArrays_3_1_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17494,6 +17656,11 @@ class StructOfArrays_3_1_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17541,50 +17708,6 @@ class StructOfArrays_3_1_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17665,6 +17788,11 @@ class StructOfArrays_3_1_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17681,6 +17809,11 @@ class StructOfArrays_3_1_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17728,50 +17861,6 @@ class StructOfArrays_3_1_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -17852,6 +17941,11 @@ class StructOfArrays_3_1_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -17868,6 +17962,11 @@ class StructOfArrays_3_1_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -17919,50 +18018,6 @@ class StructOfArrays_7_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18043,6 +18098,11 @@ class StructOfArrays_7_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18059,6 +18119,11 @@ class StructOfArrays_7_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18110,50 +18175,6 @@ class StructOfArrays_7_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18234,6 +18255,11 @@ class StructOfArrays_7_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18250,6 +18276,11 @@ class StructOfArrays_7_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18301,50 +18332,6 @@ class StructOfArrays_7_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18425,6 +18412,11 @@ class StructOfArrays_7_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18441,6 +18433,11 @@ class StructOfArrays_7_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18492,50 +18489,6 @@ class StructOfArrays_8_0_idcpu_arena: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18616,6 +18569,11 @@ class StructOfArrays_8_0_idcpu_arena: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18632,6 +18590,11 @@ class StructOfArrays_8_0_idcpu_arena: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18683,50 +18646,6 @@ class StructOfArrays_8_0_idcpu_default: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18807,6 +18726,11 @@ class StructOfArrays_8_0_idcpu_default: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -18823,6 +18747,11 @@ class StructOfArrays_8_0_idcpu_default: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles @@ -18874,50 +18803,6 @@ class StructOfArrays_8_0_idcpu_pinned: """ def resize(self, arg0: int) -> None: ... def set_num_neighbors(self, arg0: int) -> None: ... - def soa_int_comps(self, num_comps): - """ - - Name the int components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - - Returns - ------- - A list of length num_comps with values "i1", "i2", "i3", ... - - """ - def soa_real_comps(self, num_comps, spacedim=3, rotate=True): - """ - - Name the ParticleReal components in SoA. - - Parameters - ---------- - self : SoA Type - maybe unused, depending on implementation - num_comps : int - number of components to generate names for. - spacedim : int - AMReX dimensionality - rotate : bool = True - start with "x", "y", "z", "a", "b", ... - - Returns - ------- - A list of length num_comps with values - rotate=True (for pure SoA layout): - - 3D: "x", "y", "z", "a", "b", ... "w", "r0", "r1", ... - - 2D: "x", "y", "a", "b", ... "w", "r0", "r1", ... - - 1D: "x", "a", "b", ... "w", "r0", "r1", ... - rotate=False (for legacy layout): - - 1D-3D: "a", "b", ... "w", "r0", "r1", ... - - """ def to_cupy(self, copy=False): """ @@ -18998,6 +18883,11 @@ class StructOfArrays_8_0_idcpu_pinned: In pure SoA particle layout, idcpu is an array in the SoA """ @property + def int_names(self) -> list[str]: + """ + Names for the int SoA components + """ + @property def num_int_comps(self) -> int: """ Get the number of compile-time + runtime Int components @@ -19014,6 +18904,11 @@ class StructOfArrays_8_0_idcpu_pinned: @property def num_total_particles(self) -> int: ... @property + def real_names(self) -> list[str]: + """ + Names for the Real SoA components + """ + @property def size(self) -> int: """ Get the number of particles