Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
39ae44db
Commit
39ae44db
authored
Mar 29, 2018
by
igor
Browse files
Correct print_tag initialization and fcbiilu2 parameters setting
parent
b136820a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/Data/tag.cpp
View file @
39ae44db
...
...
@@ -202,6 +202,7 @@ namespace INMOST
sparse
[
i
]
=
false
;
}
tagname
=
""
;
print_tag
=
true
;
}
Tag
::
Tag
(
Mesh
*
m
,
std
::
string
name
,
DataType
_dtype
,
INMOST_DATA_ENUM_TYPE
size
)
...
...
Source/Solver/solver_fcbiilu2/SolverFCBIILU2.cpp
View file @
39ae44db
...
...
@@ -175,10 +175,10 @@ namespace INMOST {
void
SolverFCBIILU2
::
SetParameter
(
std
::
string
name
,
std
::
string
value
)
{
const
char
*
val
=
value
.
c_str
();
if
(
name
==
"kovl"
||
name
==
"schwartz_overlap"
)
solver_data
->
kovl
=
atoi
(
val
);
else
if
(
name
==
"tau"
||
name
==
"drop_tolerance"
)
solver_data
->
tau
=
atof
(
val
);
else
if
(
name
==
"eps"
||
name
==
"absolute_tolerance"
)
solver_data
->
eps
=
atof
(
val
);
else
if
(
name
==
"nit"
||
name
==
"maximum_iterations"
)
solver_data
->
nit
=
atoi
(
val
);
if
(
name
==
"kovl"
/*
|| name == "schwartz_overlap"
*/
)
solver_data
->
kovl
=
atoi
(
val
);
else
if
(
name
==
"tau"
/*
|| name == "drop_tolerance"
*/
)
solver_data
->
tau
=
atof
(
val
);
else
if
(
name
==
"eps"
/*
|| name == "absolute_tolerance"
*/
)
solver_data
->
eps
=
atof
(
val
);
else
if
(
name
==
"nit"
/*
|| name == "maximum_iterations"
*/
)
solver_data
->
nit
=
atoi
(
val
);
else
if
(
name
==
"msglev"
)
solver_data
->
msglev
=
atoi
(
val
);
#if !defined(SILENCE_SET_PARAMETER)
else
std
::
cout
<<
"Parameter "
<<
name
<<
" is unknown"
<<
std
::
endl
;
...
...
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