]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
tests exemples ok
authorPaul RASCLE <paul.rascle@edf.fr>
Fri, 20 Nov 2015 15:42:42 +0000 (16:42 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Fri, 20 Nov 2015 15:42:42 +0000 (16:42 +0100)
doc/salome/examples/h008_simpleCase.py
doc/salome/examples/h009_normalCaseManual.py
doc/salome/examples/h010_normalCaseManualMesh.py
doc/salome/examples/h011_normalCaseManualInterpolZ.py

index c0536177241f1a200d61a896c0fcf1d83d25f69b..c36b818017bb736c495f12ed5934cf56388be2e2 100644 (file)
@@ -53,9 +53,10 @@ Case_1 = hydro_doc.CreateObject( KIND_CALCULATION )
 Case_1.SetName( "Case_1" )
 
 Case_1.SetAssignmentMode( HYDROData_CalculationCase.AUTOMATIC )
-Case_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC )
 Case_1.AddGeometryObject( Immersible_zone_1 )
 
+case_geom_group = Immersible_zone_1.GetGroup( 0 );
+Case_1.AddGeometryGroup( case_geom_group );
 Case_1.SetBoundaryPolyline( Polyline_1 )
 
 # Start the algorithm of the partition and assignment
index 4a79e74846e730c9fb864d41887e82cba336045c..b1d8dfa160d7f6cf17fcc106ccd93b49cd853c9c 100644 (file)
@@ -253,7 +253,6 @@ garonne_1 = hydro_doc.CreateObject( KIND_CALCULATION )
 garonne_1.SetName( "garonne_1" )
 
 garonne_1.SetAssignmentMode( HYDROData_CalculationCase.MANUAL )
-garonne_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC )
 garonne_1.AddGeometryObject( litMineur )
 garonne_1.AddGeometryObject( domaineEtendu )
 garonne_1.AddGeometryObject( litMajeur )
index 42ce8c920f7f2c76f41b22d0fedbc109d59c57b5..d37593ffef585cb0e74d2fd4c7d18e54e1eeb2c6 100644 (file)
@@ -253,7 +253,6 @@ garonne_1 = hydro_doc.CreateObject( KIND_CALCULATION )
 garonne_1.SetName( "garonne_1" )
 
 garonne_1.SetAssignmentMode( HYDROData_CalculationCase.MANUAL )
-garonne_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC )
 garonne_1.AddGeometryObject( litMineur )
 garonne_1.AddGeometryObject( domaineEtendu )
 garonne_1.AddGeometryObject( litMajeur )
index 26d613d0ce082822a23757335bf43c25d96efe92..cf9560070583e16643fb11285333b4eec3baf2ad 100644 (file)
@@ -253,7 +253,6 @@ garonne_1 = hydro_doc.CreateObject( KIND_CALCULATION )
 garonne_1.SetName( "garonne_1" )
 
 garonne_1.SetAssignmentMode( HYDROData_CalculationCase.MANUAL )
-garonne_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC )
 garonne_1.AddGeometryObject( litMineur )
 garonne_1.AddGeometryObject( domaineEtendu )
 garonne_1.AddGeometryObject( litMajeur )