Skip to content

Commit 60fcdb5

Browse files
committed
Update Stub Files
1 parent 4ca11b4 commit 60fcdb5

21 files changed

+40
-21
lines changed

src/amrex/space2d/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ from amrex.space2d.amrex_2d_pybind import Geometry
9393
from amrex.space2d.amrex_2d_pybind import GeometryData
9494
from amrex.space2d.amrex_2d_pybind import IndexType
9595
from amrex.space2d.amrex_2d_pybind import IntVect1D
96-
from amrex.space2d.amrex_2d_pybind import IntVect2D as IntVect
9796
from amrex.space2d.amrex_2d_pybind import IntVect2D
97+
from amrex.space2d.amrex_2d_pybind import IntVect2D as IntVect
9898
from amrex.space2d.amrex_2d_pybind import IntVect3D
9999
from amrex.space2d.amrex_2d_pybind import MFInfo
100100
from amrex.space2d.amrex_2d_pybind import MFItInfo

src/amrex/space3d/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ from amrex.space3d.amrex_3d_pybind import GeometryData
9494
from amrex.space3d.amrex_3d_pybind import IndexType
9595
from amrex.space3d.amrex_3d_pybind import IntVect1D
9696
from amrex.space3d.amrex_3d_pybind import IntVect2D
97-
from amrex.space3d.amrex_3d_pybind import IntVect3D
9897
from amrex.space3d.amrex_3d_pybind import IntVect3D as IntVect
98+
from amrex.space3d.amrex_3d_pybind import IntVect3D
9999
from amrex.space3d.amrex_3d_pybind import MFInfo
100100
from amrex.space3d.amrex_3d_pybind import MFItInfo
101101
from amrex.space3d.amrex_3d_pybind import MFIter

tests/test_MPMD/test_1/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
# License: BSD-3-Clause-LBNL
99
# Authors: Bhargav Sriram Siddani, Revathi Jambunathan, Edoardo Zoni, Olga Shapoval, David Grote, Axel Huebl
1010

11-
import amrex.space3d as amr
1211
from mpi4py import MPI
1312

13+
import amrex.space3d as amr
14+
1415
# Initialize amrex::MPMD to establish communication across the two apps
1516
# However, leverage MPMD_Initialize_without_split
1617
# so that communication split can be performed using mpi4py.MPI

tests/test_aos.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import numpy as np
54

5+
import amrex.space3d as amr
6+
67

78
def test_aos_init():
89
aos = amr.ArrayOfStructs_2_1_default()

tests/test_array4.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import numpy as np
54
import pytest
65

6+
import amrex.space3d as amr
7+
78

89
def test_array4_empty():
910
empty = amr.Array4_double()

tests/test_basefab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import numpy as np
54

5+
import amrex.space3d as amr
6+
67

78
def test_basefab():
89
bf = amr.BaseFab_Real() # noqa

tests/test_box.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import numpy as np
54
import pytest
65

6+
import amrex.space3d as amr
7+
78

89
@pytest.fixture(scope="function")
910
def box():

tests/test_dim3.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import numpy as np
54

5+
import amrex.space3d as amr
6+
67

78
def test_dim3():
89
obj = amr.Dim3(1, 2, 3)

tests/test_geometry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import numpy as np
54
import pytest
5+
6+
import amrex.space3d as amr
67
from amrex.space3d import Geometry as Gm
78

89
# TODO: return coord?

tests/test_indextype.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# -*- coding: utf-8 -*-
22

3-
import amrex.space3d as amr
43
import pytest
54

5+
import amrex.space3d as amr
6+
67

78
@pytest.mark.skipif(amr.Config.spacedim != 1, reason="Requires AMREX_SPACEDIM = 1")
89
def test_indextype_1d():

0 commit comments

Comments
 (0)