Salome HOME
projects
/
plugins
/
netgenplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672042c
)
Compute Progress bar
author
eap
<eap@opencascade.com>
Tue, 9 Jul 2013 12:01:11 +0000
(12:01 +0000)
committer
eap
<eap@opencascade.com>
Tue, 9 Jul 2013 12:01:11 +0000
(12:01 +0000)
- res = 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]
+ res = 0.001 + 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
patch
|
blob
|
history
diff --git
a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
index 6d06c6559d607d8a9e480865fb6197481b147e1e..c3fa281b91dcbe64a3a0c8388abcad7202a48633 100644
(file)
--- a/
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
+++ b/
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
@@
-595,7
+595,7
@@
double NETGENPlugin_NETGEN_3D::GetProgress() const
( strncmp( netgen::multithread.task, dlnMeshing, 3 ) == 0 ||
strncmp( netgen::multithread.task, volMeshing, 3 ) == 0 ))
{
- res = 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]
+ res = 0.
001 + 0.
5 * netgen::multithread.percent / 100.; // [0., 0.5]
}
else // different otimizations
{