浏览代码

testing of IRONS filter coeffs

master
Trevor Irons 4 年前
父节点
当前提交
2993b1af4d
共有 4 个文件被更改,包括 973 次插入807 次删除
  1. 2
    2
      CMake/SuperBuild.cmake
  2. 3
    0
      Modules/FDEM1D/include/FHT.h
  3. 4
    2
      Modules/FDEM1D/python/CMakeLists.txt
  4. 964
    803
      Modules/FDEM1D/src/FHT.cpp

+ 2
- 2
CMake/SuperBuild.cmake 查看文件

@@ -6,8 +6,8 @@ if (Eigen3_FOUND)
6 6
 else()
7 7
     message( STATUS "Eigen WAS NOT FOUND ${eigen_DIR}" )
8 8
         ExternalProject_Add(EIGEN
9
-	    GIT_REPOSITORY "https://github.com/eigenteam/eigen-git-mirror.git"
10
-	    UPDATE_COMMAND "" 
9
+	    GIT_REPOSITORY "https://gitlab.com/libeigen/eigen.git"
10
+        UPDATE_COMMAND "" 
11 11
 	    GIT_TAG "3.3.7" #"default"
12 12
    	    PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/eigen
13 13
    	    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}

+ 3
- 0
Modules/FDEM1D/include/FHT.h 查看文件

@@ -185,6 +185,9 @@ namespace Lemma {
185 185
     const Eigen::Matrix<Real, Eigen::Dynamic, 3>  FHT<FHTKONG241>::WT;
186 186
     template<>
187 187
     const Eigen::Matrix<Real, Eigen::Dynamic, 3>  FHT<IRONS>::WT;
188
+    // Clang wants generic declaration
189
+    template < HANKELTRANSFORMTYPE Type >
190
+    const Eigen::Matrix<Real, Eigen::Dynamic, 3>  FHT< Type >::WT;
188 191
 #endif
189 192
 
190 193
     template < HANKELTRANSFORMTYPE Type >

+ 4
- 2
Modules/FDEM1D/python/CMakeLists.txt 查看文件

@@ -3,8 +3,10 @@
3 3
 add_library(pyFDEM1D MODULE pyFDEM1D.cpp)
4 4
 target_link_libraries(pyFDEM1D PRIVATE pybind11::module lemmacore fdem1d )
5 5
 set_target_properties(pyFDEM1D PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}"
6
-                                       SUFFIX "${PYTHON_MODULE_EXTENSION}"
7
-                                                      OUTPUT_NAME "FDEM1D"
6
+	SUFFIX "${PYTHON_MODULE_EXTENSION}"
7
+    OUTPUT_NAME "FDEM1D"
8
+	CXX_STANDARD 14 
9
+	CXX_STANDARD_REQUIRED ON
8 10
 )
9 11
 
10 12
 install(TARGETS pyFDEM1D

+ 964
- 803
Modules/FDEM1D/src/FHT.cpp
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存