Skip to content

Commit e830c1e

Browse files
WeiqunZhanggithub-actions[bot]
authored andcommitted
Update Stub Files
1 parent 6c2dc4f commit e830c1e

File tree

6 files changed

+72
-0
lines changed

6 files changed

+72
-0
lines changed

src/amrex/space1d/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ amrex
3030
StructOfArrays
3131
Utility
3232
Vector
33+
VisMF
3334
3435
"""
3536

@@ -261,6 +262,7 @@ from amrex.space1d.amrex_1d_pybind import (
261262
Vector_Long,
262263
Vector_Real,
263264
Vector_string,
265+
VisMF,
264266
XDim3,
265267
begin,
266268
coarsen,
@@ -508,6 +510,7 @@ __all__ = [
508510
"Vector_Real",
509511
"Vector_int",
510512
"Vector_string",
513+
"VisMF",
511514
"XDim3",
512515
"amrex_1d_pybind",
513516
"begin",

src/amrex/space1d/amrex_1d_pybind/__init__.pyi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ amrex
3030
StructOfArrays
3131
Utility
3232
Vector
33+
VisMF
3334

3435
"""
3536

@@ -261,6 +262,7 @@ __all__ = [
261262
"Vector_Real",
262263
"Vector_int",
263264
"Vector_string",
265+
"VisMF",
264266
"XDim3",
265267
"begin",
266268
"coarsen",
@@ -18050,6 +18052,25 @@ class Vector_string:
1805018052
"""
1805118053
def size(self) -> int: ...
1805218054

18055+
class VisMF:
18056+
@staticmethod
18057+
@typing.overload
18058+
def Read(name: str) -> MultiFab:
18059+
"""
18060+
Reads a MultiFab from the specified file
18061+
"""
18062+
@staticmethod
18063+
@typing.overload
18064+
def Read(name: str, mf: MultiFab) -> None:
18065+
"""
18066+
Reads a MultiFab from the specified file into the given MultiFab. The BoxArray on the disk must match the BoxArray * in mf
18067+
"""
18068+
@staticmethod
18069+
def Write(mf: FabArray_FArrayBox, name: str) -> int:
18070+
"""
18071+
Writes a Multifab to the specified file
18072+
"""
18073+
1805318074
class XDim3:
1805418075
x: float
1805518076
y: float

src/amrex/space2d/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ amrex
3030
StructOfArrays
3131
Utility
3232
Vector
33+
VisMF
3334
3435
"""
3536

@@ -285,6 +286,7 @@ from amrex.space2d.amrex_2d_pybind import (
285286
Vector_Long,
286287
Vector_Real,
287288
Vector_string,
289+
VisMF,
288290
XDim3,
289291
begin,
290292
coarsen,
@@ -556,6 +558,7 @@ __all__ = [
556558
"Vector_Real",
557559
"Vector_int",
558560
"Vector_string",
561+
"VisMF",
559562
"XDim3",
560563
"amrex_2d_pybind",
561564
"begin",

src/amrex/space2d/amrex_2d_pybind/__init__.pyi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ amrex
3030
StructOfArrays
3131
Utility
3232
Vector
33+
VisMF
3334

3435
"""
3536

@@ -285,6 +286,7 @@ __all__ = [
285286
"Vector_Real",
286287
"Vector_int",
287288
"Vector_string",
289+
"VisMF",
288290
"XDim3",
289291
"begin",
290292
"coarsen",
@@ -19868,6 +19870,25 @@ class Vector_string:
1986819870
"""
1986919871
def size(self) -> int: ...
1987019872

19873+
class VisMF:
19874+
@staticmethod
19875+
@typing.overload
19876+
def Read(name: str) -> MultiFab:
19877+
"""
19878+
Reads a MultiFab from the specified file
19879+
"""
19880+
@staticmethod
19881+
@typing.overload
19882+
def Read(name: str, mf: MultiFab) -> None:
19883+
"""
19884+
Reads a MultiFab from the specified file into the given MultiFab. The BoxArray on the disk must match the BoxArray * in mf
19885+
"""
19886+
@staticmethod
19887+
def Write(mf: FabArray_FArrayBox, name: str) -> int:
19888+
"""
19889+
Writes a Multifab to the specified file
19890+
"""
19891+
1987119892
class XDim3:
1987219893
x: float
1987319894
y: float

src/amrex/space3d/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ amrex
3030
StructOfArrays
3131
Utility
3232
Vector
33+
VisMF
3334
3435
"""
3536

@@ -261,6 +262,7 @@ from amrex.space3d.amrex_3d_pybind import (
261262
Vector_Long,
262263
Vector_Real,
263264
Vector_string,
265+
VisMF,
264266
XDim3,
265267
begin,
266268
coarsen,
@@ -508,6 +510,7 @@ __all__ = [
508510
"Vector_Real",
509511
"Vector_int",
510512
"Vector_string",
513+
"VisMF",
511514
"XDim3",
512515
"amrex_3d_pybind",
513516
"begin",

src/amrex/space3d/amrex_3d_pybind/__init__.pyi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ amrex
3030
StructOfArrays
3131
Utility
3232
Vector
33+
VisMF
3334

3435
"""
3536

@@ -261,6 +262,7 @@ __all__ = [
261262
"Vector_Real",
262263
"Vector_int",
263264
"Vector_string",
265+
"VisMF",
264266
"XDim3",
265267
"begin",
266268
"coarsen",
@@ -18083,6 +18085,25 @@ class Vector_string:
1808318085
"""
1808418086
def size(self) -> int: ...
1808518087

18088+
class VisMF:
18089+
@staticmethod
18090+
@typing.overload
18091+
def Read(name: str) -> MultiFab:
18092+
"""
18093+
Reads a MultiFab from the specified file
18094+
"""
18095+
@staticmethod
18096+
@typing.overload
18097+
def Read(name: str, mf: MultiFab) -> None:
18098+
"""
18099+
Reads a MultiFab from the specified file into the given MultiFab. The BoxArray on the disk must match the BoxArray * in mf
18100+
"""
18101+
@staticmethod
18102+
def Write(mf: FabArray_FArrayBox, name: str) -> int:
18103+
"""
18104+
Writes a Multifab to the specified file
18105+
"""
18106+
1808618107
class XDim3:
1808718108
x: float
1808818109
y: float

0 commit comments

Comments
 (0)