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
46904175
Commit
46904175
authored
Apr 13, 2018
by
Kirill Terekhov
Browse files
remove output in inner preconditioners
parent
2af1da62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/Solver/solver_inner/solver_mlmptiluc/solver_mlmtiluc2.cpp
View file @
46904175
...
...
@@ -24,7 +24,7 @@ using namespace INMOST;
#define REORDER_RCM
//#define REORDER_NNZ
#if defined(USE_SOLVER_METIS)
#define REORDER_METIS_ND
//
#define REORDER_METIS_ND
#endif
#if defined(USE_SOLVER_MONDRIAAN)
//#define REORDER_MONDRIAAN
...
...
@@ -2960,7 +2960,7 @@ static bool allow_pivot = true;
#elif defined(REPORT_ILU_PROGRESS)
if
(
k
%
500
==
0
)
{
printf
(
"%lu %d/%d factor %6.2f%%
\t\t\r
"
,
static_cast
<
unsigned
long
>
(
level_size
.
size
()),
cend
,
moend
,
100.0
f
*
(
k
-
cbeg
)
/
(
float
)(
cend
-
cbeg
));
printf
(
"%lu %d/%d factor %6.2f%%
\t\t\r
"
,
static_cast
<
unsigned
long
>
(
level_size
.
size
()),
cend
,
moend
,
100.0
f
*
(
k
-
cbeg
+
1
)
/
(
float
)(
cend
-
cbeg
));
//printf("%6.2f%% nnz LU %8d condition L %10f D %10f U %10f\r", 100.0f*(k - cbeg) / (float)(cend - cbeg), nzLU, NuL, NuD, NuU);
fflush
(
stdout
);
}
...
...
@@ -3487,8 +3487,8 @@ static bool allow_pivot = true;
Li
=
j
;
}
LineIndecesU
[
cbeg
]
=
UNDEF
;
#if defined(REPORT_ILU)
//
if (i % 100 == 0)
#if defined(REPORT_ILU)
|| defined(REPORT_ILU_PROGRESS)
if
(
i
%
100
==
0
)
{
printf
(
"LF %6.2f%% nnz %lu drops %d
\t\t\r
"
,
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
)),
LF_Entries
.
size
(),
ndrops_lf
);
fflush
(
stdout
);
...
...
@@ -3728,8 +3728,8 @@ static bool allow_pivot = true;
Li
=
j
;
}
LineIndecesU
[
cbeg
]
=
UNDEF
;
#if defined(REPORT_ILU)
//
if (i % 100 == 0)
#if defined(REPORT_ILU)
|| defined(REPORT_ILU_PROGRESS)
if
(
i
%
100
==
0
)
{
printf
(
"EU %6.2f%% nnz %lu drops %d
\t\t\r
"
,
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
)),
EU_Entries
.
size
(),
ndrops_eu
);
fflush
(
stdout
);
...
...
@@ -3778,8 +3778,8 @@ static bool allow_pivot = true;
Ui
=
LineIndecesU
[
Ui
];
LineIndecesU
[
Li
]
=
UNDEF
;
}
#if defined(REPORT_ILU)
//
if (i % 100 == 0)
#if defined(REPORT_ILU)
|| defined(REPORT_ILU_PROGRESS)
if
(
i
%
100
==
0
)
{
printf
(
"Schur column norm %6.2f%%
\t\t\r
"
,
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
)));
fflush
(
stdout
);
...
...
@@ -3948,8 +3948,8 @@ static bool allow_pivot = true;
}
LineIndecesU[cbeg] = UNDEF;
*/
#if defined(REPORT_ILU)
//
if (i % 100 == 0)
#if defined(REPORT_ILU)
|| defined(REPORT_ILU_PROGRESS)
if
(
i
%
100
==
0
)
{
printf
(
"Schur %6.2f%% nnz %lu drop S %d
\t\t\r
"
,
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
)),
S_Entries
.
size
(),
ndrops_s
);
fflush
(
stdout
);
...
...
Source/Solver/solver_inner/solver_mptiluc/solver_mtiluc2.cpp
View file @
46904175
...
...
@@ -9,9 +9,9 @@
#include "../../../Misc/utils.h"
//#define REPORT_ILU
//#undef REPORT_ILU
#define REPORT_ILU_PROGRESS
#define REPORT_ILU_END
#define REPORT_ILU_SUMMARY
//
#define REPORT_ILU_PROGRESS
//
#define REPORT_ILU_END
//
#define REPORT_ILU_SUMMARY
//#undef REPORT_ILU_PROGRESS
//#define USE_OMP
...
...
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