# -*- coding: utf-8 -*-
-# Copyright (C) 2011-2022 CEA/DEN, EDF R&D
+# Copyright (C) 2011-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
-salome.salome_init()
+salome.salome_init_without_session()
#========================================================================
def mesh_exec():
cg_hexa = cg_hexa_ml.toNumPyArray()
# Target
# ======
- xyz_p = np.zeros(3, dtype=np.float)
+ xyz_p = np.zeros(3, dtype=np.float32)
xyz_p[0] = -0.20*float(1-niter) * LG_X
xyz_p[1] = -0.15*float(1-niter) * LG_Y
xyz_p[2] = -0.10*float(1-niter) * LG_Z