# -*- coding: latin-1 -*-
-# Copyright (C) 2009-2013 CEA/DEN, EDF R&D
+# Copyright (C) 2009-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
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
import hexablock
import os
-import geompy
#---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
# ================================================================= save_schema
for nx in range (nr) :
for ny in range (na) :
cell = grid.getQuadIJ (nx, ny, nl)
- print " ... cell = ", cell
+ print(" ... cell = ", cell)
liste.append (cell);
center = doc.addVertex (0, -10, 0);
for nx in range (nr) :
for ny in range (na) :
cell = grid.getQuadIJ (nx, ny, nl)
- print " ... cell = ", cell
+ print(" ... cell = ", cell)
liste.append (cell);
axis = doc.addVector (1, 1, 1);
for nx in range (nr) :
for ny in range (na) :
cell = grid.getQuadIJ (nx, ny, nl)
- print " ... cell = ", cell
+ print(" ... cell = ", cell)
liste.append (cell);
axis = doc.addVector (1, 1, 1);