mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
oubli de commit
This commit is contained in:
parent
dc7608eb1f
commit
24792d78f6
@ -7,7 +7,7 @@ from blocFissure.gmu import initLog
|
||||
initLog.setVerbose()
|
||||
|
||||
from blocFissure.gmu import geomsmesh
|
||||
from blocFissure.casStandard import casStandard
|
||||
from blocFissure.gmu.casStandard import casStandard
|
||||
|
||||
problemes = []
|
||||
|
||||
@ -111,12 +111,25 @@ cas=24
|
||||
from blocFissure.CasTests.vis_1 import vis_1
|
||||
problemes.append(vis_1(cas))
|
||||
|
||||
cas=25
|
||||
from blocFissure.CasTests import cubeCoin
|
||||
problemes.append(casStandard(cubeCoin.dicoParams, cubeCoin.referencesMaillageFissure, cas))
|
||||
|
||||
cas=26
|
||||
from blocFissure.CasTests import cubeMilieu
|
||||
problemes.append(casStandard(cubeMilieu.dicoParams, cubeMilieu.referencesMaillageFissure, cas))
|
||||
|
||||
cas=27
|
||||
from blocFissure.CasTests import cubeTransverse
|
||||
problemes.append(casStandard(cubeTransverse.dicoParams, cubeTransverse.referencesMaillageFissure, cas))
|
||||
|
||||
|
||||
# ---tous les cas en sequence, ou les cas selectionnés ...
|
||||
runall = True
|
||||
runall = False
|
||||
if runall:
|
||||
torun = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,]
|
||||
else: #prob 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24
|
||||
torun = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]
|
||||
torun = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,]
|
||||
else: #prob 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
|
||||
torun = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1,]
|
||||
|
||||
for i in range(len(problemes)):
|
||||
if torun[i]:
|
||||
|
@ -6,7 +6,7 @@ from blocFissure.gmu import initLog
|
||||
initLog.setDebug()
|
||||
#initLog.setVerbose()
|
||||
|
||||
from blocFissure.casStandard import casStandard
|
||||
from blocFissure.gmu.casStandard import casStandard
|
||||
|
||||
dicoParams = dict(nomCas = 'angleCube',
|
||||
maillageSain = os.path.join(gmu.pathBloc, 'materielCasTests/CubeAngle.med'),
|
||||
|
@ -74,7 +74,7 @@ from blocFissure.gmu import initLog
|
||||
#initLog.setDebug()
|
||||
initLog.setVerbose()
|
||||
|
||||
from blocFissure.casStandard import casStandard
|
||||
from blocFissure.gmu.casStandard import casStandard
|
||||
|
||||
dicoParams = dict(nomCas = 'angleCube2',
|
||||
maillageSain = 'boite.med',
|
||||
|
@ -1179,7 +1179,7 @@ def insereFissureGenerale(maillagesSains,
|
||||
aretesVivesC = geompy.MakeCompound(aretesVivesCoupees)
|
||||
meshAretesVives = smesh.Mesh(aretesVivesC)
|
||||
algo1d = meshAretesVives.Segment()
|
||||
hypo1d = algo1d.LocalLength(dmoyen/3.0,[],1e-07)
|
||||
hypo1d = algo1d.LocalLength(dmoyen,[],1e-07)
|
||||
putName(algo1d.GetSubMesh(), "aretesVives")
|
||||
putName(algo1d, "algo1d_aretesVives")
|
||||
putName(hypo1d, "hypo1d_aretesVives")
|
||||
|
@ -11,9 +11,9 @@ initLog.setVerbose()
|
||||
|
||||
from blocFissure.casStandard import casStandard
|
||||
|
||||
dicoParams = dict(nomCas = 'casTestCoinTripleOlivier',
|
||||
maillageSain = '/local00/home/I48174/Documents/tubulure_simple/blocFissure/materielCoinSymetrie/cubeTestCoinTriple.med',
|
||||
brepFaceFissure = "/local00/home/I48174/Documents/tubulure_simple/blocFissure/materielCoinSymetrie/fissureTestCoinTriple.brep",
|
||||
dicoParams = dict(nomCas = 'casTestCoinTriple',
|
||||
maillageSain = '/local00/home/B27118/projets/blocFissure/blocFissure/materielCoinSymetrie/cubeTestCoinTriple.med',
|
||||
brepFaceFissure = "/local00/home/B27118/projets/blocFissure/blocFissure/materielCoinSymetrie/fissureTestCoinTriple.brep",
|
||||
edgeFissIds = [4],
|
||||
lgInfluence = 50,
|
||||
meshBrep = (5,10),
|
||||
@ -21,7 +21,7 @@ dicoParams = dict(nomCas = 'casTestCoinTripleOlivier',
|
||||
lenSegPipe = 7,
|
||||
nbSegRad = 5,
|
||||
nbSegCercle = 10,
|
||||
areteFaceFissure = 10)
|
||||
areteFaceFissure = 20)
|
||||
|
||||
execInstance = casStandard(dicoParams)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
import salome
|
||||
@ -11,9 +11,9 @@ initLog.setVerbose()
|
||||
|
||||
from blocFissure.casStandard import casStandard
|
||||
|
||||
dicoParams = dict(nomCas = 'casTestCoinTriple',
|
||||
maillageSain = '/local00/home/I48174/Documents/tubulure_simple/blocFissure/materielCoinSymetrie/cubeTestCoinTriple.med',
|
||||
brepFaceFissure = "/local00/home/I48174/Documents/tubulure_simple/blocFissure/materielCoinSymetrie/fissureMilieuTestCoinTriple.brep",
|
||||
dicoParams = dict(nomCas = 'casTestCoinTripleMilieu',
|
||||
maillageSain = '/local00/home/B27118/projets/blocFissure/blocFissure/materielCoinSymetrie/cubeTestCoinTriple.med',
|
||||
brepFaceFissure = "/local00/home/B27118/projets/blocFissure/blocFissure/materielCoinSymetrie/fissureMilieuTestCoinTriple.brep",
|
||||
edgeFissIds = [4],
|
||||
lgInfluence = 50,
|
||||
meshBrep = (5,10),
|
||||
|
@ -1,4 +1,4 @@
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
import salome
|
||||
@ -12,8 +12,8 @@ initLog.setVerbose()
|
||||
from blocFissure.casStandard import casStandard
|
||||
|
||||
dicoParams = dict(nomCas = 'casTestCoinTriple',
|
||||
maillageSain = '/local00/home/I48174/Documents/tubulure_simple/blocFissure/materielCoinSymetrie/cubeTestCoinTriple.med',
|
||||
brepFaceFissure = "/local00/home/I48174/Documents/tubulure_simple/blocFissure/materielCoinSymetrie/fissureTransverseTestCoinTriple.brep",
|
||||
maillageSain = '/local00/home/B27118/projets/blocFissure/blocFissure/materielCoinSymetrie/cubeTestCoinTriple.med',
|
||||
brepFaceFissure = "/local00/home/B27118/projets/blocFissure/blocFissure/materielCoinSymetrie/fissureTransverseTestCoinTriple.brep",
|
||||
edgeFissIds = [6],
|
||||
lgInfluence = 50,
|
||||
meshBrep = (5,10),
|
||||
|
Loading…
Reference in New Issue
Block a user