]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
il: nouveau cata de Lille du 23 oct
authorilct <>
Mon, 29 Oct 2012 12:45:25 +0000 (12:45 +0000)
committerilct <>
Mon, 29 Oct 2012 12:45:25 +0000 (12:45 +0000)
Carmel3D/Carmel3D_Cata_V0.py

index 281f0fe2edd1aadb817a7c662a1cb275a54b05ce..711ce1f28b42fda9ea7f18532c6ef302541a44b1 100644 (file)
-# -*- coding: utf-8 -*-\r
-# --------------------------------------------------\r
-# Copyright (C) 2007-2012   EDF R&D\r
-#\r
-# This library is free software; you can redistribute it and/or\r
-# modify it under the terms of the GNU Lesser General Public\r
-# License as published by the Free Software Foundation; either\r
-# version 2.1 of the License.\r
-#\r
-# This library is distributed in the hope that it will be useful,\r
-# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-# Lesser General Public License for more details.\r
-#\r
-# You should have received a copy of the GNU Lesser General Public\r
-# License along with this library; if not, write to the Free Software\r
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
-#\r
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
-#\r
-# --------------------------------------------------\r
-\r
-import os\r
-import sys\r
-from Accas import *\r
-import types\r
-from decimal import Decimal\r
-# repertoire ou sont stockés le catalogue carmel3d \r
-# et les fichiers de donnees des materiaux de reference\r
-from prefs_CARMEL3D import repIni\r
-\r
-\r
-#print "catalogue carmel"\r
-#print "repIni = ", repIni\r
-\r
-# Version du catalogue\r
-VERSION_CATA = "2.3.1 for harmonic problems"\r
-# --------------------------------------------------\r
-# definition d une classe pour les materiaux\r
-# definition d une classe pour les sources\r
-# definition d une classe pour les groupes de mailles\r
-# --------------------------------------------------\r
-class material ( ASSD ) : pass\r
-class source   ( ASSD ) : pass\r
-class grmaille ( ASSD ) : pass\r
-\r
-#CONTEXT.debug = 1\r
-# --------------------------------------------------\r
-# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire \r
-#---------------------------------------------------\r
-\r
-JdC = JDC_CATA ( code = 'CARMEL3D',\r
-#                execmodul = None,\r
-                  regles =(\r
-                           AU_MOINS_UN ('MATERIAL'),\r
-                           AU_MOINS_UN ('SOURCE'),\r
-                           AU_MOINS_UN ('MESHGROUP'),\r
-                           ),\r
-                 ) # Fin JDC_CATA\r
-##=========================================================\r
-import opsCarmel\r
-INCLUDE = MACRO ( nom = "INCLUDE",\r
-                 op = None,\r
-                 UIinfo = { "groupes" : ( "Gestion du travail", ) },\r
-                 sd_prod = opsCarmel.INCLUDE,\r
-                 op_init = opsCarmel.INCLUDE_context,\r
-                 fichier_ini = 1,\r
\r
-   FileName = SIMP ( statut = "o",\r
-                    typ = ('Fichier', 'comm Files (*.comm);;All Files (*)',),\r
-                     fr = u"bibliothèque des matériaux",\r
-                    ang = "material library file",\r
-                     ),\r
-  \r
- ) # Fin PROC MODEL\r
-\r
-# --------------------------------------------------\r
-# definition de groupe de mailles\r
-# il est associe a un  materiau ou a une source\r
-#---------------------------------------------------\r
-\r
-MESHGROUP     = OPER (nom = "MESHGROUP",\r
-                    op = None,\r
-                repetable = 'n',\r
-                    UIinfo= {"groupes":("Definition",)},\r
-            fr= u"attribution d'un matériau ou d'une source à un groupe du maillage", \r
-            ang = "mesh group association to material or source", \r
-                    sd_prod= grmaille,\r
-                    regles =(\r
-                             EXCLUS ('MATERIAL','SOURCE'),\r
-                           ),\r
-\r
-# ----------------------------------------------------------\r
-# le mot cle SIMP doit etre facultatif sinon la recuperation \r
-# des groupes de mailles sous SALOME ne fonctionne pas car \r
-# le concept ne peut pas etre nomme car non valide\r
-#-----------------------------------------------------------\r
-              MATERIAL =  SIMP (statut="f",\r
-                         typ=(material,),\r
-                                 ang="name of the linked material",\r
-                         fr =u"nom du matériau associé",\r
-                                ), \r
-              SOURCE =  SIMP (statut="f",\r
-                         typ=(source,),\r
-                                 ang="name of the linked source",\r
-                         fr =u"nom de la source associée",\r
-                                ), \r
-                      )\r
-\r
-\r
-#======================================================================\r
-# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs\r
-# \r
-#======================================================================\r
-# 1er bloc : bloc VERSION\r
-# ce bloc est volontairement cache dans l IHM \r
-#===================================================\r
-\r
-VERSION = PROC ( nom = "VERSION",\r
-                        op = None,\r
-                repetable = 'n',\r
-                        UIinfo= {"groupes":("CACHE",)},\r
-                        ang= "version block definition", \r
-\r
-#----------------------\r
-# Liste des parametres\r
-#----------------------\r
-        \r
-   NUM      = SIMP (statut="o",\r
-                    typ="I",\r
-            defaut=1, \r
-                    ang="version number of the physical model", \r
-                    into=( 1,),\r
-                   ),\r
-   FILETYPE = SIMP (statut="o",\r
-                    typ="TXM",\r
-            defaut="PHYS", \r
-                    ang="file type",\r
-                    into=( "PHYS",),\r
-                   ),\r
-\r
-) # Fin PROC VERSION\r
-\r
-#===================================================================\r
-# 2eme bloc : bloc MATERIALS\r
-#===================================================================\r
-# definition des matériaux utilisateurs \r
-# a partir des materiaux de reference ou de materiaux generiques\r
-#-------------------------------------------------------------------\r
-#\r
-MATERIAL = OPER (nom = "MATERIAL",\r
-                    op = None,\r
-                repetable = 'n',\r
-            ang= "material block definition", \r
-            fr= u"définition d'un matériau", \r
-                    sd_prod= material,\r
-\r
-#---------------------------------------------------------------------\r
-# liste des matériaux de reference fournis par THEMIS et  des\r
-# materiaux generiques (les materiaux generiques peuvent etre utilises \r
-# si aucun materiau de reference  ne convient) \r
-#---------------------------------------------------------------------\r
-            MAT_REF = SIMP(statut='o',\r
-                           typ='TXM',\r
-                       into=(\r
-#  matériaux génériques \r
-                                 "DIELECTRIC",\r
-                                 "CONDUCTOR",\r
-                                 "ZINSULATOR","ZSURFACIC",\r
-                                 "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC",\r
-#  type CONDUCTOR lineaire \r
-                                 "ACIER_Noir","ACIER_PE","ACIER_CIMBLOT",\r
-                         "ALU","BRONZE","CUIVRE",\r
-                         "FERRITE_Mn_Zn","FERRITE_Ni_Zn",\r
-                                 "INCONEL600",\r
-                                 "POTASSE",\r
-#  type CONDUCTOR non lineaire \r
-                                 "M6X2ISO1", \r
-#  type DIELECTRIC \r
-                                 "AIR","FERRITEB30",\r
-                                 "FEV470","FEV600","FEV800","FEV1000",\r
-                                 "E24","HA600",\r
-                                 "M600_65",\r
-#  type EM_ANISO \r
-                                 "M6X","M6X_lineaire","M6X_homog", \r
-                                ),\r
-                           ang = "reference  materials list",\r
-                           fr  = u"liste des matériaux de référence",\r
-                  ),\r
-\r
-##############################################################################\r
-# Remarque generale a tous les materiaux : \r
-# pour conserver l'affichage scientifique le nombre derriere l'exposant doit\r
-# etre strictement superieur au nombre de decimales \r
-#\r
-\r
-##--------------------------------------------------------------------\r
-# materiau generique diélectrique (préfixe NOCOND dans le maillage)\r
-#---------------------------------------------------------------------\r
-  DIELECTRIC_properties = BLOC(condition="MAT_REF=='DIELECTRIC'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-#\r
-#\r
-  PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  =u"propriétés du bloc PERMEABILITY",\r
-                \r
-                     HOMOGENEOUS = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is homogeneous or not",\r
-                                         fr  = u"le matériau est homogène ou non",\r
-                        ),\r
-                 ISOTROPIC   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is isotropic or not",\r
-                                         fr  = u"le matériau est isotrope ou non",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_COMPLEX",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL","NONLINEAR"),\r
-                                         ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",\r
-                                         fr  = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = u"saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.0,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = u"saisir une valeur réelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-                   NONLINEAR_ISOTROPIC_LAW_PROPERTIES = BLOC (condition="TYPE_LAW=='NONLINEAR' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "Relative linear permeability value, also used at first nonlinear iteration",\r
-                                         fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",\r
-                                ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="MARROCCO",\r
-                                 into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),\r
-                                         ang = "nature law",\r
-                                         fr  = u"nature de la loi",\r
-                        ),\r
-                      SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",\r
-                FILENAME = SIMP (statut="o", \r
-                         typ=("Fichier",'All Files (*)',),\r
-                         ang="data file name",\r
-                         fr =u"nom du fichier contenant les mesures expérimentales B(H)",\r
-                         ),\r
-                      ), # Fin BLOC SPLINE_PROPERTIES\r
-                      MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",\r
-               ALPHA    = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="alpha parameter",\r
-                        fr =u"paramètre alpha de la loi de Marrocco" ,\r
-                       ),\r
-               TAU      = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="tau parameter",\r
-                        fr =u"paramètre tau de la loi de Marrocco" ,\r
-                        ),\r
-               C        = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="c parameter",\r
-                        fr =u"paramètre c de la loi de Marrocco" ,\r
-                        ),\r
-               EPSILON  = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="epsilon parameter",\r
-                        fr =u"paramètre epsilon de la loi de Marrocco" ,\r
-                        ),\r
-                      ), # Fin BLOC MARROCCO_LAW_PROPERTIES\r
-                      SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",\r
-               BMAX     = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="intersection B",\r
-                        fr ="intersection B" ,\r
-                        ),\r
-               HSAT     = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="H value",\r
-                        fr ="valeur H" ,\r
-                        ),\r
-               BSAT     = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="B value",\r
-                        fr ="valeur B" ,\r
-                        ),\r
-               JOIN     = SIMP (statut="o", \r
-                        typ="TXM",\r
-                        defaut="SPLINE",\r
-                        into= ("SPLINE","PARABOLIC","LINEAR"),\r
-                        ang="type of join between laws",\r
-                        fr =u"type de raccord entre la loi choisie et la loi de saturation" ,\r
-                        ),\r
-                      ), # Fin BLOC SATURATION_LAW_PROPERTIES\r
-               APPLIEDTO = SIMP (statut="o",    \r
-                         typ="TXM",   \r
-                         into=("B(H)&H(B)","B(H)","H(B)"),\r
-                         defaut="B(H)&H(B)",\r
-                         ang="join applied to",\r
-                         fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",\r
-                        ),\r
-\r
-                      ), # Fin BLOC NONLINEAR_LAW_PROPERTIES\r
-             ), # fin FACT PERMEABILITY\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is homogeneous or not",\r
-                                         fr  = u"le matériau est homogène ou non",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is isotropic or not",\r
-                                         fr  = u"le matériau est isotrope ou non",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_COMPLEX",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
-   ), # fin BLOC DIELECTRIC\r
-\r
-\r
-##--------------------------------------------------------------------\r
-# materiau generique conducteur (type COND dans le maillage)\r
-#---------------------------------------------------------------------\r
-  CONDUCTOR_properties = BLOC(condition="MAT_REF=='CONDUCTOR'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-#\r
-#\r
-  PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  =u"propriétés du bloc PERMEABILITY",\r
-                \r
-                     HOMOGENEOUS = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is homogeneous or not",\r
-                                         fr  = u"le matériau est homogène ou non",\r
-                        ),\r
-                 ISOTROPIC   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is isotropic or not",\r
-                                         fr  = u"le matériau est isotrope ou non",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_COMPLEX",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL","NONLINEAR"),\r
-                                         ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",\r
-                                         fr  = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = u"saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.0,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = u"saisir une valeur réelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-                   NONLINEAR_ISOTROPIC_LAW_PROPERTIES = BLOC (condition="TYPE_LAW=='NONLINEAR' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "Relative linear permeability value, also used at first nonlinear iteration",\r
-                                         fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",\r
-                                ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="MARROCCO",\r
-                                 into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),\r
-                                         ang = "nature law",\r
-                                         fr  = u"nature de la loi",\r
-                        ),\r
-                      SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",\r
-                FILENAME = SIMP (statut="o", \r
-                         typ=("Fichier",'All Files (*)',),\r
-                         ang="data file name",\r
-                         fr =u"nom du fichier contenant les mesures expérimentales B(H)",\r
-                         ),\r
-                      ), # Fin BLOC SPLINE_PROPERTIES\r
-                      MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",\r
-               ALPHA    = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="alpha parameter",\r
-                        fr =u"paramètre alpha de la loi de Marrocco" ,\r
-                       ),\r
-               TAU      = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="tau parameter",\r
-                        fr =u"paramètre tau de la loi de Marrocco" ,\r
-                        ),\r
-               C        = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="c parameter",\r
-                        fr =u"paramètre c de la loi de Marrocco" ,\r
-                        ),\r
-               EPSILON  = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="epsilon parameter",\r
-                        fr =u"paramètre epsilon de la loi de Marrocco" ,\r
-                        ),\r
-                      ), # Fin BLOC MARROCCO_LAW_PROPERTIES\r
-                      SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",\r
-               BMAX     = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="intersection B",\r
-                        fr ="intersection B" ,\r
-                        ),\r
-               HSAT     = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="H value",\r
-                        fr ="valeur H" ,\r
-                        ),\r
-               BSAT     = SIMP (statut="o", \r
-                        typ="R",\r
-                        defaut=0,\r
-                        val_min=0,\r
-                        ang="B value",\r
-                        fr ="valeur B" ,\r
-                        ),\r
-               JOIN     = SIMP (statut="o", \r
-                        typ="TXM",\r
-                        defaut="SPLINE",\r
-                        into= ("SPLINE","PARABOLIC","LINEAR"),\r
-                        ang="type of join between laws",\r
-                        fr =u"type de raccord entre la loi choisie et la loi de saturation" ,\r
-                        ),\r
-                      ), # Fin BLOC SATURATION_LAW_PROPERTIES\r
-               APPLIEDTO = SIMP (statut="o",    \r
-                         typ="TXM",   \r
-                         into=("B(H)&H(B)","B(H)","H(B)"),\r
-                         defaut="B(H)&H(B)",\r
-                         ang="join applied to",\r
-                         fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",\r
-                        ),\r
-\r
-                      ), # Fin BLOC NONLINEAR_LAW_PROPERTIES\r
-             ), # fin FACT PERMEABILITY\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-  CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is homogeneous or not",\r
-                                         fr  = u"le matériau est homogène ou non",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE","FALSE"),\r
-                                         ang = "the material is isotropic or not",\r
-                                         fr  = u"le matériau est isotrope ou non",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX' and HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-   ), # fin BLOC CONDUCTOR\r
-\r
-\r
-###################################################################################################\r
-# ----------------------------------------\r
-# sous bloc niveau 1 : ZSURFACIC\r
-#i----------------------------------------\r
-# materiau generique de type ZSURFASIC \r
-#-----------------------------------------\r
-  ZSURFACIC_properties = BLOC(condition="MAT_REF=='ZSURFACIC'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-  CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.0,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-         \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.0,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-             ), # fin FACT PERMEABILITY\r
-\r
-   ), # fin bloc ZSURFACIC_properties\r
-\r
-###################################################################################################\r
-#---------------------------------------------\r
-# sous bloc niveau 1  \r
-#---------------------------------------\r
-# matériau generique de type ZINSULATOR \r
-#---------------------------------------\r
-  \r
-# aucun parametre a saisir pour ce materiau\r
-\r
-\r
-###################################################################################################\r
-#---------------------------------------------\r
-# sous bloc niveau 1     \r
-#---------------------------------------------\r
-# matériau generique de type NILMAT (fictif)  \r
-#---------------------------------------------\r
-  \r
-# aucun parametre a saisir pour ce materiau\r
-\r
-\r
-###################################################################################################\r
-#----------------------------------------------------------\r
-# sous bloc niveau 1 : EM_ISOTROPIC_FILES   \r
-#-------------------------------------------------\r
-# matériau isotropique non homogene generique\r
-#-------------------------------------------------\r
-   EM_ISOTROPIC_properties=BLOC(condition="MAT_REF=='EM_ISOTROPIC'", \r
-               \r
-           CONDUCTIVITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'MED Files (*.med)',),\r
-                                     ang="CONDUCTIVITY MED data file name",\r
-                                     fr = u"nom du fichier MED CONDUCTIVITY",\r
-                                    ),\r
-           PERMEABILITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'MED Files (*.med)',),\r
-                                     ang="PERMEABILITY MED data file name",\r
-                                     fr = u"nom du fichier MED PERMEABILITY",\r
-                                    ),\r
-   ), # fin bloc EM_ISOTROPIC_properties\r
-\r
-    \r
-#---------------------------------------------------\r
-# matériau  anisotropique non homogene generique \r
-#---------------------------------------------------\r
-   EM_ANISOTROPIC_properties=BLOC(condition="MAT_REF=='EM_ANISOTROPIC'",\r
-                 \r
-           PERMEABILITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                     ang="PERMEABILITY .mater data file name",\r
-                                     fr ="nom du fichier .mater PERMEABILITY",\r
-                                    ),\r
-           CONDUCTIVITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                     ang="CONDUCTIVITY .mater data file name",\r
-                                     fr ="nom du fichier .mater CONDUCTIVITY",\r
-                                    ),\r
-   ), # fin bloc EM_ANISOTROPIC_properties\r
-\r
-\r
-#------------------------------------------------------\r
-# sous bloc niveau 1 : CONDUCTOR\r
-#------------------------------------------------------\r
-#  materiau de reference type CONDUCTOR lineaire : ALU \r
-#------------------------------------------------------\r
-   ALU_properties = BLOC(condition="MAT_REF=='ALU'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('3.448E7'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.000000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor1\r
\r
-#--------------------------------------------------------\r
-# materiau de reference type CONDUCTOR  lineaire : BRONZE\r
-#--------------------------------------------------------\r
-   BRONZE_properties = BLOC(condition="MAT_REF=='BRONZE'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.00000E6'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=3.000000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor2\r
-\r
-#---------------------------------------------------\r
-# materiau de reference type CONDUCTOR  lineaire : INCONEL600\r
-#----------------------------------------------------\r
-  INCONEL600_properties = BLOC(condition="MAT_REF=='INCONEL600'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('9.7000E5'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.010000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor3\r
-\r
-#---------------------------------------------------------------------\r
-# materiau de reference de type CONDUCTOR  lineaire : FERRITE Mn Zn\r
-#---------------------------------------------------------------------\r
-  FERRITE_Mn_Zn_properties = BLOC(condition="MAT_REF=='FERRITE_Mn_Zn'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-  CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.0E1'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-\r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.25E3'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor4\r
-\r
-#------------------------------------------------------------------\r
-# materiau de reference de type CONDUCTOR lineaire : FERRITE Ni Zn\r
-#------------------------------------------------------------------\r
-  FERRITE_Ni_Zn_properties = BLOC(condition="MAT_REF=='FERRITE_Ni_Zn'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-  CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.0000E-6'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-\r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.50000E1'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor5\r
-\r
-#-------------------------------------------------------------\r
-# materiau de reference type CONDUCTOR lineaire : ACIER Noir\r
-#-------------------------------------------------------------\r
-   ACIER_Noir_properties = BLOC(condition="MAT_REF=='ACIER_Noir'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('6.00000E6'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-\r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.0E2'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor6\r
-\r
-\r
-#------------------------------------------------------------\r
-# materiau de reference type CONDUCTOR lineaire : ACIER PE\r
-#------------------------------------------------------------\r
-   ACIER_PE_properties = BLOC(condition="MAT_REF=='ACIER_PE'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.75000E6'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('7.0E1'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor7\r
-\r
-#---------------------------------------------------------------\r
-# materiau de reference type CONDUCTOR lineaire : ACIER CIMBLOT\r
-#---------------------------------------------------------------\r
-   ACIER_CIMBLOT_properties = BLOC(condition="MAT_REF=='ACIER_CIMBLOT'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('3.00000E6'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('5.00000E1'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor8\r
-\r
-#----------------------------------------------------------------\r
-# materiau de reference type CONDUCTOR lineaire : CUIVRE\r
-#----------------------------------------------------------------\r
-   CUIVRE_properties = BLOC(condition="MAT_REF=='CUIVRE'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('5.85E7'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-\r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.000000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor9\r
-\r
-#---------------------------------------------------------\r
-# materiau de reference type CONDUCTOR lineaire : POTASSE\r
-#---------------------------------------------------------\r
-   POTASSE_properties = BLOC(condition="MAT_REF=='POTASSE'",\r
-  \r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-     CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-\r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('7.143E1'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT CONDUCTIVITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.0E0'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMEABILITY\r
-\r
-             ), # fin BLOC conductor10\r
-\r
-#----------------------------------------------------------------\r
-# materiau de reference de type CONDUCTOR non lineaire : M6X2ISO1\r
-#----------------------------------------------------------------\r
-  M6X2ISO1_properties = BLOC(condition="MAT_REF=='M6X2ISO1'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/M6X2ISO1",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : CONDUCTIVITY\r
-#------------------------------------------------\r
-  CONDUCTIVITY = FACT ( statut="o", \r
-                        ang ="Conductivity properties",\r
-                        fr  ="proprietes du bloc CONDUCTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.724E6'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT CONDUCTIVITY\r
- ), # fin BLOC \r
-\r
-\r
-##-----------------------------------------------------\r
-# materiau de reference de type DIELECTRIC lineaire : AIR  \r
-#------------------------------------------------------\r
-  AIR_properties = BLOC(condition="MAT_REF=='AIR'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.000000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.000000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMITTIVITY\r
-\r
-            ), # fin BLOC DIELECTRIC\r
-#\r
-##-------------------------------------------------------------\r
-# materiau de reference de type DIELECTRIC lineaire : FERRITE B30  \r
-#--------------------------------------------------------------\r
-  FERRITEB30_properties = BLOC(condition="MAT_REF=='FERRITEB30'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=Decimal('1.10E3'),\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                  TYPE_LAW       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_COMPLEX","LINEAR_REAL"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-         \r
-                  val_complex    = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                         VALUE_COMPLEX = SIMP (statut="o",\r
-                                           typ="C", \r
-                                           defaut=('RI',1,0),\r
-                                                   ang = "enter a complex relative value",\r
-                                                   fr = "saisir une valeur complexe relative",\r
-                                          ),\r
-                                 ), # fin bloc \r
-\r
-                  val_real       = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                         VALUE_REAL    = SIMP (statut="o",\r
-                                           typ="R", \r
-                                           defaut=1.000000,\r
-                                                   ang = "enter a real relative value",\r
-                                                   fr = "saisir une valeur reelle relative",\r
-                                           ),\r
-                                 ), # fin bloc\r
-     \r
-             ), # fin FACT PERMITTIVITY\r
-\r
-            ), # fin BLOC DIELECTRIC\r
-#--------------------------------------------------------\r
-# materiau de reference de type DIELECTRIC non lineaire : E24  \r
-#--------------------------------------------------------\r
-  E24_properties = BLOC(condition="MAT_REF=='E24'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/E24",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
- ), # fin BLOC E24\r
-\r
-##------------------------------------------------------------\r
-# materiau de reference de type DIELECTRIC  non lineaire : FEV470 \r
-#-------------------------------------------------------------\r
-  FEV470_properties = BLOC(condition="MAT_REF=='FEV470'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/FEV470",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
- ), # fin BLOC FEV470\r
-\r
-##---------------------------------------------------------\r
-# materiau de reference de type DIELECTRIC : FEV600 \r
-#----------------------------------------------------------\r
-  FEV600_properties = BLOC(condition="MAT_REF=='FEV600'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/FEV600",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
- ), # fin BLOC FEV600\r
-\r
-##---------------------------------------------------------\r
-# materiau de reference de type DIELECTRIC : FEV800 \r
-#----------------------------------------------------------\r
-  FEV800_properties = BLOC(condition="MAT_REF=='FEV800'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/FEV800",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
- ), # fin BLOC FEV800\r
-\r
-##-----------------------------------------------\r
-# materiau de reference de type DIELECTRIC : FEV1000 \r
-#------------------------------------------------\r
-  FEV1000_properties = BLOC(condition="MAT_REF=='FEV1000'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/FEV1000",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
- ), # fin BLOC FEV1000\r
-\r
-##----------------------------------------------------------\r
-# materiau de reference de type DIELECTRIC : HA600 \r
-#-----------------------------------------------------------\r
-  HA600_properties = BLOC(condition="MAT_REF=='HA600'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/HA600",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
- ), # fin BLOC HA600 \r
-\r
-##-----------------------------------------------\r
-# materiau de reference de type DIELECTRIC : M600_65 \r
-#------------------------------------------------\r
-  M600_65_properties = BLOC(condition="MAT_REF=='M600_65'",\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMEABILITY\r
-#------------------------------------------------\r
-     PERMEABILITY = FACT ( statut="o", \r
-                        ang ="Permeability properties",\r
-                        fr  ="proprietes du bloc PERMEABILITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="NONLINEAR",\r
-                                 into = ("NONLINEAR"),\r
-                                         ang = "non linear law",\r
-                                         fr  = "loi non lineaire",\r
-                        ),\r
-                      NATURE     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="SPLINE",\r
-                                 into = ("SPLINE"),\r
-                                         ang = "nature law",\r
-                                         fr  = "nature de la loi",\r
-                        ),\r
-\r
-                  VALUE      = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-\r
-                      FILENAME = SIMP (statut="o", \r
-                                   typ=("Fichier",'All Files (*)',),\r
-                               defaut=str(repIni)+"/M600_65",\r
-                                   ang="data file name",\r
-                           fr ="nom du fichier",\r
-                          ),\r
-              APPLIEDTO = SIMP (statut="o", \r
-                                typ="TXM",   \r
-                                into=("B(H)&H(B)","B(H)","H(B)"),\r
-                        defaut="B(H)&H(B)",\r
-                        ang="spline applied to",\r
-                        fr ="spline appliquee a ",\r
-                       ),\r
-\r
-             ), # fin FACT PERMEABILITY\r
-\r
-#------------------------------------------------\r
-# sous bloc niveau 2 : PERMITTIVITY\r
-#------------------------------------------------\r
-  PERMITTIVITY = FACT ( statut="o", \r
-                        ang ="Permittivity properties",\r
-                        fr  ="proprietes du bloc PERMITTIVITY",\r
-                \r
-                 HOMOGENEOUS     = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is homogeneous",\r
-                                         fr  = "le materiau est homogene",\r
-                        ),\r
-             ISOTROPIC       = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="TRUE",\r
-                                 into = ("TRUE"),\r
-                                         ang = "the material is isotropic",\r
-                                         fr  = "le materiau est isotrope",\r
-                        ),\r
-\r
-                      TYPE_LAW   = SIMP (statut="o",\r
-                                 typ="TXM",\r
-                         defaut="LINEAR_REAL",\r
-                                 into = ("LINEAR_REAL","LINEAR_COMPLEX"),\r
-                                         ang = "linear law",\r
-                                         fr  = "loi lineaire",\r
-                        ),\r
-                 val_real = BLOC(condition="TYPE_LAW=='LINEAR_REAL'",\r
-                  VALUE_REAL = SIMP (statut="o",\r
-                                 typ="R", \r
-                                 defaut=Decimal('1.0E0'),\r
-                                         ang = "enter a real relative value",\r
-                                         fr = "saisir une valeur reelle relative",\r
-                                ),\r
-                    ), # fin bloc real\r
-\r
-                val_complex = BLOC(condition="TYPE_LAW=='LINEAR_COMPLEX'",\r
-                  VALUE_COMPLEX = SIMP (statut="o",\r
-                                 typ="C", \r
-                                 defaut=('RI',1,0),\r
-                                         ang = "enter a complex relative value",\r
-                                         fr = "saisir une valeur complexe relative",\r
-                                ),\r
-                    ), # fin bloc complex\r
-         \r
-             ), # fin FACT PERMITTIVITY\r
-\r
- ), # fin BLOC M600_65\r
-    \r
-###################################################################################################\r
-#----------------------------------------------------------\r
-# sous bloc niveau 1 : EM_ANISOTROPIC_FILES   \r
-##---------------------------------------------------------\r
-# materiau de reference anisotrope non homogene : M6X \r
-#----------------------------------------------------------\r
-   M6X_properties=BLOC(condition="MAT_REF=='M6X'",\r
-                 \r
-           PERMEABILITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                 defaut=str(repIni)+"/M6X_mu.mater",\r
-                                     ang="PERMEABILITY .mater data file name",\r
-                                     fr ="nom du fichier .mater PERMEABILITY",\r
-                                    ),\r
-           PERMITTIVITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                 defaut=str(repIni)+"/M6X_epsilon.mater",\r
-                                     ang="PERMITTIVITY .mater data file name",\r
-                                     fr ="nom du fichier .mater PERMITTIVITY",\r
-                                    ),\r
-          ), # fin bloc EM_ANISOTROPIC\r
-\r
-##--------------------------------------------------------------\r
-# materiau de reference anisotrope non homogene : M6X_lineaire \r
-#---------------------------------------------------------------\r
-   M6X_lineaire_properties=BLOC(condition="MAT_REF=='M6X_lineaire'",\r
-                 \r
-           PERMEABILITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                 defaut=str(repIni)+"/M6X_lineaire_mu.mater",\r
-                                     ang="PERMEABILITY .mater data file name",\r
-                                     fr ="nom du fichier .mater PERMEABILITY",\r
-                                    ),\r
-           CONDUCTIVITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                 defaut=str(repIni)+"/M6X_lineaire_sigma.mater",\r
-                                     ang="CONDUCTIVITY .mater data file name",\r
-                                     fr ="nom du fichier .mater CONDUCTIVITY",\r
-                                    ),\r
-          ), # fin bloc EM_ANISOTROPIC\r
-    \r
-##--------------------------------------------------------------\r
-# materiau de reference anisotrope non homogene : M6X_homog \r
-#---------------------------------------------------------------\r
-   M6X_homog_properties=BLOC(condition="MAT_REF=='M6X_homog'",\r
-                 \r
-           PERMEABILITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                 defaut=str(repIni)+"/M6X_homog_mu.mater",\r
-                                     ang="PERMEABILITY .mater data file name",\r
-                                     fr ="nom du fichier .mater PERMEABILITY",\r
-                                    ),\r
-           CONDUCTIVITY_File = SIMP (statut="o", \r
-                                     typ=("Fichier",'.mater Files (*.mater)',),\r
-                                 defaut=str(repIni)+"/M6X_homog_sigma.mater",\r
-                                     ang="CONDUCTIVITY .mater data file name",\r
-                                     fr ="nom du fichier .mater CONDUCTIVITY",\r
-                                    ),\r
-          ), # fin bloc M6X_homog_properties\r
-\r
-    ) # fin OPER Materials\r
-    \r
-#===================================================================\r
-# 3eme bloc : bloc SOURCES\r
-#====================================================================\r
-# definition des differentes sources qui seront dans le bloc SOURCES\r
-#-------------------------------------------------------------------\r
-#\r
-\r
-SOURCE = OPER ( nom = "SOURCE",\r
-                 op = None,\r
-         repetable = 'n',\r
-                 ang = "source definition", \r
-                 fr = u"définition d'une source", \r
-                 sd_prod= source,\r
-\r
-         TYPE_SOURCE = SIMP (statut="o",\r
-                         typ="TXM",\r
-                 into=("STRANDED_INDUCTOR","HPORT","EPORT"),\r
-                             fr=u"type de source",\r
-                             ang="type of source",\r
-              ),\r
-\r
-\r
-#----------------------------------------------------------\r
-# sous bloc niveau 1 : stranded inductor source \r
-##---------------------------------------------------------\r
-  st_ind_properties = BLOC(condition="TYPE_SOURCE=='STRANDED_INDUCTOR'",\r
-        \r
-         NTURNS   = SIMP (statut="o",\r
-                      typ="I",\r
-               defaut=1,\r
-                          ang="number of turns in the inductor",\r
-                          fr="nombre de tours dans l inducteur",\r
-               ),\r
-     CURJ     = SIMP (statut="o",\r
-                      typ="C", \r
-                      defaut=('MP',1,0),\r
-                          ang = "enter the current value (magnitude and polarization in degrees) as a complex number",\r
-                          fr = u"saisir la valeur du courant (amplitude et phase en degrés) sous la forme d'un nombre complexe",\r
-                      ),\r
-  ), # fin bloc stranded inductor\r
-                \r
-#----------------------------------------------------------\r
-# sous bloc niveau 1 : eport source \r
-#----------------------------------------------------------\r
-  eport_properties = BLOC(condition="TYPE_SOURCE=='EPORT'",\r
-        \r
-         TYPE     = SIMP (statut="o",\r
-                      typ="TXM",\r
-              into=("VOLTAGE","CURRENT"),\r
-                          fr="type de eport source",\r
-                          ang="type of eport source",\r
-              ),\r
-     AMP      = SIMP (statut="o",\r
-                      typ="C", \r
-                      defaut=('MP',1,0),\r
-                          ang = "enter the amplitude value (magnitude and polarization in degrees) as a complex number",\r
-                          fr = u"saisir la valeur de l'amplitude (amplitude et phase en degrés) sous la forme d'un nombre complexe",\r
-                      ),\r
-\r
-  ), # fin bloc eport\r
-\r
-#----------------------------------------------------------\r
-# sous bloc niveau 1 : hport source \r
-#----------------------------------------------------------\r
-  hport_properties = BLOC(condition="TYPE_SOURCE=='HPORT'",\r
-         TYPE     = SIMP (statut="o",\r
-                      typ="TXM",\r
-              into=("VOLTAGE","CURRENT"),\r
-                          fr="type de hport source",\r
-                          ang="type of hport source",\r
-              ),\r
-     AMP      = SIMP (statut="o",\r
-                      typ="C", \r
-                      defaut=('MP',1,0),\r
-                          ang = "enter the amplitude value (magnitude and polarization in degrees) as a complex number",\r
-                          fr = u"saisir la valeur de l'amplitude (amplitude et phase en degrés) sous la forme d'un nombre complexe",\r
-                      ),\r
-  ), # fin bloc hport\r
-) # Fin OPER SOURCE\r
-\r
+# -*- coding: utf-8 -*-
+# --------------------------------------------------
+# Copyright (C) 2007-2012   EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library 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
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+# --------------------------------------------------
+
+import os
+import sys
+from Accas import *
+import types
+from decimal import Decimal
+# repertoire ou sont stockés le catalogue carmel3d 
+# et les fichiers de donnees des materiaux de reference
+from prefs_CARMEL3D import repIni
+
+#print "catalogue carmel"
+#print "repIni = ", repIni
+
+# Version du catalogue
+VERSION_CATA = "2.3.1 for harmonic problems"
+# --------------------------------------------------
+# definition d une classe pour les materiaux
+# definition d une classe pour les sources
+# definition d une classe pour les groupes de mailles
+# --------------------------------------------------
+class material ( ASSD ) : pass
+class source   ( ASSD ) : pass
+class grmaille ( ASSD ) : pass
+
+#CONTEXT.debug = 1
+# --------------------------------------------------
+# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire 
+#---------------------------------------------------
+
+JdC = JDC_CATA ( code = 'CARMEL3D',
+#                execmodul = None,
+                  regles =(
+                           AU_MOINS_UN ('MATERIAL'),
+                           AU_MOINS_UN ('SOURCE'),
+                           AU_MOINS_UN ('MESHGROUP'),
+                           ),
+                 ) # Fin JDC_CATA
+##=========================================================
+
+# --------------------------------------------------
+# definition de groupe de mailles
+# il est associe a un  materiau ou a une source
+#---------------------------------------------------
+
+MESHGROUP     = OPER (nom = "MESHGROUP",
+                    op = None,
+                repetable = 'n',
+                    UIinfo= {"groupes":("Definition",)},
+            fr= u"attribution d'un matériau ou d'une source à un groupe du maillage", 
+            ang = "mesh group association to material or source", 
+                    sd_prod= grmaille,
+                    regles =(
+                             EXCLUS ('MATERIAL','SOURCE'),
+                           ),
+
+# ----------------------------------------------------------
+# le mot cle SIMP doit etre facultatif sinon la recuperation 
+# des groupes de mailles sous SALOME ne fonctionne pas car 
+# le concept ne peut pas etre nomme car non valide
+#-----------------------------------------------------------
+              MATERIAL =  SIMP (statut="f",
+                         typ=(material,),
+                                 ang="name of the linked material",
+                         fr =u"nom du matériau associé",
+                                ), 
+              SOURCE =  SIMP (statut="f",
+                         typ=(source,),
+                                 ang="name of the linked source",
+                         fr =u"nom de la source associée",
+                                ), 
+                      )
+
+
+#======================================================================
+# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs
+# 
+#======================================================================
+# 1er bloc : bloc VERSION
+# ce bloc est volontairement cache dans l IHM 
+#===================================================
+
+VERSION = PROC ( nom = "VERSION",
+                        op = None,
+                repetable = 'n',
+                        UIinfo= {"groupes":("CACHE",)},
+                        ang= "version block definition", 
+
+#----------------------
+# Liste des parametres
+#----------------------
+        
+   NUM      = SIMP (statut="o",
+                    typ="I",
+            defaut=1, 
+                    ang="version number of the physical model", 
+                    into=( 1,),
+                   ),
+   FILETYPE = SIMP (statut="o",
+                    typ="TXM",
+            defaut="PHYS", 
+                    ang="file type",
+                    into=( "PHYS",),
+                   ),
+
+) # Fin PROC VERSION
+
+#===================================================================
+# 2eme bloc : bloc MATERIALS
+#===================================================================
+# definition des matériaux utilisateurs 
+# a partir des materiaux de reference ou de materiaux generiques
+#-------------------------------------------------------------------
+#
+MATERIAL = OPER (nom = "MATERIAL",
+                 op = None,
+                 repetable = 'n',
+                 ang= "material block definition", 
+                 fr= u"définition d'un matériau", 
+                 sd_prod= material,
+                 regles=EXCLUS('PERMITTIVITY','CONDUCTIVITY'),
+
+#---------------------------------------------------------------------
+# liste des matériaux de reference fournis par THEMIS et  des
+# materiaux generiques (les materiaux generiques peuvent etre utilises 
+# si aucun materiau de reference  ne convient) 
+#---------------------------------------------------------------------
+                 TYPE = SIMP(statut='o',
+                             typ='TXM',
+                             into=(
+#  matériaux génériques 
+                                 "DIELECTRIC",
+                                 "CONDUCTOR",
+                                 "ZINSULATOR","ZSURFACIC",
+                                 "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC",
+                             ),
+                             ang = "generic materials list",
+                             fr  = u"liste des matériaux génériques",
+                            ),
+
+##############################################################################
+# Remarque generale a tous les materiaux : 
+# pour conserver l'affichage scientifique le nombre derriere l'exposant doit
+# etre strictement superieur au nombre de decimales 
+#
+
+##----------------------------------------------------------------------------------------------
+# Données de perméabilité, utilisée pour les diélectriques, conducteurs et impédances de surface
+#-----------------------------------------------------------------------------------------------
+  #HAS_PERMEABILITY = BLOC(condition="TYPE in ('DIELECTRIC','CONDUCTOR','ZSURFACIC')",
+
+#------------------------------------------------
+# sous bloc niveau 2 : PERMEABILITY
+#------------------------------------------------
+#
+  PERMEABILITY = FACT ( statut="f", 
+                        ang ="Permeability properties",
+                        fr  =u"propriétés de perméabilité du matériau",
+                        HOMOGENEOUS = SIMP (statut="o",
+                                            typ="TXM",
+                                            defaut="TRUE",
+                                            into = ("TRUE","FALSE"),
+                                            ang = "the material is homogeneous or not",
+                                            fr  = u"le matériau est homogène ou non",
+                                           ),
+                        ISOTROPIC = SIMP (statut="o",
+                                          typ="TXM",
+                                          defaut="TRUE",
+                                          into = ("TRUE","FALSE"),
+                                          ang = "the material is isotropic or not",
+                                          fr  = u"le matériau est isotrope ou non",
+                                         ),
+                   HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",
+                        LAW = SIMP (statut="o",
+                                    typ="TXM",
+                                    defaut="LINEAR",
+                                    into = ("LINEAR","NONLINEAR"),
+                                    ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials",
+                                    fr  = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)",
+                                   ), 
+                        VALUE = SIMP (statut="o",
+                                      typ="C", 
+                                      defaut=('RI',1,0),
+                                      ang = "Relative linear permeability value, also used at first nonlinear iteration",
+                                      fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire",
+                                     ),
+                    NONLINEAR_LAW_PROPERTIES = BLOC (condition="LAW=='NONLINEAR'",
+                        NATURE = SIMP (statut="o",
+                                       typ="TXM",
+                                       defaut="MARROCCO",
+                                       into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"),
+                                       ang = "nature law",
+                                       fr  = u"nature de la loi",
+                                      ),
+                     SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'",
+                        FILENAME = SIMP (statut="o", 
+                                         typ=("FichierNoAbs",'All Files (*)',), # l'existence du fichier n'est pas vérifiée
+                                         ang="data file name",
+                                         fr =u"nom du fichier contenant les mesures expérimentales B(H)",
+                                        ),
+                     ), # Fin BLOC SPLINE_PROPERTIES
+                     MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')",
+                        ALPHA = SIMP (statut="o", 
+                                      typ="R",
+                                      defaut=0,
+                                      val_min=0,
+                                      ang="alpha parameter",
+                                      fr =u"paramètre alpha de la loi de Marrocco" ,
+                                     ),
+                        TAU = SIMP (statut="o", 
+                                    typ="R",
+                                    defaut=0,
+                                    val_min=0,
+                                    ang="tau parameter",
+                                    fr =u"paramètre tau de la loi de Marrocco" ,
+                                   ),
+                        C = SIMP (statut="o", 
+                                  typ="R",
+                                  defaut=0,
+                                  val_min=0,
+                                  ang="c parameter",
+                                  fr =u"paramètre c de la loi de Marrocco" ,
+                                 ),
+                        EPSILON = SIMP (statut="o", 
+                                        typ="R",
+                                        defaut=0,
+                                        val_min=0,
+                                        ang="epsilon parameter",
+                                        fr =u"paramètre epsilon de la loi de Marrocco" ,
+                                       ),
+                     ), # Fin BLOC MARROCCO_LAW_PROPERTIES
+                     SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'",
+                        BMAX = SIMP (statut="o", 
+                                     typ="R",
+                                     defaut=0,
+                                     val_min=0,
+                                     ang="intersection B",
+                                     fr = u"valeur de B marquant la fin de la loi de Marrocco et le début du raccord à la loi de saturation",
+                                    ),
+                        HSAT = SIMP (statut="o", 
+                                     typ="R",
+                                     defaut=0,
+                                     val_min=0,
+                                     ang="H value",
+                                     fr = u"valeur de H définissant la loi de saturation",
+                                    ),
+                        BSAT = SIMP (statut="o", 
+                                     typ="R",
+                                     defaut=0,
+                                     val_min=0,
+                                     ang="B value",
+                                     fr = u"valeur de B définissant la loi de saturation",
+                                    ),
+                        JOIN = SIMP (statut="o", 
+                                     typ="TXM",
+                                     defaut="SPLINE",
+                                     into= ("SPLINE","PARABOLIC","LINEAR"),
+                                     ang="type of join between laws",
+                                     fr =u"type de raccord entre la loi choisie et la loi de saturation" ,
+                                    ),
+                     ), # Fin BLOC SATURATION_LAW_PROPERTIES
+                        APPLIEDTO = SIMP (statut="o",    
+                                          typ="TXM",   
+                                          into=("B(H)&H(B)","B(H)","H(B)"),
+                                          defaut="B(H)&H(B)",
+                                          ang="join applied to",
+                                          fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.",
+                                         ),
+                    ), # Fin BLOC NONLINEAR_LAW_PROPERTIES
+                   ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES
+             ), # fin FACT PERMEABILITY
+   #), # Fin BLOC HAS_PERMEABILITY
+
+##------------------------------------------------------------------
+# Données de permittivité, utilisée pour les diélectriques seulement
+#-------------------------------------------------------------------
+  #HAS_PERMITTIVITY = BLOC(condition="TYPE == 'DIELECTRIC'",
+
+#------------------------------------------------
+# sous bloc niveau 2 : PERMITTIVITY
+#------------------------------------------------
+  PERMITTIVITY = FACT ( statut="f", 
+                        ang ="Permittivity properties",
+                        fr  = u"propriétés de permittivité du matériau",
+                        HOMOGENEOUS = SIMP (statut="o",
+                                            typ="TXM",
+                                            defaut="TRUE",
+                                            into = ("TRUE","FALSE"),
+                                            ang = "the material is homogeneous or not",
+                                            fr  = u"le matériau est homogène ou non",
+                                           ),
+                        ISOTROPIC = SIMP (statut="o",
+                                          typ="TXM",
+                                          defaut="TRUE",
+                                          into = ("TRUE","FALSE"),
+                                          ang = "the material is isotropic or not",
+                                          fr  = u"le matériau est isotrope ou non",
+                                         ),
+                       HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",
+                        LAW = SIMP (statut="o",
+                                    typ="TXM",
+                                    defaut="LINEAR",
+                                    into = ("LINEAR",),
+                                    ang = "linear law",
+                                    fr  = u"loi linéaire",
+                                   ),
+                        VALUE = SIMP (statut="o",
+                                      typ="C", 
+                                      defaut=('RI',1,0),
+                                      ang = "enter a complex relative value",
+                                      fr = u"saisir une valeur complexe relative",
+                                     ),
+                       ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES
+                      ), # fin FACT PERMITTIVITY
+
+   #), # Fin BLOC HAS_PERMITTIVITY
+
+##----------------------------------------------------------------------------------------------
+# Données de conductivité, utilisée pour les conducteurs et impédances de surface
+#-----------------------------------------------------------------------------------------------
+  #HAS_CONDUCTIVITY = BLOC(condition="TYPE in ('CONDUCTOR','ZSURFACIC')",
+#------------------------------------------------
+# sous bloc niveau 2 : CONDUCTIVITY
+#------------------------------------------------
+  CONDUCTIVITY = FACT ( statut="f", 
+                        ang ="Permittivity properties",
+                        fr  = u"propriétés de permittivité du matériau",
+                        HOMOGENEOUS = SIMP (statut="o",
+                                            typ="TXM",
+                                            defaut="TRUE",
+                                            into = ("TRUE","FALSE"),
+                                            ang = "the material is homogeneous or not",
+                                            fr  = u"le matériau est homogène ou non",
+                                           ),
+                        ISOTROPIC = SIMP (statut="o",
+                                          typ="TXM",
+                                          defaut="TRUE",
+                                          into = ("TRUE","FALSE"),
+                                          ang = "the material is isotropic or not",
+                                          fr  = u"le matériau est isotrope ou non",
+                                         ),
+                       HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'",
+                        LAW = SIMP (statut="o",
+                                    typ="TXM",
+                                    defaut="LINEAR",
+                                    into = ("LINEAR",),
+                                    ang = "linear law",
+                                    fr  = u"loi linéaire",
+                                   ),
+                        VALUE = SIMP (statut="o",
+                                      typ="C", 
+                                      defaut=('RI',1,0),
+                                      ang = "enter a complex relative value",
+                                      fr = u"saisir une valeur complexe relative",
+                                     ),
+                       ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES
+                      ), # fin FACT CONDUCTIVITY
+
+   #), # Fin BLOC HAS_CONDUCTICITY
+
+###################################################################################################
+#---------------------------------------------
+# sous bloc niveau 1  
+#---------------------------------------
+# matériau generique de type ZINSULATOR 
+#---------------------------------------
+  
+# aucun parametre a saisir pour ce materiau
+
+
+###################################################################################################
+#---------------------------------------------
+# sous bloc niveau 1     
+#---------------------------------------------
+# matériau generique de type NILMAT (fictif)  
+#---------------------------------------------
+  
+# aucun parametre a saisir pour ce materiau
+
+
+###################################################################################################
+#----------------------------------------------------------
+# sous bloc niveau 1 : EM_ISOTROPIC_FILES   
+#-------------------------------------------------
+# matériau isotropique non homogene generique
+#-------------------------------------------------
+   EM_ISOTROPIC_properties=BLOC(condition="TYPE=='EM_ISOTROPIC'", 
+               
+           CONDUCTIVITY_File = SIMP (statut="o", 
+                                     typ=("FichierNoAbs",'MED Files (*.med)',),
+                                     ang="CONDUCTIVITY MED data file name",
+                                     fr = u"nom du fichier MED CONDUCTIVITY",
+                                    ),
+           PERMEABILITY_File = SIMP (statut="o", 
+                                     typ=("FichierNoAbs",'MED Files (*.med)',),
+                                     ang="PERMEABILITY MED data file name",
+                                     fr = u"nom du fichier MED PERMEABILITY",
+                                    ),
+   ), # fin bloc EM_ISOTROPIC_properties
+
+    
+#---------------------------------------------------
+# matériau  anisotropique non homogene generique 
+#---------------------------------------------------
+   EM_ANISOTROPIC_properties=BLOC(condition="TYPE=='EM_ANISOTROPIC'",
+                 
+           PERMEABILITY_File = SIMP (statut="o", 
+                                     #typ=("Fichier",'.mater Files (*.mater)'), # le fichier doit exister dans le répertoire d'où on lancer Eficas si le fichier est défini par un nom relatif, ce qui est trop contraignant
+                                     #typ=("Fichier",'.mater Files (*.mater)','Sauvegarde'), # Le fichier peut ne pas exister, mais on propose de le sauvegarder et d'écraser un fichier existant : pas approprié
+                                     typ=("FichierNoAbs",'.mater Files (*.mater)'), # l'existence du fichier n'est pas vérifiée, mais on peut le sélectionner quand même via la navigateur. C'est suffisant et permet une bibliothèque de matériaux.
+                                     ang="PERMEABILITY .mater data file name",
+                                     fr ="nom du fichier .mater PERMEABILITY",
+                                    ),
+           CONDUCTIVITY_File = SIMP (statut="o", 
+                                     typ=("FichierNoAbs",'.mater Files (*.mater)'),
+                                     ang="CONDUCTIVITY .mater data file name",
+                                     fr ="nom du fichier .mater CONDUCTIVITY",
+                                    ),
+   ), # fin bloc EM_ANISOTROPIC_properties
+
+
+) # fin OPER MATERIAL
+    
+#===================================================================
+# 3eme bloc : bloc SOURCES
+#====================================================================
+# definition des differentes sources qui seront dans le bloc SOURCES
+#-------------------------------------------------------------------
+#
+
+SOURCE = OPER ( nom = "SOURCE",
+                op = None,
+                repetable = 'n',
+                ang = "source definition", 
+                fr = u"définition d'une source", 
+                sd_prod = source,
+                regles = (UN_PARMI('STRANDED_INDUCTOR','HPORT','EPORT'), # choix d'un type de source
+                          UN_PARMI('WAVEFORM_CONSTANT','WAVEFORM_SINUS'), # choix d'une forme de source
+                         ),
+
+#----------------------------------------------------------
+# sous bloc niveau 1 : stranded inductor source 
+##---------------------------------------------------------
+                STRANDED_INDUCTOR = FACT(statut='f',
+                                         ang="Stranded inductor source",
+                                         fr=u"source de type inducteur bobiné",
+                                         NTURNS = SIMP (statut="o",
+                                                        typ="I",
+                                                        defaut=1,
+                                                        ang="number of turns in the inductor",
+                                                        fr= u"nombre de tours dans l'inducteur bobiné",
+                                                       ),
+                                         TYPE = SIMP (statut="o",
+                                                      typ="TXM",
+                                                      defaut="CURRENT",
+                                                      into=("CURRENT",),
+                                                      fr= u"source de type courant",
+                                                      ang="current source type",
+                                                     ),
+                ), # FIN de FACT STRANDED_INDUCTOR
+                HPORT = FACT(statut='f',
+                             ang="Magnetic port source",
+                             fr=u"source de type port magnétique",
+                             TYPE = SIMP (statut="o",
+                                          typ="TXM",
+                                          into=("VOLTAGE","CURRENT"),
+                                          fr= u"source de type tension ou courant",
+                                          ang="voltage or current source type",
+                                         ),
+                ), # FIN de FACT HPORT
+                EPORT = FACT(statut='f',
+                             ang="Electric port source",
+                             fr=u"source de type port électrique",
+                             TYPE = SIMP (statut="o",
+                                          typ="TXM",
+                                          into=("VOLTAGE","CURRENT"),
+                                          fr= u"source de type tension ou courant",
+                                          ang="voltage or current source type",
+                                         ),
+                ), # FIN de FACT EPORT
+                WAVEFORM_CONSTANT = FACT(statut='f',
+                                         ang="constant source",
+                                         fr=u"source constante",
+                                         AMPLITUDE = SIMP (statut="o",
+                                                           typ="R", 
+                                                           defaut=1,
+                                                           ang = "enter the source magnitude value, in A or V units",
+                                                           fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V",
+                                                          ),
+                ), # FIN de FACT WAVEFORM_CONSTANT
+                WAVEFORM_SINUS = FACT(statut='f',
+                                      ang="sinus variation source",
+                                      fr=u"source variant avec une forme sinusoïdale, définie par son amplitude, sa fréquence et sa phase",
+                                      AMPLITUDE = SIMP (statut="o",
+                                                        typ="R", 
+                                                        defaut=1,
+                                                        ang = "enter the source magnitude value, in A or V units",
+                                                        fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V",
+                                                       ),
+                                      FREQUENCY = SIMP (statut="o",
+                                                        typ="R", 
+                                                        defaut=50.0,
+                                                        ang = "enter the source frequency value, in Hz units",
+                                                        fr = u"saisir la valeur de la fréquence de la source, en Hz",
+                                                       ),
+                                      PHASE = SIMP (statut="o",
+                                                    typ="R", 
+                                                    defaut=0.0,
+                                                    ang = "enter the source phase value, in degrees units",
+                                                    fr = u"saisir la valeur de la phase de la source, en degrés",
+                                                   ),
+                ), # FIN de FACT WAVEFORM_SINUS
+) # Fin OPER SOURCE