瀏覽代碼

Convert to markdown

lagkey
Trevor Irons 6 年之前
父節點
當前提交
43ac026337
共有 2 個文件被更改,包括 18 次插入3 次删除
  1. 18
    3
      Modules/FDEM1D/include/HankelTransformFactory.h
  2. 0
    0
      README.md

+ 18
- 3
Modules/FDEM1D/include/HankelTransformFactory.h 查看文件

@@ -23,6 +23,10 @@
23 23
 
24 24
 #include "FHTAnderson801.h"
25 25
 #include "FHTKey201.h"
26
+#include "FHTKey101.h"
27
+#include "FHTKey51.h"
28
+#include "QWEKey.h"
29
+#include "GQChave.h"
26 30
 
27 31
 namespace Lemma {
28 32
 
@@ -90,10 +94,21 @@ namespace Lemma {
90 94
         static std::shared_ptr< HankelTransform > NewSP( const HANKELTRANSFORMTYPE Type) {
91 95
             switch (Type) {
92 96
                 case ANDERSON801:
93
-                    break;
97
+                    return FHTAnderson801::NewSP();
98
+                case FHTKEY201:
99
+                    return FHTKey201::NewSP();
100
+                case FHTKEY101:
101
+                    return FHTKey101::NewSP();
102
+                case FHTKEY51:
103
+                    return FHTKey51::NewSP();
104
+                case CHAVE:
105
+                    return GQChave::NewSP();
106
+                case QWEKEY:
107
+                    return QWEKey::NewSP();
108
+                default:
109
+                    std::cerr << "HankelTransformFactory only works with defined types\n";
94 110
             }
95
-            return FHTKey201::NewSP();
96
-            //return FHTAnderson801::NewSP();
111
+
97 112
         }
98 113
 
99 114
         /**

README → README.md 查看文件


Loading…
取消
儲存