CI Debug, (3)
@@ -399,15 +399,21 @@ class Modal(BaseSolver):
delimiter='\t', newline='\n')
np.savetxt(self.folder + "eigenvectors.dat", eigenvectors[:num_dof].real,
fmt='%.12f', delimiter='\t', newline='\n')
- try:
+
+ if not self.settings['use_undamped_modes'].value:
+ cout.cout_wrap('In damped')
cout.cout_wrap('Printing frequencies.dat to: ' + os.path.abspath(self.folder), 1)
np.savetxt(self.folder + 'frequencies.dat', freq_damped[:NumLambda],
fmt='%e', delimiter='\t', newline='\n')
cout.cout_wrap('Success', 1)
- except NameError:
- cout.cout_wrap('In exception', 1)
+ else:
+ cout.cout_wrap('In undamped', 1)
+ print(freq_natural[:NumLambda])
+ cout.cout_wrap('Printing frequencies.dat to: ' + os.path.abspath(self.folder), 1)
np.savetxt(self.folder + 'frequencies.dat', freq_natural[:NumLambda],
fmt='%e', delimiter='\t', newline='\n')
+ cout.cout_wrap('Success', 1)
+
np.savetxt(self.filename_damp, damping[:NumLambda],
fmt='%e', delimiter='\t', newline='\n')
