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:
adc20e8
)
Correction of 'maxh' parameter computation during 20124 issue fixing.
author
akl
<akl@opencascade.com>
Mon, 19 Jan 2009 14:56:57 +0000
(14:56 +0000)
committer
akl
<akl@opencascade.com>
Mon, 19 Jan 2009 14:56:57 +0000
(14:56 +0000)
src/NETGENPlugin/NETGENPlugin_Mesher.cxx
patch
|
blob
|
history
diff --git
a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx
b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx
index f43f14705fe531a024b51cc32212a1a3f47bb3ca..0d86eca88a7ab894cf585edec4d71062312a5b19 100644
(file)
--- a/
src/NETGENPlugin/NETGENPlugin_Mesher.cxx
+++ b/
src/NETGENPlugin/NETGENPlugin_Mesher.cxx
@@
-631,7
+631,7
@@
bool NETGENPlugin_Mesher::Compute()
if ( simple3d ) {
if ( double vol = simple3d->GetMaxElementVolume() ) {
// max volume
- mparams.maxh = pow( 72
* vol *
vol, 1/3. );
+ mparams.maxh = pow( 72
, 1/6. ) * pow(
vol, 1/3. );
mparams.maxh = min( mparams.maxh, occgeo.boundingbox.Diam()/2 );
}
else {