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 f53434a..96e2fab 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()