From: pascale.noyret Date: Tue, 29 May 2018 09:11:49 +0000 (+0200) Subject: cata python de fact imbriques X-Git-Tag: avantMenage~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=199af456bf699090050a9054f896d9ffcc75b847;p=tools%2Feficas.git cata python de fact imbriques --- diff --git a/Atmo/cata_test_fact.py b/Atmo/cata_test_fact.py new file mode 100755 index 00000000..42de4a7e --- /dev/null +++ b/Atmo/cata_test_fact.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2012-2013 EDF +# +# This file is part of SALOME HYDRO module. +# +# SALOME HYDRO module is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# SALOME HYDRO module is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with SALOME HYDRO module. If not, see . + +import types +from Accas import * + + + +JdC = JDC_CATA(code='Atmos',regles = (UN_PARMI('Wind',)), + ) + + +Wind = PROC( nom="Wind", op = None, + Niveau1SIMP = SIMP(statut = "o", typ = 'I'), + Niveau1Fact = FACT( statut='o', max=4, + Niveau2SIMP = SIMP(statut = "o", typ = 'I'), + Niveau2Fact = FACT( statut='o', max=4, + Niveau3SIMP = SIMP(statut = "o", typ = 'I'), + Niveau3Fact = FACT(statut = "o", + Niveau4SIMP = SIMP(statut = "o", typ = 'I'), + ), + ), + ), +) +