Skip to content

Commit 11ac88b

Browse files
atmyersgithub-actions[bot]
authored andcommitted
Update Stub Files
1 parent 88f6194 commit 11ac88b

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

src/amrex/space1d/amrex_1d_pybind/__init__.pyi

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4956,6 +4956,10 @@ class BoxArray:
49564956
def coarsenable(self, arg0: IntVect1D, arg1: int) -> bool: ...
49574957
@typing.overload
49584958
def coarsenable(self, arg0: IntVect1D, arg1: IntVect1D) -> bool: ...
4959+
@typing.overload
4960+
def convert(self, arg0: IndexType) -> BoxArray: ...
4961+
@typing.overload
4962+
def convert(self, arg0: IntVect1D) -> BoxArray: ...
49594963
def define(self, arg0: Box) -> None: ...
49604964
@typing.overload
49614965
def enclosed_cells(self) -> BoxArray: ...
@@ -4973,6 +4977,10 @@ class BoxArray:
49734977
@typing.overload
49744978
def refine(self, arg0: IntVect1D) -> BoxArray: ...
49754979
def resize(self, arg0: int) -> None: ...
4980+
@typing.overload
4981+
def surroundingNodes(self) -> BoxArray: ...
4982+
@typing.overload
4983+
def surroundingNodes(self, arg0: int) -> BoxArray: ...
49764984
@property
49774985
def capacity(self) -> int: ...
49784986
@property
@@ -6753,6 +6761,22 @@ class MultiFab(FabArray_FArrayBox):
67536761
A copy of this MultiFab.
67546762

67556763
"""
6764+
@typing.overload
6765+
def copymf(
6766+
self, src: MultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: int
6767+
) -> None:
6768+
"""
6769+
Copy from src to self including nghost ghost cells.
6770+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
6771+
"""
6772+
@typing.overload
6773+
def copymf(
6774+
self, src: MultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: IntVect1D
6775+
) -> None:
6776+
"""
6777+
Copy from src to self including nghost ghost cells.
6778+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
6779+
"""
67566780
def divi(
67576781
self, mf: MultiFab, strt_comp: int, num_comp: int, nghost: int = 0
67586782
) -> None:
@@ -20016,6 +20040,13 @@ class iMultiFab(FabArray_IArrayBox):
2001620040
amrex.MultiFab
2001720041
A copy of this MultiFab.
2001820042

20043+
"""
20044+
def copymf(
20045+
self, src: iMultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: int
20046+
) -> None:
20047+
"""
20048+
Copy from src to self including nghost ghost cells.
20049+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
2001920050
"""
2002020051
def divi(
2002120052
self, mf: iMultiFab, strt_comp: int, num_comp: int, nghost: int = 0

src/amrex/space2d/amrex_2d_pybind/__init__.pyi

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4980,6 +4980,10 @@ class BoxArray:
49804980
def coarsenable(self, arg0: IntVect2D, arg1: int) -> bool: ...
49814981
@typing.overload
49824982
def coarsenable(self, arg0: IntVect2D, arg1: IntVect2D) -> bool: ...
4983+
@typing.overload
4984+
def convert(self, arg0: IndexType) -> BoxArray: ...
4985+
@typing.overload
4986+
def convert(self, arg0: IntVect2D) -> BoxArray: ...
49834987
def define(self, arg0: Box) -> None: ...
49844988
@typing.overload
49854989
def enclosed_cells(self) -> BoxArray: ...
@@ -4997,6 +5001,10 @@ class BoxArray:
49975001
@typing.overload
49985002
def refine(self, arg0: IntVect2D) -> BoxArray: ...
49995003
def resize(self, arg0: int) -> None: ...
5004+
@typing.overload
5005+
def surroundingNodes(self) -> BoxArray: ...
5006+
@typing.overload
5007+
def surroundingNodes(self, arg0: int) -> BoxArray: ...
50005008
@property
50015009
def capacity(self) -> int: ...
50025010
@property
@@ -6781,6 +6789,22 @@ class MultiFab(FabArray_FArrayBox):
67816789
A copy of this MultiFab.
67826790

67836791
"""
6792+
@typing.overload
6793+
def copymf(
6794+
self, src: MultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: int
6795+
) -> None:
6796+
"""
6797+
Copy from src to self including nghost ghost cells.
6798+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
6799+
"""
6800+
@typing.overload
6801+
def copymf(
6802+
self, src: MultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: IntVect2D
6803+
) -> None:
6804+
"""
6805+
Copy from src to self including nghost ghost cells.
6806+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
6807+
"""
67846808
def divi(
67856809
self, mf: MultiFab, strt_comp: int, num_comp: int, nghost: int = 0
67866810
) -> None:
@@ -21813,6 +21837,13 @@ class iMultiFab(FabArray_IArrayBox):
2181321837
amrex.MultiFab
2181421838
A copy of this MultiFab.
2181521839

21840+
"""
21841+
def copymf(
21842+
self, src: iMultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: int
21843+
) -> None:
21844+
"""
21845+
Copy from src to self including nghost ghost cells.
21846+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
2181621847
"""
2181721848
def divi(
2181821849
self, mf: iMultiFab, strt_comp: int, num_comp: int, nghost: int = 0

src/amrex/space3d/amrex_3d_pybind/__init__.pyi

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4956,6 +4956,10 @@ class BoxArray:
49564956
def coarsenable(self, arg0: IntVect3D, arg1: int) -> bool: ...
49574957
@typing.overload
49584958
def coarsenable(self, arg0: IntVect3D, arg1: IntVect3D) -> bool: ...
4959+
@typing.overload
4960+
def convert(self, arg0: IndexType) -> BoxArray: ...
4961+
@typing.overload
4962+
def convert(self, arg0: IntVect3D) -> BoxArray: ...
49594963
def define(self, arg0: Box) -> None: ...
49604964
@typing.overload
49614965
def enclosed_cells(self) -> BoxArray: ...
@@ -4973,6 +4977,10 @@ class BoxArray:
49734977
@typing.overload
49744978
def refine(self, arg0: IntVect3D) -> BoxArray: ...
49754979
def resize(self, arg0: int) -> None: ...
4980+
@typing.overload
4981+
def surroundingNodes(self) -> BoxArray: ...
4982+
@typing.overload
4983+
def surroundingNodes(self, arg0: int) -> BoxArray: ...
49764984
@property
49774985
def capacity(self) -> int: ...
49784986
@property
@@ -6760,6 +6768,22 @@ class MultiFab(FabArray_FArrayBox):
67606768
A copy of this MultiFab.
67616769

67626770
"""
6771+
@typing.overload
6772+
def copymf(
6773+
self, src: MultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: int
6774+
) -> None:
6775+
"""
6776+
Copy from src to self including nghost ghost cells.
6777+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
6778+
"""
6779+
@typing.overload
6780+
def copymf(
6781+
self, src: MultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: IntVect3D
6782+
) -> None:
6783+
"""
6784+
Copy from src to self including nghost ghost cells.
6785+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
6786+
"""
67636787
def divi(
67646788
self, mf: MultiFab, strt_comp: int, num_comp: int, nghost: int = 0
67656789
) -> None:
@@ -20049,6 +20073,13 @@ class iMultiFab(FabArray_IArrayBox):
2004920073
amrex.MultiFab
2005020074
A copy of this MultiFab.
2005120075

20076+
"""
20077+
def copymf(
20078+
self, src: iMultiFab, srccomp: int, dstcomp: int, numcomp: int, nghost: int
20079+
) -> None:
20080+
"""
20081+
Copy from src to self including nghost ghost cells.
20082+
The two MultiFabs MUST have the same underlying BoxArray. The copy is local
2005220083
"""
2005320084
def divi(
2005420085
self, mf: iMultiFab, strt_comp: int, num_comp: int, nghost: int = 0

0 commit comments

Comments
 (0)