diff --git a/src/amrex/space1d/__init__.pyi b/src/amrex/space1d/__init__.pyi index c23dea05..07e4335a 100644 --- a/src/amrex/space1d/__init__.pyi +++ b/src/amrex/space1d/__init__.pyi @@ -30,6 +30,7 @@ amrex StructOfArrays Utility Vector + VisMF """ @@ -261,6 +262,7 @@ from amrex.space1d.amrex_1d_pybind import ( Vector_Long, Vector_Real, Vector_string, + VisMF, XDim3, begin, coarsen, @@ -508,6 +510,7 @@ __all__ = [ "Vector_Real", "Vector_int", "Vector_string", + "VisMF", "XDim3", "amrex_1d_pybind", "begin", diff --git a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi index 7399eedf..fd417d1a 100644 --- a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi +++ b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi @@ -30,6 +30,7 @@ amrex StructOfArrays Utility Vector + VisMF """ @@ -261,6 +262,7 @@ __all__ = [ "Vector_Real", "Vector_int", "Vector_string", + "VisMF", "XDim3", "begin", "coarsen", @@ -18050,6 +18052,25 @@ class Vector_string: """ def size(self) -> int: ... +class VisMF: + @staticmethod + @typing.overload + def Read(name: str) -> MultiFab: + """ + Reads a MultiFab from the specified file + """ + @staticmethod + @typing.overload + def Read(name: str, mf: MultiFab) -> None: + """ + Reads a MultiFab from the specified file into the given MultiFab. The BoxArray on the disk must match the BoxArray * in mf + """ + @staticmethod + def Write(mf: FabArray_FArrayBox, name: str) -> int: + """ + Writes a Multifab to the specified file + """ + class XDim3: x: float y: float diff --git a/src/amrex/space2d/__init__.pyi b/src/amrex/space2d/__init__.pyi index ace0a07b..b52fe86e 100644 --- a/src/amrex/space2d/__init__.pyi +++ b/src/amrex/space2d/__init__.pyi @@ -30,6 +30,7 @@ amrex StructOfArrays Utility Vector + VisMF """ @@ -285,6 +286,7 @@ from amrex.space2d.amrex_2d_pybind import ( Vector_Long, Vector_Real, Vector_string, + VisMF, XDim3, begin, coarsen, @@ -556,6 +558,7 @@ __all__ = [ "Vector_Real", "Vector_int", "Vector_string", + "VisMF", "XDim3", "amrex_2d_pybind", "begin", diff --git a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi index fb1a8678..7a287693 100644 --- a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi +++ b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi @@ -30,6 +30,7 @@ amrex StructOfArrays Utility Vector + VisMF """ @@ -285,6 +286,7 @@ __all__ = [ "Vector_Real", "Vector_int", "Vector_string", + "VisMF", "XDim3", "begin", "coarsen", @@ -19868,6 +19870,25 @@ class Vector_string: """ def size(self) -> int: ... +class VisMF: + @staticmethod + @typing.overload + def Read(name: str) -> MultiFab: + """ + Reads a MultiFab from the specified file + """ + @staticmethod + @typing.overload + def Read(name: str, mf: MultiFab) -> None: + """ + Reads a MultiFab from the specified file into the given MultiFab. The BoxArray on the disk must match the BoxArray * in mf + """ + @staticmethod + def Write(mf: FabArray_FArrayBox, name: str) -> int: + """ + Writes a Multifab to the specified file + """ + class XDim3: x: float y: float diff --git a/src/amrex/space3d/__init__.pyi b/src/amrex/space3d/__init__.pyi index c7ad0434..af10c59f 100644 --- a/src/amrex/space3d/__init__.pyi +++ b/src/amrex/space3d/__init__.pyi @@ -30,6 +30,7 @@ amrex StructOfArrays Utility Vector + VisMF """ @@ -261,6 +262,7 @@ from amrex.space3d.amrex_3d_pybind import ( Vector_Long, Vector_Real, Vector_string, + VisMF, XDim3, begin, coarsen, @@ -508,6 +510,7 @@ __all__ = [ "Vector_Real", "Vector_int", "Vector_string", + "VisMF", "XDim3", "amrex_3d_pybind", "begin", diff --git a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi index cfb75911..ad1247e4 100644 --- a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi +++ b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi @@ -30,6 +30,7 @@ amrex StructOfArrays Utility Vector + VisMF """ @@ -261,6 +262,7 @@ __all__ = [ "Vector_Real", "Vector_int", "Vector_string", + "VisMF", "XDim3", "begin", "coarsen", @@ -18083,6 +18085,25 @@ class Vector_string: """ def size(self) -> int: ... +class VisMF: + @staticmethod + @typing.overload + def Read(name: str) -> MultiFab: + """ + Reads a MultiFab from the specified file + """ + @staticmethod + @typing.overload + def Read(name: str, mf: MultiFab) -> None: + """ + Reads a MultiFab from the specified file into the given MultiFab. The BoxArray on the disk must match the BoxArray * in mf + """ + @staticmethod + def Write(mf: FabArray_FArrayBox, name: str) -> int: + """ + Writes a Multifab to the specified file + """ + class XDim3: x: float y: float