Browse Source

Tweaks

submodule
T-bone 8 years ago
parent
commit
bc629a34bc

+ 5
- 0
CMakeLists.txt View File

171
 endif()
171
 endif()
172
 
172
 
173
 ####################
173
 ####################
174
+# Magic rpath flag
175
+####################
176
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
177
+
178
+####################
174
 # Add the c++11 flag 
179
 # Add the c++11 flag 
175
 # TODO add compiler specific instructions
180
 # TODO add compiler specific instructions
176
 include(CheckCXXCompilerFlag)
181
 include(CheckCXXCompilerFlag)

+ 0
- 2
Modules/FDEM1D/src/LayeredEarthEM.cpp View File

57
         return std::make_shared<LayeredEarthEM> ( node, ctor_key() );
57
         return std::make_shared<LayeredEarthEM> ( node, ctor_key() );
58
     }
58
     }
59
 
59
 
60
-
61
-
62
     YAML::Node LayeredEarthEM::Serialize() const {
60
     YAML::Node LayeredEarthEM::Serialize() const {
63
         YAML::Node node = LayeredEarth::Serialize();
61
         YAML::Node node = LayeredEarth::Serialize();
64
         node.SetTag( GetName() );
62
         node.SetTag( GetName() );

+ 1
- 3
Modules/LemmaCore/src/LayeredEarth.cpp View File

18
 	// ====================    FRIENDS     ======================
18
 	// ====================    FRIENDS     ======================
19
 
19
 
20
     std::ostream &operator << (std::ostream &stream, const LayeredEarth &ob) {
20
     std::ostream &operator << (std::ostream &stream, const LayeredEarth &ob) {
21
-        stream << ob.Serialize()  << "\n---\n"; // End of doc --- as a direct stream should encapulste thingy
21
+        stream << ob.Serialize()  << "\n---\n"; // End of doc
22
         return stream;
22
         return stream;
23
     }
23
     }
24
 
24
 
28
 		NumberOfLayers(0), 	NumberOfInterfaces(0) {
28
 		NumberOfLayers(0), 	NumberOfInterfaces(0) {
29
 	}
29
 	}
30
 
30
 
31
-
32
-
33
 	LayeredEarth::~LayeredEarth() {
31
 	LayeredEarth::~LayeredEarth() {
34
 	}
32
 	}
35
 
33
 

Loading…
Cancel
Save