From 199af456bf699090050a9054f896d9ffcc75b847 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Tue, 29 May 2018 11:11:49 +0200 Subject: [PATCH] cata python de fact imbriques --- Atmo/cata_test_fact.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 Atmo/cata_test_fact.py 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'), + ), + ), + ), +) + -- 2.39.2