Pārlūkot izejas kodu

Compiling again with port of FDEM1D Module, but not complete yet.

enhancement_3
Trevor Irons 8 gadus atpakaļ
vecāks
revīzija
577e2a9b68

+ 1468
- 0
Modules/FDEM1D/include/KernelEM1DSpec.h
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 2
- 2
Modules/FDEM1D/include/kernelem1dreflbase.h Parādīt failu

@@ -14,8 +14,8 @@
14 14
 #ifndef  KERNELEM1DREFLBASE_INC
15 15
 #define  KERNELEM1DREFLBASE_INC
16 16
 
17
-#include "KernelEM1DSpec.h"
18
-//#include "kernelem1dbase.h"
17
+//#include "KernelEM1DSpec.h"
18
+#include "kernelem1dbase.h"
19 19
 #include "DipoleSource.h"
20 20
 #include "LayeredEarthEM.h"
21 21
 

+ 3
- 1
Modules/FDEM1D/src/CMakeLists.txt Parādīt failu

@@ -7,8 +7,10 @@ set (FEM1DSOURCE
7 7
 	${CMAKE_CURRENT_SOURCE_DIR}/KernelEM1DManager.cpp
8 8
 	${CMAKE_CURRENT_SOURCE_DIR}/DipoleSource.cpp
9 9
 	
10
-	${CMAKE_CURRENT_SOURCE_DIR}/KernelEM1DReflSpec.cpp
10
+	${CMAKE_CURRENT_SOURCE_DIR}/KernelEM1DManager.cpp
11 11
 	${CMAKE_CURRENT_SOURCE_DIR}/KernelEM1DSpec.cpp
12
+	${CMAKE_CURRENT_SOURCE_DIR}/KernelEM1DReflSpec.cpp
13
+
12 14
 
13 15
 	#${CMAKE_CURRENT_SOURCE_DIR}/UngroundedElectricDipole.cpp
14 16
 	PARENT_SCOPE

+ 18
- 0
Modules/FDEM1D/src/DipoleSource.cpp Parādīt failu

@@ -52,6 +52,24 @@ namespace Lemma {
52 52
         return std::make_shared<DipoleSource> ( ctor_key() );
53 53
     }
54 54
 
55
+    YAML::Node DipoleSource::Serialize() const {
56
+        YAML::Node node = DipoleSource::Serialize();
57
+        node.SetTag( GetName() );
58
+        /*
59
+        node["LayerConductivity"] = LayerConductivity;
60
+        node["LayerSusceptibility"] = LayerSusceptibility;
61
+        node["LayerLowFreqSusceptibility"] = LayerLowFreqSusceptibility;
62
+        node["LayerHighFreqSusceptibility"] = LayerHighFreqSusceptibility;
63
+        node["LayerTauSusceptibility"] = LayerTauSusceptibility;
64
+        node["LayerBreathSusceptibility"] = LayerBreathSusceptibility;
65
+        node["LayerPermitivity"] = LayerPermitivity;
66
+        node["LayerLowFreqPermitivity"] = LayerLowFreqPermitivity;
67
+        node["LayerHighFreqPermitivity"] = LayerHighFreqPermitivity;
68
+        node["LayerTauPermitivity"] = LayerTauPermitivity;
69
+        node["LayerBreathPermitivity"] = LayerBreathPermitivity;
70
+        */
71
+        return node;
72
+    }
55 73
 
56 74
     std::shared_ptr<DipoleSource> DipoleSource::Clone() {
57 75
 

Notiek ielāde…
Atcelt
Saglabāt