Skip to content

Commit

Permalink
Update Stub Files
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored and github-actions[bot] committed Jul 1, 2024
1 parent b6af1b3 commit a5c3d39
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 9 deletions.
4 changes: 3 additions & 1 deletion src/amrex/space1d/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ from amrex.space1d.amrex_1d_pybind import (
ParticleTileData_pureSoA_5_0,
ParticleTileData_pureSoA_8_0,
Periodicity,
PlotFileData,
PODVector_int_arena,
PODVector_int_pinned,
PODVector_int_std,
Expand Down Expand Up @@ -425,6 +426,7 @@ __all__ = [
"Particle_5_2",
"Particle_8_0",
"Periodicity",
"PlotFileData",
"Print",
"RealBox",
"RealVect",
Expand Down Expand Up @@ -501,4 +503,4 @@ __author__: str = (
"Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
)
__license__: str = "BSD-3-Clause-LBNL"
__version__: str = "24.06-16-g1f038e767011"
__version__: str = "24.07"
40 changes: 38 additions & 2 deletions src/amrex/space1d/amrex_1d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ __all__ = [
"Particle_5_2",
"Particle_8_0",
"Periodicity",
"PlotFileData",
"RealBox",
"RealVect",
"StructOfArrays_1_0_idcpu_arena",
Expand Down Expand Up @@ -4765,7 +4766,7 @@ class BoxArray:
def size(self) -> int: ...

class Config:
amrex_version: typing.ClassVar[str] = "24.06-16-g1f038e767011"
amrex_version: typing.ClassVar[str] = "24.07"
gpu_backend = None
have_gpu: typing.ClassVar[bool] = False
have_mpi: typing.ClassVar[bool] = True
Expand Down Expand Up @@ -12696,6 +12697,41 @@ class Periodicity:
@property
def shift_IntVect(self) -> list[IntVect1D]: ...

class PlotFileData:
def DistributionMap(self, arg0: int) -> DistributionMapping: ...
def __init__(self, arg0: str) -> None: ...
def boxArray(self, arg0: int) -> BoxArray: ...
def cellSize(
self, arg0: int
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(1)]: ...
def coordSys(self) -> int: ...
def finestLevel(self) -> int: ...
@typing.overload
def get(self, arg0: int) -> MultiFab: ...
@typing.overload
def get(self, arg0: int, arg1: str) -> MultiFab: ...
def levelStep(self, arg0: int) -> int: ...
def nComp(self) -> int: ...
def nGrowVect(self, arg0: int) -> IntVect1D: ...
def probDomain(self, arg0: int) -> Box: ...
def probHi(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(1)]: ...
def probLo(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(1)]: ...
def probSize(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(1)]: ...
def refRatio(self, arg0: int) -> int: ...
def spaceDim(self) -> int: ...
@typing.overload
def syncDistributionMap(self, arg0: PlotFileData) -> None: ...
@typing.overload
def syncDistributionMap(self, arg0: int, arg1: PlotFileData) -> None: ...
def time(self) -> float: ...
def varNames(self) -> Vector_string: ...

class RealBox:
@typing.overload
def __init__(self) -> None: ...
Expand Down Expand Up @@ -16615,5 +16651,5 @@ __author__: str = (
"Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
)
__license__: str = "BSD-3-Clause-LBNL"
__version__: str = "24.06-16-g1f038e767011"
__version__: str = "24.07"
IntVect = IntVect1D
4 changes: 3 additions & 1 deletion src/amrex/space2d/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ from amrex.space2d.amrex_2d_pybind import (
ParticleTileData_pureSoA_7_0,
ParticleTileData_pureSoA_8_0,
Periodicity,
PlotFileData,
PODVector_int_arena,
PODVector_int_pinned,
PODVector_int_std,
Expand Down Expand Up @@ -470,6 +471,7 @@ __all__ = [
"Particle_7_0",
"Particle_8_0",
"Periodicity",
"PlotFileData",
"Print",
"RealBox",
"RealVect",
Expand Down Expand Up @@ -549,4 +551,4 @@ __author__: str = (
"Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
)
__license__: str = "BSD-3-Clause-LBNL"
__version__: str = "24.06-16-g1f038e767011"
__version__: str = "24.07"
40 changes: 38 additions & 2 deletions src/amrex/space2d/amrex_2d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ __all__ = [
"Particle_7_0",
"Particle_8_0",
"Periodicity",
"PlotFileData",
"RealBox",
"RealVect",
"StructOfArrays_2_0_idcpu_arena",
Expand Down Expand Up @@ -4789,7 +4790,7 @@ class BoxArray:
def size(self) -> int: ...

class Config:
amrex_version: typing.ClassVar[str] = "24.06-16-g1f038e767011"
amrex_version: typing.ClassVar[str] = "24.07"
gpu_backend = None
have_gpu: typing.ClassVar[bool] = False
have_mpi: typing.ClassVar[bool] = True
Expand Down Expand Up @@ -13929,6 +13930,41 @@ class Periodicity:
@property
def shift_IntVect(self) -> list[IntVect2D]: ...

class PlotFileData:
def DistributionMap(self, arg0: int) -> DistributionMapping: ...
def __init__(self, arg0: str) -> None: ...
def boxArray(self, arg0: int) -> BoxArray: ...
def cellSize(
self, arg0: int
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
def coordSys(self) -> int: ...
def finestLevel(self) -> int: ...
@typing.overload
def get(self, arg0: int) -> MultiFab: ...
@typing.overload
def get(self, arg0: int, arg1: str) -> MultiFab: ...
def levelStep(self, arg0: int) -> int: ...
def nComp(self) -> int: ...
def nGrowVect(self, arg0: int) -> IntVect2D: ...
def probDomain(self, arg0: int) -> Box: ...
def probHi(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
def probLo(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
def probSize(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]: ...
def refRatio(self, arg0: int) -> int: ...
def spaceDim(self) -> int: ...
@typing.overload
def syncDistributionMap(self, arg0: PlotFileData) -> None: ...
@typing.overload
def syncDistributionMap(self, arg0: int, arg1: PlotFileData) -> None: ...
def time(self) -> float: ...
def varNames(self) -> Vector_string: ...

class RealBox:
@typing.overload
def __init__(self) -> None: ...
Expand Down Expand Up @@ -18453,5 +18489,5 @@ __author__: str = (
"Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
)
__license__: str = "BSD-3-Clause-LBNL"
__version__: str = "24.06-16-g1f038e767011"
__version__: str = "24.07"
IntVect = IntVect2D
4 changes: 3 additions & 1 deletion src/amrex/space3d/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ from amrex.space3d.amrex_3d_pybind import (
ParticleTileData_pureSoA_7_0,
ParticleTileData_pureSoA_8_0,
Periodicity,
PlotFileData,
PODVector_int_arena,
PODVector_int_pinned,
PODVector_int_std,
Expand Down Expand Up @@ -425,6 +426,7 @@ __all__ = [
"Particle_7_0",
"Particle_8_0",
"Periodicity",
"PlotFileData",
"Print",
"RealBox",
"RealVect",
Expand Down Expand Up @@ -501,4 +503,4 @@ __author__: str = (
"Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
)
__license__: str = "BSD-3-Clause-LBNL"
__version__: str = "24.06-16-g1f038e767011"
__version__: str = "24.07"
40 changes: 38 additions & 2 deletions src/amrex/space3d/amrex_3d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ __all__ = [
"Particle_7_0",
"Particle_8_0",
"Periodicity",
"PlotFileData",
"RealBox",
"RealVect",
"StructOfArrays_3_0_idcpu_arena",
Expand Down Expand Up @@ -4765,7 +4766,7 @@ class BoxArray:
def size(self) -> int: ...

class Config:
amrex_version: typing.ClassVar[str] = "24.06-16-g1f038e767011"
amrex_version: typing.ClassVar[str] = "24.07"
gpu_backend = None
have_gpu: typing.ClassVar[bool] = False
have_mpi: typing.ClassVar[bool] = True
Expand Down Expand Up @@ -12713,6 +12714,41 @@ class Periodicity:
@property
def shift_IntVect(self) -> list[IntVect3D]: ...

class PlotFileData:
def DistributionMap(self, arg0: int) -> DistributionMapping: ...
def __init__(self, arg0: str) -> None: ...
def boxArray(self, arg0: int) -> BoxArray: ...
def cellSize(
self, arg0: int
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
def coordSys(self) -> int: ...
def finestLevel(self) -> int: ...
@typing.overload
def get(self, arg0: int) -> MultiFab: ...
@typing.overload
def get(self, arg0: int, arg1: str) -> MultiFab: ...
def levelStep(self, arg0: int) -> int: ...
def nComp(self) -> int: ...
def nGrowVect(self, arg0: int) -> IntVect3D: ...
def probDomain(self, arg0: int) -> Box: ...
def probHi(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
def probLo(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
def probSize(
self,
) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]: ...
def refRatio(self, arg0: int) -> int: ...
def spaceDim(self) -> int: ...
@typing.overload
def syncDistributionMap(self, arg0: PlotFileData) -> None: ...
@typing.overload
def syncDistributionMap(self, arg0: int, arg1: PlotFileData) -> None: ...
def time(self) -> float: ...
def varNames(self) -> Vector_string: ...

class RealBox:
@typing.overload
def __init__(self) -> None: ...
Expand Down Expand Up @@ -16647,5 +16683,5 @@ __author__: str = (
"Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang"
)
__license__: str = "BSD-3-Clause-LBNL"
__version__: str = "24.06-16-g1f038e767011"
__version__: str = "24.07"
IntVect = IntVect3D

0 comments on commit a5c3d39

Please sign in to comment.