Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 87249c7

Browse files
committedJan 22, 2025·
silence unused function error when compiling with AppleClang
1 parent f9ad5a4 commit 87249c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎Source/EmbeddedBoundary/WarpXFaceExtensions.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ namespace
7272
return -1;
7373
}
7474

75+
76+
#ifdef AMREX_USE_EB
7577
/**
7678
* \brief Compute the minimal area for stability for the face i, j, k with normal 'dim'.
7779
* (wrapper to allow using ComputeSStab as a non-templated function, by passing 'dim' as an argument)
@@ -103,6 +105,8 @@ namespace
103105
return -1;
104106
}
105107

108+
#endif
109+
106110

107111
/**
108112
* \brief Whenever an unstable cell cannot be extended we increase its area to be the minimal for stability.

0 commit comments

Comments
 (0)
Please sign in to comment.