Skip to content
Snippets Groups Projects
Commit 6a51c2e4 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Fix formatted configuration output

parent 70ddd5bd
No related branches found
No related tags found
No related merge requests found
...@@ -657,7 +657,7 @@ void ScattererConfiguration::write_formatted(string file_name) { ...@@ -657,7 +657,7 @@ void ScattererConfiguration::write_formatted(string file_name) {
wl_vec[i] = two_pi / wn_vec[i]; wl_vec[i] = two_pi / wn_vec[i];
fprintf( fprintf(
output, output,
"%5d %13.4lE %13.4lE %13.4lE %13.4lE %13.4lE\n", "%5d%13.4lE%13.4lE%13.4lE%13.4lE%13.4lE\n",
(i + 1), (i + 1),
xi_vec[i], xi_vec[i],
wn_vec[i], wn_vec[i],
...@@ -677,7 +677,7 @@ void ScattererConfiguration::write_formatted(string file_name) { ...@@ -677,7 +677,7 @@ void ScattererConfiguration::write_formatted(string file_name) {
ev_vec[i] = pu_vec[i] * evc; ev_vec[i] = pu_vec[i] * evc;
fprintf( fprintf(
output, output,
"%5d %13.4lE %13.4lE %13.4lE %13.4lE %13.4lE\n", "%5d%13.4lE%13.4lE%13.4lE%13.4lE%13.4lE\n",
(i + 1), (i + 1),
wn_vec[i], wn_vec[i],
wl_vec[i], wl_vec[i],
...@@ -697,7 +697,7 @@ void ScattererConfiguration::write_formatted(string file_name) { ...@@ -697,7 +697,7 @@ void ScattererConfiguration::write_formatted(string file_name) {
ev_vec[i] = pu_vec[i] * evc; ev_vec[i] = pu_vec[i] * evc;
fprintf( fprintf(
output, output,
"%5d %13.4lE %13.4lE %13.4lE %13.4lE %13.4lE\n", "%5d%13.4lE%13.4lE%13.4lE%13.4lE%13.4lE\n",
(i + 1), (i + 1),
wl_vec[i], wl_vec[i],
wn_vec[i], wn_vec[i],
...@@ -717,7 +717,7 @@ void ScattererConfiguration::write_formatted(string file_name) { ...@@ -717,7 +717,7 @@ void ScattererConfiguration::write_formatted(string file_name) {
ev_vec[i] = pu_vec[i] * evc; ev_vec[i] = pu_vec[i] * evc;
fprintf( fprintf(
output, output,
"%5d %13.4lE %13.4lE %13.4lE %13.4lE %13.4lE\n", "%5d%13.4lE%13.4lE%13.4lE%13.4lE%13.4lE\n",
(i + 1), (i + 1),
pu_vec[i], pu_vec[i],
wn_vec[i], wn_vec[i],
...@@ -737,7 +737,7 @@ void ScattererConfiguration::write_formatted(string file_name) { ...@@ -737,7 +737,7 @@ void ScattererConfiguration::write_formatted(string file_name) {
wl_vec[i] = two_pi / wn_vec[i]; wl_vec[i] = two_pi / wn_vec[i];
fprintf( fprintf(
output, output,
"%5d %13.4lE %13.4lE %13.4lE %13.4lE %13.4lE\n", "%5d%13.4lE%13.4lE%13.4lE%13.4lE%13.4lE\n",
(i + 1), (i + 1),
ev_vec[i], ev_vec[i],
wn_vec[i], wn_vec[i],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment