Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
IFOS2D
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
GPIAG-Software
IFOS2D
Commits
5a6001d2
Commit
5a6001d2
authored
Jan 11, 2018
by
nikolaos.athanasopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding exponential taper to workflow
parent
37b934f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/apply_workflow.c
src/apply_workflow.c
+4
-1
No files found.
src/apply_workflow.c
View file @
5a6001d2
...
...
@@ -38,6 +38,7 @@ void apply_workflow(float ** workflow,int workflow_lines,char workflow_header[ST
extern
float
JOINT_INVERSION_PSV_SH_ALPHA_RHO
;
extern
int
EPRECOND
;
extern
float
EPSILON_WE
;
extern
float
GAMMA
;
extern
int
GRAD_METHOD
;
extern
int
WORKFLOW_STAGE
;
...
...
@@ -126,10 +127,12 @@ void apply_workflow(float ** workflow,int workflow_lines,char workflow_header[ST
if
(
EPRECOND
==
0
&&
workflow
[
WORKFLOW_STAGE
][
12
]
!=
0
){
if
(
MYID
==
0
)
printf
(
" WARNING: EPRECOND have to be set >0 in JSON (if so, ignore this message)"
);
}
EPRECOND
=
workflow
[
WORKFLOW_STAGE
][
12
];
EPSILON_WE
=
workflow
[
WORKFLOW_STAGE
][
13
];
GAMMA
=
workflow
[
WORKFLOW_STAGE
][
14
];
if
(
*
LBFGS_iter_start
==*
iter
&&
GRAD_METHOD
==
2
){
if
(
MYID
==
0
)
printf
(
"
\n
L-BFGS will be used from iteration %d on."
,
*
LBFGS_iter_start
+
1
);
}
}
\ No newline at end of file
}
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