浏览代码

Anderson801 is compiling.

enhancement_3
T-bone 7 年前
父节点
当前提交
595c8562e5

+ 1
- 1
Modules/FDEM1D/include/HankelTransform.h 查看文件

@@ -50,7 +50,7 @@ namespace Lemma {
50 50
                 /// = omega * sqrt( EP*AMU )  amu = 4 pi e-7  ep = 8.85e-12
51 51
                 virtual Complex Zgauss(const int &ikk, const EMMODE &imode,
52 52
                             const int &itype, const Real &rho,
53
-                            const Real &wavef, std::shared_ptr<KernelEm1DBase> Kernel)=0;
53
+                            const Real &wavef, std::shared_ptr<KernelEM1DBase> Kernel)=0;
54 54
 
55 55
                 /// Computes related kernels, if applicable, otherwise this is
56 56
                 /// just a dummy function.

+ 5
- 5
Modules/FDEM1D/include/KernelEM1DBase.h 查看文件

@@ -22,14 +22,14 @@ namespace Lemma {
22 22
     enum EMMODE {TM, TE, NONE};
23 23
 
24 24
     // ===================================================================
25
-    //  Class:  KernelEm1DBase
25
+    //  Class:  KernelEM1DBase
26 26
     /**
27 27
       @class
28 28
       \brief   Pure virtual base class of KernelEm1D
29 29
       \details Defines interface for HankelTransform classes
30 30
      */
31 31
     // ===================================================================
32
-    class KernelEm1DBase : public LemmaObject {
32
+    class KernelEM1DBase : public LemmaObject {
33 33
 
34 34
         friend class KernelEM1DManager;
35 35
 
@@ -38,12 +38,12 @@ namespace Lemma {
38 38
             // ====================  LIFECYCLE     =======================
39 39
 
40 40
             /// Default protected constructor.
41
-            KernelEm1DBase ( ) : LemmaObject( ) {
41
+            KernelEM1DBase ( ) : LemmaObject( ) {
42 42
 
43 43
             }
44 44
 
45 45
             /// Default protected constructor.
46
-            ~KernelEm1DBase () {
46
+            ~KernelEM1DBase () {
47 47
             }
48 48
 
49 49
             // ====================  OPERATORS     =======================
@@ -95,7 +95,7 @@ namespace Lemma {
95 95
             /** ASCII string representation of the class name */
96 96
             static constexpr auto CName = "KernelEM1DBase";
97 97
 
98
-    }; // -----  end of class  KernelEm1DBase  -----
98
+    }; // -----  end of class  KernelEM1DBase  -----
99 99
 
100 100
 } // namespace Lemma
101 101
 

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

@@ -115,13 +115,13 @@ namespace Lemma {
115 115
             /** Returns pointer to specified kernel indice. Indices are assigned in the same
116 116
                 order as they are created by AddKernel.
117 117
              */
118
-            std::shared_ptr<KernelEm1DBase>    GetKernel(const unsigned int& ik);
118
+            std::shared_ptr<KernelEM1DBase>    GetKernel(const unsigned int& ik);
119 119
 
120 120
             /** Returns pointer to connected dipole.
121 121
              */
122 122
             std::shared_ptr<DipoleSource>    GetDipole( );
123 123
 
124
-            inline std::vector< std::shared_ptr<KernelEm1DBase> >  GetSTLVector() {
124
+            inline std::vector< std::shared_ptr<KernelEM1DBase> >  GetSTLVector() {
125 125
                 return KernelVec;
126 126
             }
127 127
 
@@ -139,7 +139,7 @@ namespace Lemma {
139 139
             // ====================  DATA MEMBERS  =========================
140 140
 
141 141
             /** List of KernelEm1D instances */
142
-            std::vector< std::shared_ptr<KernelEm1DBase> >  KernelVec;
142
+            std::vector< std::shared_ptr<KernelEM1DBase> >  KernelVec;
143 143
 
144 144
             /** Reflection base used for TE mode */
145 145
             std::shared_ptr<KernelEM1DReflBase>        TEReflBase;

+ 2
- 2
Modules/FDEM1D/include/KernelEM1DSpec.h 查看文件

@@ -35,7 +35,7 @@ namespace Lemma {
35 35
      */
36 36
     // ===================================================================
37 37
     template<EMMODE Mode, int Ikernel, DIPOLE_LOCATION Isource, DIPOLE_LOCATION Irecv>
38
-    class KernelEM1DSpec : public KernelEm1DBase {
38
+    class KernelEM1DSpec : public KernelEM1DBase {
39 39
 
40 40
         struct ctor_key {};
41 41
 
@@ -44,7 +44,7 @@ namespace Lemma {
44 44
             // ====================  LIFECYCLE     =======================
45 45
 
46 46
             /// Default locked constructor.
47
-            explicit KernelEM1DSpec (const ctor_key& ) : KernelEm1DBase( ), ReflCalc(nullptr) {
47
+            explicit KernelEM1DSpec (const ctor_key& ) : KernelEM1DBase( ), ReflCalc(nullptr) {
48 48
             }
49 49
 
50 50
             /// Default destructor.

+ 1
- 1
Modules/FDEM1D/src/FHTAnderson801.cpp 查看文件

@@ -964,7 +964,7 @@ namespace Lemma {
964 964
 
965 965
 	Complex FHTAnderson801::Zgauss(const int &ikk, const EMMODE &imode,
966 966
 						const int &itype, const Real &rho,
967
-						const Real &wavef, KernelEm1DBase *Kernel) {
967
+						const Real &wavef, std::shared_ptr<KernelEM1DBase> Kernel) {
968 968
 
969 969
         // TODO, right here we want to return the splined solution instead in the
970 970
         //       case of lagged convolution!

+ 1
- 1
Modules/FDEM1D/src/KernelEM1DManager.cpp 查看文件

@@ -51,7 +51,7 @@ namespace Lemma {
51 51
         rx_z = rx_zin;
52 52
     }
53 53
 
54
-    std::shared_ptr<KernelEm1DBase> KernelEM1DManager::GetKernel(const unsigned int& ik) {
54
+    std::shared_ptr<KernelEM1DBase> KernelEM1DManager::GetKernel(const unsigned int& ik) {
55 55
         return KernelVec[ik];
56 56
     }
57 57
 

正在加载...
取消
保存