]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Do not use NETGEN as it's unavailable during 'make test'
authoreap <eap@opencascade.com>
Tue, 26 Nov 2013 10:11:52 +0000 (10:11 +0000)
committereap <eap@opencascade.com>
Tue, 26 Nov 2013 10:11:52 +0000 (10:11 +0000)
doc/salome/examples/defining_hypotheses_adaptive1d.py

index f53434a85ac0ee9c5e70a1b156ceae49466c7ffd..96e2fabfe1912ce45ff7bcdad8640cd474d92771 100644 (file)
@@ -25,6 +25,6 @@ deflection = 0.05
 
 mesh = smesh.Mesh( shape )
 mesh.Segment().Adaptive( minSize, maxSize, deflection )
-mesh.Triangle( smeshBuilder.NETGEN_2D )
+mesh.Triangle().MaxElementArea( 300 )
 mesh.Compute()