# -*- coding: utf-8 -*-
-# Copyright (C) 2011-2016 CEA/DEN, EDF R&D
+# Copyright (C) 2011-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Python script for HOMARD
Test test_1
"""
-__revision__ = "V4.03"
+__revision__ = "V4.05"
#========================================================================
TEST_NAME = "test_1"
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
-salome.salome_init()
+salome.salome_init_without_session()
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
#
while not error :
#
- HOMARD.UpdateStudy()
+ # HOMARD.UpdateStudy()
#
# Creation of the zones
# =====================
scriptfile = os.path.normpath(scriptfile)
dirname = DIRCASE
yacs_test_1 = case_test_1.CreateYACSSchema("YACS_test_1", scriptfile, dirname, mesh_file)
+ yacs_test_1.SetMaxIter(N_ITER_TEST_FILE)
error = yacs_test_1.Write()
if error :
error = 4