Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GPIAG-Software
IFOS2D
Commits
43294679
Commit
43294679
authored
Jan 18, 2018
by
nikolaos.athanasopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug_fix
parent
108ea90a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/IFOS2D.c
src/IFOS2D.c
+4
-4
No files found.
src/IFOS2D.c
View file @
43294679
...
...
@@ -3108,9 +3108,9 @@ int main(int argc, char **argv){
if
(
wolfe_SLS_failed
)
{
if
(
TIME_FILT
==
0
){
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\n
"
,
0
.
0
,
iter
,
wolfe_sum_FWI
,
0
.
0
,
countstep
-
1
,
L2_SL_old
,
L2_SL_old
,
GAMMA
);}
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\n
"
,
0
.
0
,
iter
,
wolfe_sum_FWI
,
0
.
0
,
countstep
-
1
,
L2_SL_old
,
L2_SL_old
,
GAMMA
);}
else
{
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\t
%f
\n
"
,
0
.
0
,
iter
,
wolfe_sum_FWI
,
0
.
0
,
countstep
-
1
,
L2_SL_old
,
L2_SL_old
,
F_LOW_PASS
,
GAMMA
);
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\t
%f
\n
"
,
0
.
0
,
iter
,
wolfe_sum_FWI
,
0
.
0
,
countstep
-
1
,
L2_SL_old
,
L2_SL_old
,
F_LOW_PASS
,
GAMMA
);
}
if
(
WAVETYPE
==
3
&&
MYID
==
0
){
...
...
@@ -3153,9 +3153,9 @@ int main(int argc, char **argv){
float
diff
=
0
.
0
;
diff
=
fabs
((
L2_hist
[
iter
-
2
]
-
L2_hist
[
iter
])
/
L2_hist
[
iter
-
2
]);
if
(
TIME_FILT
==
0
){
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\n
"
,
alpha_SL
,
iter
,
wolfe_sum_FWI
,
diff
,
countstep
-
1
,
L2_SL_old
,
L2_SL_new
,
GAMMA
);}
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\n
"
,
alpha_SL
,
iter
,
wolfe_sum_FWI
,
diff
,
countstep
-
1
,
L2_SL_old
,
L2_SL_new
,
GAMMA
);}
else
{
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\t
%f
\n
"
,
alpha_SL
,
iter
,
wolfe_sum_FWI
,
diff
,
countstep
-
1
,
L2_SL_old
,
L2_SL_new
,
F_LOW_PASS
,
GAMMA
);
if
(
MYID
==
0
)
fprintf
(
FPL2
,
"%e
\t
%d
\t
%d
\t
%f
\t
0
\t
%d
\t
%e
\t
%e
\t
%f
\t
%f
\n
"
,
alpha_SL
,
iter
,
wolfe_sum_FWI
,
diff
,
countstep
-
1
,
L2_SL_old
,
L2_SL_new
,
F_LOW_PASS
,
GAMMA
);
}
if
(
WAVETYPE
==
3
&&
MYID
==
0
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment