Skip to content
Snippets Groups Projects

Feature/Prepare for box without corner storage

Merged Timo Koch requested to merge feature/box-without-corner-storage into master
All threads resolved!
Files
10
+ 14
0
@@ -41,6 +41,20 @@ namespace Deprecated {
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif // __clang__
template<class G>
using DetectFVGeometryHasSCVGeometry = decltype(std::declval<G>().geometry(std::declval<typename G::SubControlVolume>()));
template<class G>
using DetectFVGeometryHasSCVFGeometry = decltype(std::declval<G>().geometry(std::declval<typename G::SubControlVolumeFace>()));
template<class G>
constexpr inline bool hasSCVGeometryInterface()
{ return Dune::Std::is_detected<DetectFVGeometryHasSCVGeometry, G>::value; }
template<class G>
constexpr inline bool hasSCVFGeometryInterface()
{ return Dune::Std::is_detected<DetectFVGeometryHasSCVFGeometry, G>::value; }
#ifdef __clang__
#pragma clang diagnostic pop
#endif // __clang__
Loading