diff --git a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi index 3fad5b46..60458be9 100644 --- a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi +++ b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi @@ -1650,18 +1650,18 @@ class FabArray_FArrayBox(FabArrayBase): def array(self, arg0: MFIter) -> Array4_double: ... def const_array(self, arg0: MFIter) -> Array4_double_const: ... @typing.overload - def fill_boundary(self, cross: bool = ...) -> None: ... + def fill_boundary(self, cross: bool = False) -> None: ... @typing.overload - def fill_boundary(self, period: Periodicity, cross: bool = ...) -> None: ... + def fill_boundary(self, period: Periodicity, cross: bool = False) -> None: ... @typing.overload def fill_boundary( - self, nghost: IntVect, period: Periodicity, cross: bool = ... + self, nghost: IntVect, period: Periodicity, cross: bool = False ) -> None: ... @typing.overload - def fill_boundary(self, scomp: int, ncomp: int, cross: bool = ...) -> None: ... + def fill_boundary(self, scomp: int, ncomp: int, cross: bool = False) -> None: ... @typing.overload def fill_boundary( - self, scomp: int, ncomp: int, period: Periodicity, cross: bool = ... + self, scomp: int, ncomp: int, period: Periodicity, cross: bool = False ) -> None: ... @typing.overload def fill_boundary( @@ -1670,7 +1670,7 @@ class FabArray_FArrayBox(FabArrayBase): ncomp: int, nghost: IntVect, period: Periodicity, - cross: bool = ..., + cross: bool = False, ) -> None: ... def override_sync(self, arg0: Periodicity) -> None: ... def sum(self, arg0: int, arg1: IntVect, arg2: bool) -> float: ... @@ -2032,11 +2032,11 @@ class MFIter: def __repr__(self) -> str: ... def fabbox(self) -> Box: ... @typing.overload - def grownnodaltilebox(self, int: int = ..., ng: int = ...) -> Box: ... + def grownnodaltilebox(self, int: int = -1, ng: int = -1000000) -> Box: ... @typing.overload def grownnodaltilebox(self, int: int, ng: IntVect) -> Box: ... - def growntilebox(self, ng: IntVect = ...) -> Box: ... - def nodaltilebox(self, dir: int = ...) -> Box: ... + def growntilebox(self, ng: IntVect = -1000000) -> Box: ... + def nodaltilebox(self, dir: int = -1) -> Box: ... @typing.overload def tilebox(self) -> Box: ... @typing.overload @@ -2259,26 +2259,26 @@ class MultiFab(FabArray_FArrayBox): self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int ) -> None: ... @typing.overload - def max(self, comp: int = ..., nghost: int = ..., local: bool = ...) -> float: + def max(self, comp: int = 0, nghost: int = 0, local: bool = False) -> float: """ Returns the maximum value of the specfied component of the MultiFab. """ @typing.overload def max( - self, region: Box, comp: int = ..., nghost: int = ..., local: bool = ... + self, region: Box, comp: int = 0, nghost: int = 0, local: bool = False ) -> float: """ Returns the maximum value of the specfied component of the MultiFab over the region. """ def maxIndex(self, arg0: int, arg1: int) -> IntVect: ... @typing.overload - def min(self, comp: int = ..., nghost: int = ..., local: bool = ...) -> float: + def min(self, comp: int = 0, nghost: int = 0, local: bool = False) -> float: """ Returns the minimum value of the specfied component of the MultiFab. """ @typing.overload def min( - self, region: Box, comp: int = ..., nghost: int = ..., local: bool = ... + self, region: Box, comp: int = 0, nghost: int = 0, local: bool = False ) -> float: """ Returns the minimum value of the specfied component of the MultiFab over the region. @@ -2339,12 +2339,12 @@ class MultiFab(FabArray_FArrayBox): def set_val(self, arg0: float, arg1: int, arg2: int, arg3: int) -> None: ... @typing.overload def set_val(self, arg0: float, arg1: int, arg2: int, arg3: IntVect) -> None: ... - def sum(self, comp: int = ..., local: bool = ...) -> float: + def sum(self, comp: int = 0, local: bool = False) -> float: """ Returns the sum of component 'comp' over the MultiFab -- no ghost cells are included. """ def sum_unique( - self, comp: int = ..., local: bool = ..., period: Periodicity = ... + self, comp: int = 0, local: bool = False, period: Periodicity = ... ) -> float: """ Same as sum with local=false, but for non-cell-centered data, thisskips non-unique points that are owned by multiple boxes. @@ -3278,7 +3278,7 @@ class ParIter_pureSoA_8_2_pinned(ParIterBase_pureSoA_8_2_pinned): class ParmParse: @staticmethod def addfile(arg0: str) -> None: ... - def __init__(self, prefix: str = ...) -> None: ... + def __init__(self, prefix: str = "") -> None: ... def __repr__(self) -> str: ... @typing.overload def add(self, arg0: str, arg1: bool) -> None: ... @@ -3314,19 +3314,19 @@ class ParmParse: def addarr(self, arg0: str, arg1: list[IntVect]) -> None: ... @typing.overload def addarr(self, arg0: str, arg1: list[Box]) -> None: ... - def get_bool(self, name: str, ival: int = ...) -> bool: + def get_bool(self, name: str, ival: int = 0) -> bool: """ parses input values """ - def get_int(self, name: str, ival: int = ...) -> int: + def get_int(self, name: str, ival: int = 0) -> int: """ parses input values """ - def get_real(self, name: str, ival: int = ...) -> float: + def get_real(self, name: str, ival: int = 0) -> float: """ parses input values """ - def query_int(self, name: str, ival: int = ...) -> tuple[bool, int]: + def query_int(self, name: str, ival: int = 0) -> tuple[bool, int]: """ queries input values """ @@ -3339,7 +3339,7 @@ class ParticleContainer_0_0_4_0_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3381,20 +3381,20 @@ class ParticleContainer_0_0_4_0_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3402,7 +3402,7 @@ class ParticleContainer_0_0_4_0_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3440,7 +3440,7 @@ class ParticleContainer_0_0_4_0_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3482,20 +3482,20 @@ class ParticleContainer_0_0_4_0_default: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3503,7 +3503,7 @@ class ParticleContainer_0_0_4_0_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3541,7 +3541,7 @@ class ParticleContainer_0_0_4_0_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3583,20 +3583,20 @@ class ParticleContainer_0_0_4_0_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3604,7 +3604,7 @@ class ParticleContainer_0_0_4_0_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3642,7 +3642,7 @@ class ParticleContainer_0_0_5_0_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3684,20 +3684,20 @@ class ParticleContainer_0_0_5_0_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3705,7 +3705,7 @@ class ParticleContainer_0_0_5_0_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3743,7 +3743,7 @@ class ParticleContainer_0_0_5_0_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3785,20 +3785,20 @@ class ParticleContainer_0_0_5_0_default: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3806,7 +3806,7 @@ class ParticleContainer_0_0_5_0_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3844,7 +3844,7 @@ class ParticleContainer_0_0_5_0_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3886,20 +3886,20 @@ class ParticleContainer_0_0_5_0_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3907,7 +3907,7 @@ class ParticleContainer_0_0_5_0_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3945,7 +3945,7 @@ class ParticleContainer_1_1_2_1_arena: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3987,20 +3987,20 @@ class ParticleContainer_1_1_2_1_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4008,7 +4008,7 @@ class ParticleContainer_1_1_2_1_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4046,7 +4046,7 @@ class ParticleContainer_1_1_2_1_default: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_default, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4088,20 +4088,20 @@ class ParticleContainer_1_1_2_1_default: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4109,7 +4109,7 @@ class ParticleContainer_1_1_2_1_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4147,7 +4147,7 @@ class ParticleContainer_1_1_2_1_pinned: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4189,20 +4189,20 @@ class ParticleContainer_1_1_2_1_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4210,7 +4210,7 @@ class ParticleContainer_1_1_2_1_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4248,7 +4248,7 @@ class ParticleContainer_pureSoA_8_2_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4276,20 +4276,20 @@ class ParticleContainer_pureSoA_8_2_arena: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4297,7 +4297,7 @@ class ParticleContainer_pureSoA_8_2_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4335,7 +4335,7 @@ class ParticleContainer_pureSoA_8_2_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4363,20 +4363,20 @@ class ParticleContainer_pureSoA_8_2_default: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4384,7 +4384,7 @@ class ParticleContainer_pureSoA_8_2_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4422,7 +4422,7 @@ class ParticleContainer_pureSoA_8_2_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4450,20 +4450,20 @@ class ParticleContainer_pureSoA_8_2_pinned: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4471,7 +4471,7 @@ class ParticleContainer_pureSoA_8_2_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -5821,22 +5821,22 @@ class RealBox: def __repr__(self) -> str: ... def __str(self) -> str: ... @typing.overload - def contains(self, rb: XDim3, eps: float = ...) -> bool: + def contains(self, rb: XDim3, eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: RealVect, eps: float = ...) -> bool: + def contains(self, rb: RealVect, eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: RealBox, eps: float = ...) -> bool: + def contains(self, rb: RealBox, eps: float = 0.0) -> bool: """ Determine if RealBox contains another RealBox, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: list[float], eps: float = ...) -> bool: + def contains(self, rb: list[float], eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @@ -7540,7 +7540,7 @@ class XDim3: z: float def __init__(self, arg0: float, arg1: float, arg2: float) -> None: ... -def AlmostEqual(rb1: RealBox, rb2: RealBox, eps: float = ...) -> bool: +def AlmostEqual(rb1: RealBox, rb2: RealBox, eps: float = 0.0) -> bool: """ Determine if two boxes are equal to within a tolerance """ @@ -7558,7 +7558,7 @@ def coarsen(arg0: IntVect, arg1: IntVect) -> IntVect: ... def coarsen(arg0: Dim3, arg1: IntVect) -> Dim3: ... @typing.overload def coarsen(arg0: IntVect, arg1: int) -> IntVect: ... -def concatenate(root: str, num: int, mindigits: int = ...) -> str: +def concatenate(root: str, num: int, mindigits: int = 5) -> str: """ Builds plotfile name """ @@ -7753,9 +7753,9 @@ def write_single_level_plotfile( geom: Geometry, time: float, level_step: int, - versionName: str = ..., - levelPrefix: str = ..., - mfPrefix: str = ..., + versionName: str = "HyperCLaw-V1.1", + levelPrefix: str = "Level_", + mfPrefix: str = "Cell", extra_dirs: Vector_string = ..., ) -> None: """ diff --git a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi index caa2fb81..6b328f3e 100644 --- a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi +++ b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi @@ -1650,18 +1650,18 @@ class FabArray_FArrayBox(FabArrayBase): def array(self, arg0: MFIter) -> Array4_double: ... def const_array(self, arg0: MFIter) -> Array4_double_const: ... @typing.overload - def fill_boundary(self, cross: bool = ...) -> None: ... + def fill_boundary(self, cross: bool = False) -> None: ... @typing.overload - def fill_boundary(self, period: Periodicity, cross: bool = ...) -> None: ... + def fill_boundary(self, period: Periodicity, cross: bool = False) -> None: ... @typing.overload def fill_boundary( - self, nghost: IntVect, period: Periodicity, cross: bool = ... + self, nghost: IntVect, period: Periodicity, cross: bool = False ) -> None: ... @typing.overload - def fill_boundary(self, scomp: int, ncomp: int, cross: bool = ...) -> None: ... + def fill_boundary(self, scomp: int, ncomp: int, cross: bool = False) -> None: ... @typing.overload def fill_boundary( - self, scomp: int, ncomp: int, period: Periodicity, cross: bool = ... + self, scomp: int, ncomp: int, period: Periodicity, cross: bool = False ) -> None: ... @typing.overload def fill_boundary( @@ -1670,7 +1670,7 @@ class FabArray_FArrayBox(FabArrayBase): ncomp: int, nghost: IntVect, period: Periodicity, - cross: bool = ..., + cross: bool = False, ) -> None: ... def override_sync(self, arg0: Periodicity) -> None: ... def sum(self, arg0: int, arg1: IntVect, arg2: bool) -> float: ... @@ -2038,11 +2038,11 @@ class MFIter: def __repr__(self) -> str: ... def fabbox(self) -> Box: ... @typing.overload - def grownnodaltilebox(self, int: int = ..., ng: int = ...) -> Box: ... + def grownnodaltilebox(self, int: int = -1, ng: int = -1000000) -> Box: ... @typing.overload def grownnodaltilebox(self, int: int, ng: IntVect) -> Box: ... - def growntilebox(self, ng: IntVect = ...) -> Box: ... - def nodaltilebox(self, dir: int = ...) -> Box: ... + def growntilebox(self, ng: IntVect = -1000000) -> Box: ... + def nodaltilebox(self, dir: int = -1) -> Box: ... @typing.overload def tilebox(self) -> Box: ... @typing.overload @@ -2265,26 +2265,26 @@ class MultiFab(FabArray_FArrayBox): self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int ) -> None: ... @typing.overload - def max(self, comp: int = ..., nghost: int = ..., local: bool = ...) -> float: + def max(self, comp: int = 0, nghost: int = 0, local: bool = False) -> float: """ Returns the maximum value of the specfied component of the MultiFab. """ @typing.overload def max( - self, region: Box, comp: int = ..., nghost: int = ..., local: bool = ... + self, region: Box, comp: int = 0, nghost: int = 0, local: bool = False ) -> float: """ Returns the maximum value of the specfied component of the MultiFab over the region. """ def maxIndex(self, arg0: int, arg1: int) -> IntVect: ... @typing.overload - def min(self, comp: int = ..., nghost: int = ..., local: bool = ...) -> float: + def min(self, comp: int = 0, nghost: int = 0, local: bool = False) -> float: """ Returns the minimum value of the specfied component of the MultiFab. """ @typing.overload def min( - self, region: Box, comp: int = ..., nghost: int = ..., local: bool = ... + self, region: Box, comp: int = 0, nghost: int = 0, local: bool = False ) -> float: """ Returns the minimum value of the specfied component of the MultiFab over the region. @@ -2345,12 +2345,12 @@ class MultiFab(FabArray_FArrayBox): def set_val(self, arg0: float, arg1: int, arg2: int, arg3: int) -> None: ... @typing.overload def set_val(self, arg0: float, arg1: int, arg2: int, arg3: IntVect) -> None: ... - def sum(self, comp: int = ..., local: bool = ...) -> float: + def sum(self, comp: int = 0, local: bool = False) -> float: """ Returns the sum of component 'comp' over the MultiFab -- no ghost cells are included. """ def sum_unique( - self, comp: int = ..., local: bool = ..., period: Periodicity = ... + self, comp: int = 0, local: bool = False, period: Periodicity = ... ) -> float: """ Same as sum with local=false, but for non-cell-centered data, thisskips non-unique points that are owned by multiple boxes. @@ -3284,7 +3284,7 @@ class ParIter_pureSoA_8_2_pinned(ParIterBase_pureSoA_8_2_pinned): class ParmParse: @staticmethod def addfile(arg0: str) -> None: ... - def __init__(self, prefix: str = ...) -> None: ... + def __init__(self, prefix: str = "") -> None: ... def __repr__(self) -> str: ... @typing.overload def add(self, arg0: str, arg1: bool) -> None: ... @@ -3320,19 +3320,19 @@ class ParmParse: def addarr(self, arg0: str, arg1: list[IntVect]) -> None: ... @typing.overload def addarr(self, arg0: str, arg1: list[Box]) -> None: ... - def get_bool(self, name: str, ival: int = ...) -> bool: + def get_bool(self, name: str, ival: int = 0) -> bool: """ parses input values """ - def get_int(self, name: str, ival: int = ...) -> int: + def get_int(self, name: str, ival: int = 0) -> int: """ parses input values """ - def get_real(self, name: str, ival: int = ...) -> float: + def get_real(self, name: str, ival: int = 0) -> float: """ parses input values """ - def query_int(self, name: str, ival: int = ...) -> tuple[bool, int]: + def query_int(self, name: str, ival: int = 0) -> tuple[bool, int]: """ queries input values """ @@ -3345,7 +3345,7 @@ class ParticleContainer_0_0_4_0_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3387,20 +3387,20 @@ class ParticleContainer_0_0_4_0_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3408,7 +3408,7 @@ class ParticleContainer_0_0_4_0_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3446,7 +3446,7 @@ class ParticleContainer_0_0_4_0_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3488,20 +3488,20 @@ class ParticleContainer_0_0_4_0_default: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3509,7 +3509,7 @@ class ParticleContainer_0_0_4_0_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3547,7 +3547,7 @@ class ParticleContainer_0_0_4_0_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3589,20 +3589,20 @@ class ParticleContainer_0_0_4_0_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3610,7 +3610,7 @@ class ParticleContainer_0_0_4_0_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3648,7 +3648,7 @@ class ParticleContainer_0_0_5_0_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3690,20 +3690,20 @@ class ParticleContainer_0_0_5_0_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3711,7 +3711,7 @@ class ParticleContainer_0_0_5_0_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3749,7 +3749,7 @@ class ParticleContainer_0_0_5_0_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3791,20 +3791,20 @@ class ParticleContainer_0_0_5_0_default: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3812,7 +3812,7 @@ class ParticleContainer_0_0_5_0_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3850,7 +3850,7 @@ class ParticleContainer_0_0_5_0_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3892,20 +3892,20 @@ class ParticleContainer_0_0_5_0_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3913,7 +3913,7 @@ class ParticleContainer_0_0_5_0_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3951,7 +3951,7 @@ class ParticleContainer_1_1_2_1_arena: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3993,20 +3993,20 @@ class ParticleContainer_1_1_2_1_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4014,7 +4014,7 @@ class ParticleContainer_1_1_2_1_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4052,7 +4052,7 @@ class ParticleContainer_1_1_2_1_default: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_default, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4094,20 +4094,20 @@ class ParticleContainer_1_1_2_1_default: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4115,7 +4115,7 @@ class ParticleContainer_1_1_2_1_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4153,7 +4153,7 @@ class ParticleContainer_1_1_2_1_pinned: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4195,20 +4195,20 @@ class ParticleContainer_1_1_2_1_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4216,7 +4216,7 @@ class ParticleContainer_1_1_2_1_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4254,7 +4254,7 @@ class ParticleContainer_pureSoA_8_2_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4282,20 +4282,20 @@ class ParticleContainer_pureSoA_8_2_arena: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4303,7 +4303,7 @@ class ParticleContainer_pureSoA_8_2_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4341,7 +4341,7 @@ class ParticleContainer_pureSoA_8_2_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4369,20 +4369,20 @@ class ParticleContainer_pureSoA_8_2_default: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4390,7 +4390,7 @@ class ParticleContainer_pureSoA_8_2_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4428,7 +4428,7 @@ class ParticleContainer_pureSoA_8_2_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4456,20 +4456,20 @@ class ParticleContainer_pureSoA_8_2_pinned: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4477,7 +4477,7 @@ class ParticleContainer_pureSoA_8_2_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -5836,22 +5836,22 @@ class RealBox: def __repr__(self) -> str: ... def __str(self) -> str: ... @typing.overload - def contains(self, rb: XDim3, eps: float = ...) -> bool: + def contains(self, rb: XDim3, eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: RealVect, eps: float = ...) -> bool: + def contains(self, rb: RealVect, eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: RealBox, eps: float = ...) -> bool: + def contains(self, rb: RealBox, eps: float = 0.0) -> bool: """ Determine if RealBox contains another RealBox, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: list[float], eps: float = ...) -> bool: + def contains(self, rb: list[float], eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @@ -7557,7 +7557,7 @@ class XDim3: z: float def __init__(self, arg0: float, arg1: float, arg2: float) -> None: ... -def AlmostEqual(rb1: RealBox, rb2: RealBox, eps: float = ...) -> bool: +def AlmostEqual(rb1: RealBox, rb2: RealBox, eps: float = 0.0) -> bool: """ Determine if two boxes are equal to within a tolerance """ @@ -7575,7 +7575,7 @@ def coarsen(arg0: IntVect, arg1: IntVect) -> IntVect: ... def coarsen(arg0: Dim3, arg1: IntVect) -> Dim3: ... @typing.overload def coarsen(arg0: IntVect, arg1: int) -> IntVect: ... -def concatenate(root: str, num: int, mindigits: int = ...) -> str: +def concatenate(root: str, num: int, mindigits: int = 5) -> str: """ Builds plotfile name """ @@ -7770,9 +7770,9 @@ def write_single_level_plotfile( geom: Geometry, time: float, level_step: int, - versionName: str = ..., - levelPrefix: str = ..., - mfPrefix: str = ..., + versionName: str = "HyperCLaw-V1.1", + levelPrefix: str = "Level_", + mfPrefix: str = "Cell", extra_dirs: Vector_string = ..., ) -> None: """ diff --git a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi index 6805f9dd..a93fad8f 100644 --- a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi +++ b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi @@ -1650,18 +1650,18 @@ class FabArray_FArrayBox(FabArrayBase): def array(self, arg0: MFIter) -> Array4_double: ... def const_array(self, arg0: MFIter) -> Array4_double_const: ... @typing.overload - def fill_boundary(self, cross: bool = ...) -> None: ... + def fill_boundary(self, cross: bool = False) -> None: ... @typing.overload - def fill_boundary(self, period: Periodicity, cross: bool = ...) -> None: ... + def fill_boundary(self, period: Periodicity, cross: bool = False) -> None: ... @typing.overload def fill_boundary( - self, nghost: IntVect, period: Periodicity, cross: bool = ... + self, nghost: IntVect, period: Periodicity, cross: bool = False ) -> None: ... @typing.overload - def fill_boundary(self, scomp: int, ncomp: int, cross: bool = ...) -> None: ... + def fill_boundary(self, scomp: int, ncomp: int, cross: bool = False) -> None: ... @typing.overload def fill_boundary( - self, scomp: int, ncomp: int, period: Periodicity, cross: bool = ... + self, scomp: int, ncomp: int, period: Periodicity, cross: bool = False ) -> None: ... @typing.overload def fill_boundary( @@ -1670,7 +1670,7 @@ class FabArray_FArrayBox(FabArrayBase): ncomp: int, nghost: IntVect, period: Periodicity, - cross: bool = ..., + cross: bool = False, ) -> None: ... def override_sync(self, arg0: Periodicity) -> None: ... def sum(self, arg0: int, arg1: IntVect, arg2: bool) -> float: ... @@ -2041,11 +2041,11 @@ class MFIter: def __repr__(self) -> str: ... def fabbox(self) -> Box: ... @typing.overload - def grownnodaltilebox(self, int: int = ..., ng: int = ...) -> Box: ... + def grownnodaltilebox(self, int: int = -1, ng: int = -1000000) -> Box: ... @typing.overload def grownnodaltilebox(self, int: int, ng: IntVect) -> Box: ... - def growntilebox(self, ng: IntVect = ...) -> Box: ... - def nodaltilebox(self, dir: int = ...) -> Box: ... + def growntilebox(self, ng: IntVect = -1000000) -> Box: ... + def nodaltilebox(self, dir: int = -1) -> Box: ... @typing.overload def tilebox(self) -> Box: ... @typing.overload @@ -2268,26 +2268,26 @@ class MultiFab(FabArray_FArrayBox): self, arg0: float, arg1: Box, arg2: int, arg3: int, arg4: int ) -> None: ... @typing.overload - def max(self, comp: int = ..., nghost: int = ..., local: bool = ...) -> float: + def max(self, comp: int = 0, nghost: int = 0, local: bool = False) -> float: """ Returns the maximum value of the specfied component of the MultiFab. """ @typing.overload def max( - self, region: Box, comp: int = ..., nghost: int = ..., local: bool = ... + self, region: Box, comp: int = 0, nghost: int = 0, local: bool = False ) -> float: """ Returns the maximum value of the specfied component of the MultiFab over the region. """ def maxIndex(self, arg0: int, arg1: int) -> IntVect: ... @typing.overload - def min(self, comp: int = ..., nghost: int = ..., local: bool = ...) -> float: + def min(self, comp: int = 0, nghost: int = 0, local: bool = False) -> float: """ Returns the minimum value of the specfied component of the MultiFab. """ @typing.overload def min( - self, region: Box, comp: int = ..., nghost: int = ..., local: bool = ... + self, region: Box, comp: int = 0, nghost: int = 0, local: bool = False ) -> float: """ Returns the minimum value of the specfied component of the MultiFab over the region. @@ -2348,12 +2348,12 @@ class MultiFab(FabArray_FArrayBox): def set_val(self, arg0: float, arg1: int, arg2: int, arg3: int) -> None: ... @typing.overload def set_val(self, arg0: float, arg1: int, arg2: int, arg3: IntVect) -> None: ... - def sum(self, comp: int = ..., local: bool = ...) -> float: + def sum(self, comp: int = 0, local: bool = False) -> float: """ Returns the sum of component 'comp' over the MultiFab -- no ghost cells are included. """ def sum_unique( - self, comp: int = ..., local: bool = ..., period: Periodicity = ... + self, comp: int = 0, local: bool = False, period: Periodicity = ... ) -> float: """ Same as sum with local=false, but for non-cell-centered data, thisskips non-unique points that are owned by multiple boxes. @@ -3287,7 +3287,7 @@ class ParIter_pureSoA_8_2_pinned(ParIterBase_pureSoA_8_2_pinned): class ParmParse: @staticmethod def addfile(arg0: str) -> None: ... - def __init__(self, prefix: str = ...) -> None: ... + def __init__(self, prefix: str = "") -> None: ... def __repr__(self) -> str: ... @typing.overload def add(self, arg0: str, arg1: bool) -> None: ... @@ -3323,19 +3323,19 @@ class ParmParse: def addarr(self, arg0: str, arg1: list[IntVect]) -> None: ... @typing.overload def addarr(self, arg0: str, arg1: list[Box]) -> None: ... - def get_bool(self, name: str, ival: int = ...) -> bool: + def get_bool(self, name: str, ival: int = 0) -> bool: """ parses input values """ - def get_int(self, name: str, ival: int = ...) -> int: + def get_int(self, name: str, ival: int = 0) -> int: """ parses input values """ - def get_real(self, name: str, ival: int = ...) -> float: + def get_real(self, name: str, ival: int = 0) -> float: """ parses input values """ - def query_int(self, name: str, ival: int = ...) -> tuple[bool, int]: + def query_int(self, name: str, ival: int = 0) -> tuple[bool, int]: """ queries input values """ @@ -3348,7 +3348,7 @@ class ParticleContainer_0_0_4_0_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3390,20 +3390,20 @@ class ParticleContainer_0_0_4_0_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3411,7 +3411,7 @@ class ParticleContainer_0_0_4_0_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3449,7 +3449,7 @@ class ParticleContainer_0_0_4_0_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3491,20 +3491,20 @@ class ParticleContainer_0_0_4_0_default: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3512,7 +3512,7 @@ class ParticleContainer_0_0_4_0_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3550,7 +3550,7 @@ class ParticleContainer_0_0_4_0_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_4_0_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_4_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3592,20 +3592,20 @@ class ParticleContainer_0_0_4_0_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_4_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3613,7 +3613,7 @@ class ParticleContainer_0_0_4_0_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3651,7 +3651,7 @@ class ParticleContainer_0_0_5_0_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3693,20 +3693,20 @@ class ParticleContainer_0_0_5_0_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3714,7 +3714,7 @@ class ParticleContainer_0_0_5_0_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3752,7 +3752,7 @@ class ParticleContainer_0_0_5_0_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3794,20 +3794,20 @@ class ParticleContainer_0_0_5_0_default: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3815,7 +3815,7 @@ class ParticleContainer_0_0_5_0_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3853,7 +3853,7 @@ class ParticleContainer_0_0_5_0_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_5_0_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_5_0_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3895,20 +3895,20 @@ class ParticleContainer_0_0_5_0_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_0_0_5_0 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -3916,7 +3916,7 @@ class ParticleContainer_0_0_5_0_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -3954,7 +3954,7 @@ class ParticleContainer_1_1_2_1_arena: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -3996,20 +3996,20 @@ class ParticleContainer_1_1_2_1_arena: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4017,7 +4017,7 @@ class ParticleContainer_1_1_2_1_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4055,7 +4055,7 @@ class ParticleContainer_1_1_2_1_default: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_default, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4097,20 +4097,20 @@ class ParticleContainer_1_1_2_1_default: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4118,7 +4118,7 @@ class ParticleContainer_1_1_2_1_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4156,7 +4156,7 @@ class ParticleContainer_1_1_2_1_pinned: NStructReal: typing.ClassVar[int] = 1 is_soa_particle: typing.ClassVar[bool] = False def AddParticlesAtLevel( - self, particles: ParticleTile_1_1_2_1_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_1_1_2_1_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4198,20 +4198,20 @@ class ParticleContainer_1_1_2_1_pinned: self, arg0: int, arg1: int, arg2: ParticleInitType_1_1_2_1 ) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4219,7 +4219,7 @@ class ParticleContainer_1_1_2_1_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4257,7 +4257,7 @@ class ParticleContainer_pureSoA_8_2_arena: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_arena, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_arena, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4285,20 +4285,20 @@ class ParticleContainer_pureSoA_8_2_arena: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_arena]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4306,7 +4306,7 @@ class ParticleContainer_pureSoA_8_2_arena: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4344,7 +4344,7 @@ class ParticleContainer_pureSoA_8_2_default: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_default, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_default, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4372,20 +4372,20 @@ class ParticleContainer_pureSoA_8_2_default: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_default]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4393,7 +4393,7 @@ class ParticleContainer_pureSoA_8_2_default: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -4431,7 +4431,7 @@ class ParticleContainer_pureSoA_8_2_pinned: NStructReal: typing.ClassVar[int] = 0 is_soa_particle: typing.ClassVar[bool] = True def AddParticlesAtLevel( - self, particles: ParticleTile_0_0_8_2_pinned, level: int, ngrow: int = ... + self, particles: ParticleTile_0_0_8_2_pinned, level: int, ngrow: int = 0 ) -> None: ... def ByteSpread(self) -> list[int[3]]: ... @typing.overload @@ -4459,20 +4459,20 @@ class ParticleContainer_pureSoA_8_2_pinned: ) -> dict[tuple[int, int], ParticleTile_0_0_8_2_pinned]: ... def Increment(self, arg0: MultiFab, arg1: int) -> None: ... def NumberOfParticlesAtLevel( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> int: ... def NumberOfParticlesInGrid( - self, level: int, only_valid: bool = ..., only_local: bool = ... + self, level: int, only_valid: bool = True, only_local: bool = False ) -> Vector_Long: ... - def OK(self, lev_min: int = ..., lev_max: int = ..., nGrow: int = ...) -> bool: ... + def OK(self, lev_min: int = 0, lev_max: int = -1, nGrow: int = 0) -> bool: ... def PrintCapacity(self) -> list[int[3]]: ... def Redistribute( self, - lev_min: int = ..., - lev_max: int = ..., - nGrow: int = ..., - local: int = ..., - remove_negative: bool = ..., + lev_min: int = 0, + lev_max: int = -1, + nGrow: int = 0, + local: int = 0, + remove_negative: bool = True, ) -> None: ... def RemoveParticlesAtLevel(self, arg0: int) -> None: ... def RemoveParticlesNotAtFinestLevel(self) -> None: ... @@ -4480,7 +4480,7 @@ class ParticleContainer_pureSoA_8_2_pinned: def SortParticlesByBin(self, arg0: IntVect) -> None: ... def SortParticlesByCell(self) -> None: ... def TotalNumberOfParticles( - self, only_valid: bool = ..., only_local: bool = ... + self, only_valid: bool = True, only_local: bool = False ) -> int: ... @typing.overload def __init__(self) -> None: ... @@ -5856,22 +5856,22 @@ class RealBox: def __repr__(self) -> str: ... def __str(self) -> str: ... @typing.overload - def contains(self, rb: XDim3, eps: float = ...) -> bool: + def contains(self, rb: XDim3, eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: RealVect, eps: float = ...) -> bool: + def contains(self, rb: RealVect, eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: RealBox, eps: float = ...) -> bool: + def contains(self, rb: RealBox, eps: float = 0.0) -> bool: """ Determine if RealBox contains another RealBox, within tolerance ``eps`` """ @typing.overload - def contains(self, rb: list[float], eps: float = ...) -> bool: + def contains(self, rb: list[float], eps: float = 0.0) -> bool: """ Determine if RealBox contains ``pt``, within tolerance ``eps`` """ @@ -7581,7 +7581,7 @@ class XDim3: z: float def __init__(self, arg0: float, arg1: float, arg2: float) -> None: ... -def AlmostEqual(rb1: RealBox, rb2: RealBox, eps: float = ...) -> bool: +def AlmostEqual(rb1: RealBox, rb2: RealBox, eps: float = 0.0) -> bool: """ Determine if two boxes are equal to within a tolerance """ @@ -7599,7 +7599,7 @@ def coarsen(arg0: IntVect, arg1: IntVect) -> IntVect: ... def coarsen(arg0: Dim3, arg1: IntVect) -> Dim3: ... @typing.overload def coarsen(arg0: IntVect, arg1: int) -> IntVect: ... -def concatenate(root: str, num: int, mindigits: int = ...) -> str: +def concatenate(root: str, num: int, mindigits: int = 5) -> str: """ Builds plotfile name """ @@ -7794,9 +7794,9 @@ def write_single_level_plotfile( geom: Geometry, time: float, level_step: int, - versionName: str = ..., - levelPrefix: str = ..., - mfPrefix: str = ..., + versionName: str = "HyperCLaw-V1.1", + levelPrefix: str = "Level_", + mfPrefix: str = "Cell", extra_dirs: Vector_string = ..., ) -> None: """