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
ac564950
Commit
ac564950
authored
Dec 10, 2015
by
laura.gassner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUGFIX: mistake in read_par_json concerning option VELOCITY
parent
96f22a36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
par/in_and_out/DENISE_INV_all_parameters.json
par/in_and_out/DENISE_INV_all_parameters.json
+2
-1
src/read_par_json.c
src/read_par_json.c
+1
-1
No files found.
par/in_and_out/DENISE_INV_all_parameters.json
View file @
ac564950
...
...
@@ -176,7 +176,8 @@
"FC_INCR"
:
"10.0"
,
"ORDER"
:
"2"
,
"ZERO_PHASE"
:
"0"
,
"FREQ_FILE"
:
"frequencies.dat"
,
"FREQ_FILE"
:
"frequencies.dat"
,
"WRITE_FILTERED_DATA"
:
"0"
,
"Minimum number of iteration per frequency"
:
"comment"
,
"MIN_ITER"
:
"0"
,
...
...
src/read_par_json.c
View file @
ac564950
...
...
@@ -479,7 +479,7 @@ void read_par_json(FILE *fp, char *fileinp){
VELOCITY
=
0
;
fprintf
(
fp
,
"Variable VELOCITY is set to default value %d.
\n
"
,
VELOCITY
);
}
else
if
(
ACOUSTIC
)
if
(
ACOUSTIC
&&
VELOCITY
==
1
)
err
(
"For acoustic inversion option VELOCITY not available"
);
if
(
get_int_from_objectlist
(
"USE_WORKFLOW"
,
number_readobjects
,
&
USE_WORKFLOW
,
varname_list
,
value_list
)){
...
...
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