Skip to content

Commit 20c53ef

Browse files
committed
add ifdef AMREX_UEE_EB
1 parent c4c8879 commit 20c53ef

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/EB/EB.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
#include "pyAMReX.H"
77

8+
#ifdef AMREX_USE_EB
9+
810
#include <AMReX_EB2.H>
911

1012
void init_EBFabFactory (py::module& m);
@@ -31,3 +33,5 @@ void init_EB (py::module& m)
3133

3234
init_EBFabFactory(m);
3335
}
36+
37+
#endif

src/EB/EBFabFactory.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
#include "pyAMReX.H"
77

8+
#ifdef AMREX_USE_EB
9+
810
#include <AMReX_EBFabFactory.H>
911
#include <AMReX_MultiFab.H>
1012

@@ -37,3 +39,5 @@ void init_EBFabFactory (py::module& m)
3739
"Make EBFArrayBoxFactory for given Geometry, BoxArray and DistributionMapping"
3840
);
3941
}
42+
43+
#endif

0 commit comments

Comments
 (0)