diff --git a/Cassiopee/Apps/Apps/Fast/Fast2Kim.py b/Cassiopee/Apps/Apps/Fast/Fast2Kim.py
index 3c47f94ca..cab53ed75 100644
--- a/Cassiopee/Apps/Apps/Fast/Fast2Kim.py
+++ b/Cassiopee/Apps/Apps/Fast/Fast2Kim.py
@@ -443,12 +443,10 @@ def createKimAero(self):
self.write_fortran_block(fich, z[2][0][1].reshape(z[2][0][1].shape[0]*z[2][0][1].shape[1]), DOUBLE_SIZE) #Z
self.write_fortran_block(fich, pressure[2][0][1].reshape(pressure[2][0][1].shape[0]*pressure[2][0][1].shape[1]), DOUBLE_SIZE) #P
fich.close()
- #itglob += 1
else:
C.convertPyTree2File(cz, kimAeroFile, 'fmt_tp')
#C.convertPyTree2File(cz,'out%d.cgns'%itglob )
#checkZones.append(cz)
-
itglob += 1
# Container courant
@@ -457,8 +455,6 @@ def createKimAero(self):
paths += ['CGNSTree/Base/%s/FlowSolution'%(zone[0])]
print(paths)
nodes2 = Distributed.readNodesFromPaths(self.config['filename'], paths)
- #print(nodes2)
- #exit()
px = Internal.getNodeFromName(nodes2[0], 'CoordinateX')[1]
time = Internal.getNodeFromName(nodes2[2], 'time')[1]
nrec = px.shape[0]-1 # 50
@@ -495,9 +491,8 @@ def createKimAero(self):
self.write_fortran_block(fich, z[2][0][1].reshape(z[2][0][1].shape[0]*z[2][0][1].shape[1]), DOUBLE_SIZE) #Z
self.write_fortran_block(fich, pressure[2][0][1].reshape(pressure[2][0][1].shape[0]*pressure[2][0][1].shape[1]), DOUBLE_SIZE) #P
fich.close()
- #itglob += 1
else:
- C.convertPyTree2File(cz, kimAeroFile, 'fmt_tp')
+ C.convertPyTree2File(cz, kimAeroFile, 'fmt_tp')
itglob += 1
#Internal.printTree(checkZones)
diff --git a/Cassiopee/Apps/doc/Apps.txt b/Cassiopee/Apps/doc/Apps.txt
index cb33f7f24..5597aa837 100644
--- a/Cassiopee/Apps/doc/Apps.txt
+++ b/Cassiopee/Apps/doc/Apps.txt
@@ -1,25 +1,4 @@
===============================================================================
-Apps 3.7 [10/2023]
-Require: C++ compiler, python > 2.7, numpy > 1.0, All modules 3.7
-===============================================================================
-Apps 3.6 [03/2023]
-Require: C++ compiler, python > 2.4, numpy > 1.0, All modules 3.6
-===============================================================================
-Apps 3.5 [12/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, All modules 3.5
-===============================================================================
-Apps 3.4 [07/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, All modules 3.4
-===============================================================================
-Apps 3.3 [10/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, All modules 3.3
-===============================================================================
-Apps 3.2 [02/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, All modules 3.2
-===============================================================================
-Apps 3.1 [06/2020]
-Require: C++ compiler, python > 2.4, numpy > 1.0, All modules 3.1
-- Apps.IBM : extractIBMWallFields and loads for a family of zones.
-- Apps.ToolboxCODA: IBM toolbox for CODA solver (non opensource)
-- Apps.Mesh : structured Cartesian (octree) mesh generation in parallel distributed (equivalent to Generator.octree2Struct in parallel)
+Apps
+Requires: C++ compiler, python > 2.7, numpy > 1.0, All Cassiopee modules
===============================================================================
diff --git a/Cassiopee/CPlot/CPlot/Data.cpp b/Cassiopee/CPlot/CPlot/Data.cpp
index cb12997e6..f2fef0b0e 100644
--- a/Cassiopee/CPlot/CPlot/Data.cpp
+++ b/Cassiopee/CPlot/CPlot/Data.cpp
@@ -336,7 +336,7 @@ void Data::initState()
// Styles
ptrState->meshStyle = 2;
- ptrState->solidStyle = 1;
+ ptrState->solidStyle = 0;
ptrState->scalarStyle = 0;
ptrState->vectorStyle = 0;
ptrState->vectorScale = 100.f;
diff --git a/Cassiopee/CPlot/CPlot/Decorator.py b/Cassiopee/CPlot/CPlot/Decorator.py
index be3d5d5cc..2c8045bc0 100644
--- a/Cassiopee/CPlot/CPlot/Decorator.py
+++ b/Cassiopee/CPlot/CPlot/Decorator.py
@@ -276,7 +276,7 @@ def xyz2Pixel(Xs):
# Draw an arrow. X2 is the arrow head.
#==========================================================
def createArrow(ax, X1, X2, width=0.001, text=None, textSize=10, shiftText=(0,0), **kwargs):
- """Draw on arrow."""
+ """Draw an arrow on figure."""
poss = xyz2Pixel([X1,X2])
pos1x, pos1y = poss[0]; pos2x, pos2y = poss[1]
ax.arrow(pos1x, pos1y, pos2x-pos1x, pos2y-pos1y, width=width, length_includes_head=True, **kwargs)
diff --git a/Cassiopee/CPlot/apps/validCassiopee.py b/Cassiopee/CPlot/apps/validCassiopee.py
index 97ad48d71..c0440b9ea 100644
--- a/Cassiopee/CPlot/apps/validCassiopee.py
+++ b/Cassiopee/CPlot/apps/validCassiopee.py
@@ -917,7 +917,6 @@ def runTests():
if STOP == 1: STOP = 0; displayStatus(0); return
displayStatus(0)
THREAD=None
- if len(selection) == len(TESTS): notifyValidOK()
writeSessionLog()
def runTestsInThread():
@@ -1724,7 +1723,7 @@ def purgeSessionLogs(n):
file.add_command(label='Load last session', command=loadSessionWithArgs)
file.add_command(label='Purge session', command=buildTestList)
file.add_command(label='Export to text file', command=export2Text)
- file.add_command(label='Notify Ready for commit', command=notifyValidOK)
+ #file.add_command(label='Notify Ready for commit', command=notifyValidOK)
file.add_command(label='Quit', command=Quit, accelerator='Ctrl+Q')
view.add_command(label='Show FAILED', command=showFilter)
showFilterWithArgs = partial(showFilter, "FAILEDMEM")
diff --git a/Cassiopee/CPlot/doc/CPlot.txt b/Cassiopee/CPlot/doc/CPlot.txt
index 2731c75dc..f396bcc47 100644
--- a/Cassiopee/CPlot/doc/CPlot.txt
+++ b/Cassiopee/CPlot/doc/CPlot.txt
@@ -1,327 +1,8 @@
===============================================================================
-CPlot 3.7 [10/2023]
-Require: C++ compiler, python > 2.7, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.7
-Optional: png output requires libpng > 3.0
+CPlot
+Requires: C++ compiler, python > 2.7, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore
Optional: mpeg output requires ffmpeg > 1.0
Optional: offscreen rendering requires OSMesa > 7.0
Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.7
-- update of envmaps
-- gamma correction + toneMapping
-- kcgnsview : improved node edit
-- kcgnsview : can view compressed nodes
-- rewrite keyboard, new icons
-- add jpeg texture load
-- simplifyOnDrag: display BBox when dragging (set in tkPrefs)
-===============================================================================
-CPlot 3.6 [03/2023]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.6
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.6
-- image sharpening in post-processing (CPlot.setState and tkEffects)
-===============================================================================
-CPlot 3.5 [12/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.5
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.5
-===============================================================================
-CPlot 3.4 [07/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.4
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.4
-- tkTree: cut and paste nodes
-- Tk: save selected node
-===============================================================================
-CPlot 3.3 [10/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.3
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.3
-- kcgnsview
-- colormap veridis, inferno, magma
-- tkState : add dim1,dim2,dim3
-===============================================================================
-CPlot 3.2 [02/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.1
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.2
-- offscreen compositing with osmesa
-- parallel compositing with osmesa
-===============================================================================
-CPlot 3.1 [06/2020]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.1
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.1
-- tkCassiopee: tkSplit: split following x,y,z or view.
-- tkCassiopee: tkIJK: visualisation of subzones of structured grids
-- tkCassiopee: tkPlotXY: display texts, better interface
-===============================================================================
-CPlot 3.0 [12/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 3.0
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 3.0
-===============================================================================
-CPlot 2.9 [06/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.9
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.9
-- gamma correction
-- doc for shader parameters
-- outlined solid style
-- improved vector mode
-- texture rendering
-===============================================================================
-CPlot 2.8 [12/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.8
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.8
-===============================================================================
-CPlot 2.7 [07/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.7
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.7
-===============================================================================
-CPlot 2.6 [03/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.6
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.6
-- Vector shader
-- composite rendering
-===============================================================================
-CPlot 2.5 [20/09/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.5
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.4
-- tkCassiopee : search in applet Bar
-- tkCassiopee : improved tkBC
-===============================================================================
-CPlot 2.4 [29/03/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.3
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.4
-- moveCamera
-- travel
-- tkCassiopee: email
-- tkCassiopee: tkPlotXY
-===============================================================================
-CPlot 2.3 [28/11/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.3
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.3
-- CPlot : new mesh styles
-- CPlot : new shader metal
-===============================================================================
-CPlot 2.2 [29/06/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.2
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.2
-- loadView
-- addRender2Zone+addRender2PyTree moved to CPlot
-===============================================================================
-CPlot 2.1 [15/01/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.1
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.1
-- tkCassiopee : tkDraw + hand draw
-- CPlot : improvement of sphere shader
-- tkCassiopee : improvement of tkPlot
-===============================================================================
-CPlot 2.0 [26/06/2015]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore 2.0
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 2.0
-- CPlot : setActivePoint
-===============================================================================
-CPlot R.4 [16/01/2015]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore R.4
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter R.4
-- tkPlot
-- selectionStyle
-- save selected zones
-===============================================================================
-CPlot R.3 [12/05/2014]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3, KCore R.3
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter R.3
-- tkCassiopee : tkFilter + simple formula
-- tkMapEdge : for surface/volume meshes
-- tkCassiopee : applet customization
-===============================================================================
-CPlot R.2 [15/11/2013]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3,
-GLUT > 3.0, KCore R.2
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter R.2
-- tkBlader
-- tkIBC
-- tkBasicSurfs : access to parametric surfaces
-===============================================================================
-CPlot R.1 [22/05/2013]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3,
-GLUT > 3.0, KCore R.1
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: mpeg output requires ffmpeg > 1.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter R.1
-- support for PYRA
-- support for NGON
-- gooch shader
-- new tkView
-- new isoShader antialiased
-- visu orphan points
-- resolution in export
-- mpeg export
-- tkCassiopee : tkNGon
-===============================================================================
-CPlot 1.10 [07/11/2012]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3,
-GLUT > 3.0, KCore 1.10
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 1.10
-- diverging colormap.
-- shaders brick, cloud.
-- shadow + DOF.
-- tkCassiopee : read multiple files.
-- tkCassiopee : tkLuxRender.
-===============================================================================
-CPlot 1.9 [05/04/2012]
-Require: C++ compiler, python > 2.4, numpy > 1.0, 3.1 > GL > 1.1, GLU > 1.3,
-GLUT > 3.0, KCore 1.9
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 1.9
-- tkCassiopee : update auto de tkTree.
-- tkCassiopee : bornes isos.
-- sphere billboard shader.
-- tkTFI : O mesh, Half O, TRI.
-- tkFamily : manage families.
-- tkChimera.
-- drag selection.
-- tkCassiopee : tkExtractMesh.
-- anaglyph mode.
-- tkDemo : orbite.
-- add/delete/replace.
-===============================================================================
-CPlot 1.8 [22/09/2011]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 1.8, GL > 1.1,
-GLU > 1.3, GLUT > 3.0
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: offscreen rendering requires OSMesa > 7.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 1.8
-- affichage node pour les BAR en mode mesh.
-- shaders glass, chrome, stone, wood.
-- zoom infini.
-- systeme de selection ameliore.
-- offscreen rendering using OSMesa.
-- new iso + legend.
-- improved render set.
-- tkCassiopee : tkMapEdge.
-- tkCassiopee : tkSurfaceWalk.
-===============================================================================
-CPlot 1.7 [17/03/2011]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 1.7, GL > 1.1,
-GLU > 1.3, GLUT > 3.0
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 1.7
-- affichage des PENTA
-- amelioration de la gestion des zones actives
-- edit node name in tkTree
-- tkBasicSurfs
-- tkTree selectionne les zones par famille
-===============================================================================
-CPlot 1.6 [27/10/2010]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 1.6, GL > 1.1,
-GLU > 1.3, GLUT > 3.0
-Optional: shaders require GLEW > 1.5
-Optional: png output requires libpng > 3.0
-Optional: tkCassiopee (Tk interface) requires Tkinter in python install
-Optional: pyTree interface requires Converter 1.6
-- shader phong.
-- First relase of GUI.
-- can dump png.
-===============================================================================
-CPlot 1.5 [22/03/2010]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 1.5, GL > 1.1,
-GLU > 1.3, GLUT > 3.0
-Optional: pyTree interface requires Converter 1.5
-- display des arrays NODE.
-- frustum culling.
-===============================================================================
-CPlot 1.4 [24/09/2009]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 1.4, GL > 1.1,
-GLU > 1.3, GLUT > 3.0
-Optional pyTree interface requires Converter 1.4
-- First release
+Optional: pyTree interface requires Converter
===============================================================================
diff --git a/Cassiopee/CPlot/doc/install b/Cassiopee/CPlot/doc/install
index b324ae798..7b0217e5b 100755
--- a/Cassiopee/CPlot/doc/install
+++ b/Cassiopee/CPlot/doc/install
@@ -52,30 +52,37 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex CPlot >& /dev/null
- pdflatex tkCassiopee >& /dev/null
- pdflatex tkPlotXY >& /dev/null
- pdflatex Decorator >& /dev/null
+ pdflatex CPlot
+ [ $? != 0 ] && exit 1;
+ pdflatex tkCassiopee
+ [ $? != 0 ] && exit 1;
+ pdflatex tkPlotXY
+ [ $? != 0 ] && exit 1;
+ pdflatex Decorator
+ [ $? != 0 ] && exit 1;
cd ..
fi
# Copie dans le DEST
if ([ $PRODUCTION -eq 1 ])
then
- sed -i 's/CPlot.CPlot/CPlot/g' build/CPlot.html
+ sed -i 's/CPlot.CPlot/.CPlot/g' build/CPlot.html
cp build/CPlot.html $DEST
-
+
sed -i 's/CPlot.pdf/tkCassiopee.pdf/g' build/tkCassiopee.html
cp build/tkCassiopee.html $DEST
sed -i 's/CPlot.pdf/tkPlotXY.pdf/g' build/tkPlotXY.html
cp build/tkPlotXY.html $DEST
+ sed -i 's/CPlot\.Decorator\.CPlot\.Decorator/CPlot\.Decorator/g' build/Decorator.html
sed -i 's/CPlot.pdf/Decorator.pdf/g' build/Decorator.html
cp build/Decorator.html $DEST
diff --git a/Cassiopee/CPlot/doc/source/CPlot.rst b/Cassiopee/CPlot/doc/source/CPlot.rst
index 4ec42a798..f0f8b1529 100644
--- a/Cassiopee/CPlot/doc/source/CPlot.rst
+++ b/Cassiopee/CPlot/doc/source/CPlot.rst
@@ -143,7 +143,7 @@ Actions
:type displayIsoLegend: int
:param meshStyle: 0: white solid and red wireframe, 1: colored wireframe, 2: colored solid and wireframe, 3: cyan solid and black wireframe (default: 2)
:type meshStyle: int
- :param solidStyle: 0: blue, 1: colored by zone, 3: white, 4: colored by zone outlined (default: 1)
+ :param solidStyle: 0: blue, 1: colored by zone, 3: white, 4: colored by zone outlined (default: 0)
:type solidStyle: int
:param scalarStyle: 0: banded, 1: banded+mesh, 2: lines, 3: lines+mesh (default: 0)
:type scalarStyle: int
@@ -331,14 +331,14 @@ Actions
.. A2.O0.D1
- For array interface:
- ::
+ For array interface::
+
CPlot.replace(A, no, a)
Performs A[no]=a, keeping plotter coherent.
- For pyTree interface:
- ::
+ For pyTree interface::
+
CPlot.replace(A, nob, noz, a)
Performs t[2][nob][2][noz]=a, keeping plotter coherent.
diff --git a/Cassiopee/CPlot/doc/source/conf.py b/Cassiopee/CPlot/doc/source/conf.py
index 5e24ade79..36a929f76 100644
--- a/Cassiopee/CPlot/doc/source/conf.py
+++ b/Cassiopee/CPlot/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/CPlot/doc/source/tkPlotXY.rst b/Cassiopee/CPlot/doc/source/tkPlotXY.rst
index 0d18eb17a..f9a989b69 100644
--- a/Cassiopee/CPlot/doc/source/tkPlotXY.rst
+++ b/Cassiopee/CPlot/doc/source/tkPlotXY.rst
@@ -1,7 +1,7 @@
.. tkPlotXY documentation master file
-tkPlotXY : plot of curves
-==========================
+tkPlotXY: plot of curves
+=========================
Preamble
########
diff --git a/Cassiopee/CPlot/install b/Cassiopee/CPlot/install
index b1ee45ff8..e5069cb47 100755
--- a/Cassiopee/CPlot/install
+++ b/Cassiopee/CPlot/install
@@ -62,6 +62,9 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
+ python -m pip install --no-cache-dir --no-binary=CPlot --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/CPlot/test/displayOSMesa_m1.py b/Cassiopee/CPlot/test/displayOSMesa_m1.py
index 44e1c53c9..37551fab1 100644
--- a/Cassiopee/CPlot/test/displayOSMesa_m1.py
+++ b/Cassiopee/CPlot/test/displayOSMesa_m1.py
@@ -10,7 +10,7 @@
a = D.sphere((0,Cmpi.rank,0), 1, N=200)
# posCam, posEye, dirCam are compulsary for parallel export (otherwise autofit)
-CPlot.display(a, mode=1, offscreen=7, export=LOCAL+'/out.png',
+CPlot.display(a, mode=1, solidStyle=1, offscreen=7, export=LOCAL+'/out.png',
posCam=(-3,0,0), posEye=(0,0,0), dirCam=(0,0,1))
CPlot.finalizeExport(7)
Cmpi.barrier()
diff --git a/Cassiopee/CPlot/test/displayOSMesa_t2.py b/Cassiopee/CPlot/test/displayOSMesa_t2.py
index 4eb7069ce..d71e1af5c 100644
--- a/Cassiopee/CPlot/test/displayOSMesa_t2.py
+++ b/Cassiopee/CPlot/test/displayOSMesa_t2.py
@@ -25,7 +25,7 @@ def F(x): return x
test.testF(LOCAL+"/out.png", 1)
# solid (mode 1)
-CPlot.display([a], mode='solid', offscreen=offscreen, export=LOCAL+'/out.png')
+CPlot.display([a], mode='solid', solidStyle=1, offscreen=offscreen, export=LOCAL+'/out.png')
CPlot.finalizeExport(offscreen)
test.testF(LOCAL+"/out.png", 2)
diff --git a/Cassiopee/Compressor/doc/Compressor.txt b/Cassiopee/Compressor/doc/Compressor.txt
index 78b074bb0..c0be30bef 100644
--- a/Cassiopee/Compressor/doc/Compressor.txt
+++ b/Cassiopee/Compressor/doc/Compressor.txt
@@ -1,75 +1,4 @@
===============================================================================
-Compressor 3.7 [10/2023]
-Require: C++ compiler, python > 2.7, numpy > 1.0, KCore, Converter 3.7
-===============================================================================
-Compressor 3.6 [03/2023]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.6
-- compressFields: add fpc lossless compression for doubles.
-===============================================================================
-Compressor 3.5 [12/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.5
-===============================================================================
-Compressor 3.4 [07/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.4
-===============================================================================
-Compressor 3.3 [10/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.3
-===============================================================================
-Compressor 3.2 [02/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.2
-- compressCartesian
-- compressCellN
-- compressCoords
-- compressFields
-- uncompressAll
-- compressElements
-===============================================================================
-Compressor 3.1 [06/2020]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.1
-===============================================================================
-Compressor 3.0 [12/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 3.0
-===============================================================================
-Compressor 2.9 [06/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.9
-===============================================================================
-Compressor 2.8 [12/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.8
-===============================================================================
-Compressor 2.7 [07/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.7
-- doc sphinx
-===============================================================================
-Compressor 2.6 [03/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.6
-===============================================================================
-Compressor 2.5 [20/09/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.5
-===============================================================================
-Compressor 2.4 [29/03/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.4
-- Compressor : pack/unpack
-===============================================================================
-Compressor 2.3 [28/11/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.3
-- deltaInterpolation
-===============================================================================
-Compressor 2.2 [29/06/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.2
-===============================================================================
-Compressor 2.1 [15/01/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.1
-===============================================================================
-Compressor 2.0 [26/06/2015]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter 2.0
-===============================================================================
-Compressor R.4 [16/01/2015]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter R.4
-===============================================================================
-Compressor R.3 [12/05/2014]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter R.3
-===============================================================================
-Compressor R.2 [15/11/2013]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter R.2
-- Creation
+Compressor
+Requires: C++ compiler, python > 2.7, numpy > 1.0, KCore, Converter
===============================================================================
diff --git a/Cassiopee/Compressor/doc/install b/Cassiopee/Compressor/doc/install
index 9ae60b12a..6071703af 100755
--- a/Cassiopee/Compressor/doc/install
+++ b/Cassiopee/Compressor/doc/install
@@ -52,12 +52,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Compressor >& /dev/null
+ pdflatex Compressor
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Compressor/doc/source/conf.py b/Cassiopee/Compressor/doc/source/conf.py
index de50b5058..2c1278040 100644
--- a/Cassiopee/Compressor/doc/source/conf.py
+++ b/Cassiopee/Compressor/doc/source/conf.py
@@ -182,7 +182,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Compressor/install b/Cassiopee/Compressor/install
index dc5f445e1..8597827cb 100755
--- a/Cassiopee/Compressor/install
+++ b/Cassiopee/Compressor/install
@@ -57,10 +57,13 @@ if [ $PRODMODE -le 1 ]; then
rm -f build/lib.*/Compressor/sz/csz.*
rm -f build/lib.*/Compressor/zfp/czfp.*
- if [ $PRODMODE -eq 0 ]; then
+ if [ $PRODMODE -eq 0 ]; then # setup
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
- elif [ $PRODMODE -eq 1 ]; then
+ elif [ $PRODMODE -eq 1 ]; then # pip+no wheel
+ python -m pip install --no-cache-dir --no-binary=Compressor --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then # pip+wheel
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/Connector/doc/Connector.txt b/Cassiopee/Connector/doc/Connector.txt
index 6f2824a94..23c7b28dc 100644
--- a/Cassiopee/Connector/doc/Connector.txt
+++ b/Cassiopee/Connector/doc/Connector.txt
@@ -1,207 +1,6 @@
===============================================================================
-Connector 3.7 [10/2023]
-Require: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore 3.7
-Optional: pyTree interface requires Converter 3.7
-Optional: preconditionning requires Generator, Transform 3.7
-- setHoleInterpolated point + octahedron stencil
-===============================================================================
-Connector 3.6 [03/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-Optional: pyTree interface requires Converter 3.6
-Optional: preconditionning requires Generator, Transform 3.6
-- setInterpData2: interpolation from one tree to another.
-===============================================================================
-Connector 3.5 [12/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.5
-Optional: pyTree interface requires Converter 3.5
-Optional: preconditionning requires Generator, Transform 3.5
-===============================================================================
-Connector 3.4 [07/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.4
-Optional: pyTree interface requires Converter 3.4
-Optional: preconditionning requires Generator, Transform 3.4
-===============================================================================
-Connector 3.3 [10/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.3
-Optional: pyTree interface requires Converter 3.3
-Optional: preconditionning requires Generator, Transform 3.3
-- optmisation blankCells
-- optimisation getHoleInterpolatedPoints
-===============================================================================
-Connector 3.2 [02/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.2
-Optional: pyTree interface requires Converter 3.2
-Optional: preconditionning requires Generator, Transform 3.2
-===============================================================================
-Connector 3.1 [06/2020]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.1
-Optional: pyTree interface requires Converter 3.1
-Optional: preconditionning requires Generator, Transform 3.1
-===============================================================================
-Connector 3.0 [12/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.0
-Optional: pyTree interface requires Converter 3.0
-Optional: preconditionning requires Generator, Transform 3.0
-===============================================================================
-Connector 2.9 [06/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.9
-Optional: pyTree interface requires Converter 2.9
-Optional: preconditionning requires Generator, Transform 2.9
-- setIBCTransfers + injection + imposed pressure
-===============================================================================
-Connector 2.8 [12/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.8
-Optional: pyTree interface requires Converter 2.8
-Optional: preconditionning requires Generator, Transform 2.8
-===============================================================================
-Connector 2.7 [07/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.7
-Optional: pyTree interface requires Converter 2.7
-Optional: preconditionning requires Generator, Transform 2.7
-- corr. connectMatchHybrid (conditions aux limites deja definies)
-===============================================================================
-Connector 2.6 [03/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.6
-Optional: pyTree interface requires Converter 2.6
-Optional: preconditionning requires Generator, Transform 2.6
-===============================================================================
-Connector 2.5 [20/09/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.5
-Optional: pyTree interface requires Converter 2.5
-Optional: preconditionning requires Generator, Transform 2.5
-- Connector: setInterpolatedPoints + NGON
-- Connector: setInterpTransfers + periodicity
-===============================================================================
-Connector 2.4 [29/03/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.4
-Optional: pyTree interface requires Converter 2.4
-Optional: preconditionning requires Generator, Transform 2.4
-===============================================================================
-Connector 2.3 [28/11/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.3
-Optional: pyTree interface requires Converter 2.3
-Optional: preconditionning requires Generator, Transform 2.3
-===============================================================================
-Connector 2.2 [29/06/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.2
-Optional: pyTree interface requires Converter 2.2
-Optional: preconditionning requires Generator, Transform 2.2
-- Connector : periodic chimera
-===============================================================================
-Connector 2.1 [15/01/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.1
-Optional: pyTree interface requires Converter 2.1
-Optional: preconditionning requires Generator, Transform 2.1
-- Connector : setInterpData open source
-- Connector : opt. optimizeOverlap, setInterpData
-- Connector : opt. + corr. blankCellsTetra
-- Connector : blankCellsTri
-- Connector : connectMatch for NGONs
-===============================================================================
-Connector 2.0 [26/06/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.0
-Optional: pyTree interface requires Converter 2.0
-Optional: preconditionning requires Generator, Transform 2.0
-- setIBCData improved
-===============================================================================
-Connector R.4 [16/01/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.4
-Optional: pyTree interface requires Converter R.4
-Optional: preconditionning requires Generator, Transform R.4
-- blankCellsTetra
-- chimeraInfo
-- getOversetInfo
-===============================================================================
-Connector R.3 [12/05/2014]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.3
-Optional: pyTree interface requires Converter R.3
-Optional: preconditionning requires Generator, Transform R.3
-- optimisation connectMatch
-- setDegeneratedBC
-===============================================================================
-Connector R.2 [15/11/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.2
-Optional: pyTree interface requires Converter R.2
-Optional: preconditionning requires Generator, Transform R.2
-- setInterpData
-- interface for blankCells changed (center_in)
-- new double wall algorithm
-===============================================================================
-Connector R.1 [22/05/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.1
-Optional: pyTree interface requires Converter R.1
-Optional: preconditionning requires Generator, Transform R.1
-===============================================================================
-Connector 1.10 [07/11/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.10
-Optional: pyTree interface requires Converter 1.10
-Optional: preconditionning requires Generator, Transform 1.10
-- removal of Kernel-dependent functions.
-- connectMatchPeriodic.
-- optimisation connectNearMatch.
-===============================================================================
-Connector 1.9 [05/04/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.9
-Optional: Cassiopee Chimera requires Cassiopee Kernel 1.8
-Optional: pyTree interface requires Converter 1.9
-Optional: preconditionning requires Generator, Transform 1.9
-- blankCells NS + centers.
-- setHoleInterpolatedPts.
-- interpolated points suppressed from blankCells.
-- connect near match.
-- setInterpolations.
-===============================================================================
-Connector 1.8 [22/09/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.8
-Optional: Cassiopee Chimera requires Cassiopee Kernel 1.8
-Optional: pyTree interface requires Converter 1.8
-Optional: preconditionning requires Generator, Transform 1.8
-- minor optiomizations
-===============================================================================
-Connector 1.7 [17/03/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.7
-Optional: Cassiopee Chimera requires Cassiopee Kernel 1.7
-Optional: pyTree interface requires Converter 1.7
-Optional: preconditionning requires Generator, Transform 1.7
-- optim connectMatch
-===============================================================================
-Connector 1.6 [27/10/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.6
-Optional: Cassiopee Chimera requires Cassiopee Kernel 1.6
-Optional: pyTree interface requires Converter 1.6
-Optional: preconditionning requires Generator, Transform 1.6
-- testInterpolations.
-- blankCells dans maillages non-structures.
-===============================================================================
-Connector 1.5 [22/03/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.5
-Optional: Cassiopee Chimera requires Cassiopee Kernel 1.5
-Optional: pyTree interface requires Converter, Transform 1.5
-- optimize overlap prend en compte le double wall.
-- optimize overlap prend en compte des priorites.
-===============================================================================
-Connector 1.4 [24/09/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.4
-Optional: Cassiopee Chimera requires Cassiopee Kernel 1.4
-Optional: pyTree interface requires Converter, Transform 1.4
-- connectMatch : calcul automatique des raccords match dans un pyTree
-- getCEBBIntersectingDomains
-===============================================================================
-Connector 1.3 [19/05/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.3
-Require: Cassiopee Kernel 1.3
-Optional: pyTree interface requires Converter 1.3, Transform 1.3
-===============================================================================
-Connector 1.2 [27/11/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.2
-Require: Cassiopee Kernel 1.2
-===============================================================================
-Connector 1.1 [24/06/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.1
-Require: Cassiopee Kernel 0.0
-===============================================================================
-Connector 1.0 [03/04/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.0
-Require: Cassiopee Kernel 0.0
-- First release
+Connector
+Requires: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore
+Optional: pyTree interface requires Converter
+Optional: preconditionning requires Generator, Transform
===============================================================================
diff --git a/Cassiopee/Connector/doc/install b/Cassiopee/Connector/doc/install
index d8ac2f333..4014a7e96 100755
--- a/Cassiopee/Connector/doc/install
+++ b/Cassiopee/Connector/doc/install
@@ -52,13 +52,17 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Connector >& /dev/null
- pdflatex Connector_IBM >& /dev/null
+ pdflatex Connector
+ [ $? != 0 ] && exit 1;
+ pdflatex Connector_IBM
+ [ $? != 0 ] && exit 1;
#pdflatex ConnectorMpi
#pdflatex OversetData
#pdflatex OversetDataElsA
@@ -82,7 +86,6 @@ then
#cp build/ConnectorMpi.pdf $DEST
#cp build/OversetData.pdf $DEST
#cp build/OversetDataElsA.pdf $DEST
-
sed -i 's/Connector.Connector_IBM.Connector.Connector_IBM/Connector.Connector_IBM/g' build/Connector_IBM.html
sed -i 's/Connector\.pdf/Connector_IBM\.pdf/g' build/Connector_IBM.html
cp build/Connector_IBM.html $DEST
diff --git a/Cassiopee/Connector/doc/source/conf.py b/Cassiopee/Connector/doc/source/conf.py
index e144df711..e11493671 100644
--- a/Cassiopee/Connector/doc/source/conf.py
+++ b/Cassiopee/Connector/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Connector/install b/Cassiopee/Connector/install
index 91ee1e557..e4c2d5dbc 100755
--- a/Cassiopee/Connector/install
+++ b/Cassiopee/Connector/install
@@ -62,8 +62,11 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
- python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ python -m pip install --no-cache-dir --no-binary=Connector --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then # pip+wheel
+ python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
fi
else
python setupLegacy.py install --prefix="$INSTALLPATH"
diff --git a/Cassiopee/Converter/Converter/Converter1.cpp b/Cassiopee/Converter/Converter/Converter1.cpp
index b92b8910c..6e97e0913 100644
--- a/Cassiopee/Converter/Converter/Converter1.cpp
+++ b/Cassiopee/Converter/Converter/Converter1.cpp
@@ -570,7 +570,7 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
E_Int rsize = rs;
E_Int endianess = 1;
E_Int colormap = c;
-
+
if (K_STRING::cmp(e, "little") == 0) endianess = 0;
else if (K_STRING::cmp(e, "big") == 0) endianess = 1;
else
@@ -600,6 +600,7 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
"convertArrays2File: zoneNames argument must be a list.");
return NULL;
}
+
// Building zoneNames vector
vector zoneNames;
for (int z = 0; z < PyList_Size(zoneNamesO); z++)
@@ -642,6 +643,7 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
E_Int res;
vector fieldu; // non structure
vector connectu;
+ vector tplc; vector tplu;
for (E_Int i = 0; i < n; i++)
{
tpl = PyList_GetItem(arrays, i);
@@ -654,6 +656,7 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
{
ni.push_back(nil); nj.push_back(njl); nk.push_back(nkl);
fieldc.push_back(f);
+ tplc.push_back(tpl);
}
else
printf("Warning: convertArrays2File: array " SF_D_ " is empty.\n", i);
@@ -684,7 +687,8 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
if (allNodes)
{
ni.push_back(f->getSize()); nj.push_back(1); nk.push_back(1);
- fieldc.push_back(f);
+ fieldc.push_back(f);
+ tplc.push_back(tpl);
}
else if (allValid)
{
@@ -697,6 +701,7 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
//}
elt.push_back(ids[0]); // only first connect of ME
eltIds.push_back(ids); // all ids
+ tplu.push_back(tpl);
}
}
else
@@ -966,13 +971,11 @@ PyObject* K_CONVERTER::convertArrays2File(PyObject* self, PyObject* args)
printf("done.\n"); fflush(stdout);
// Deleting fields
- E_Int sizefieldc = fieldc.size();
- for (E_Int i = 0; i < sizefieldc; i++) delete fieldc[i];
+ for (size_t i = 0; i < fieldc.size(); i++) RELEASESHAREDS(tplc[i], fieldc[i]);
- E_Int sizefieldu = fieldu.size();
- for (E_Int i = 0; i < sizefieldu; i++)
+ for (size_t i = 0; i < fieldu.size(); i++)
{
- delete fieldu[i]; delete connectu[i];
+ RELEASESHAREDU(tplu[i], fieldu[i], connectu[i]);
}
Py_INCREF(Py_None);
diff --git a/Cassiopee/Converter/Converter/IO/GenIO_fmtfoam.cpp b/Cassiopee/Converter/Converter/IO/GenIO_fmtfoam.cpp
index 39d96a9cf..c184cc9b1 100644
--- a/Cassiopee/Converter/Converter/IO/GenIO_fmtfoam.cpp
+++ b/Cassiopee/Converter/Converter/IO/GenIO_fmtfoam.cpp
@@ -227,7 +227,7 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
if (strcmp(buf, "uniform") == 0) {
readWord(ptrFile, buf);
E_Float val = strtod(buf, NULL);
- printf("uniform " SF_F_ "\n", val);
+ printf("Info: foamread: uniform " SF_F_ "\n", val);
for (E_Int j = 0; j < bcsize; j++) {
bcf[i] = val;
}
@@ -244,7 +244,7 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
readInt(buf, 1024, pos, nfaces);
assert(nfaces == bcsize);
- printf("non uniform list of size " SF_D_ "\n", nfaces);
+ printf("Info: foamread: non uniform list of size " SF_D_ ".\n", nfaces);
skipLine(ptrFile); // (
@@ -273,7 +273,7 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
char buf[128];
readWord(ptrFile, buf);
E_Float val = strtod(buf, NULL);
- printf("uniform " SF_F_ "\n", val);
+ printf("Info; foamread: uniform " SF_F_ ".\n", val);
for (E_Int j = 0; j < bcsize; j++) {
bcf[j] = val;
}
@@ -291,7 +291,7 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
if (strcmp(buf, "uniform") == 0) {
readWord(ptrFile, buf);
E_Float val = strtod(buf, NULL);
- printf("uniform " SF_F_ "\n", val);
+ printf("Info; foamread: uniform " SF_F_ ".\n", val);
for (E_Int j = 0; j < bcsize; j++) {
bcf[i] = val;
}
@@ -308,7 +308,7 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
readInt(buf, 1024, pos, nfaces);
assert(nfaces == bcsize);
- printf("non uniform list of size " SF_D_ "\n", nfaces);
+ printf("Info: foamread: non uniform list of size " SF_D_ ".\n", nfaces);
skipLine(ptrFile); // (
@@ -336,7 +336,7 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
readInt(buf, 1024, pos, nfaces);
assert(nfaces == bcsize);
- printf("non uniform list of size " SF_D_ "\n", nfaces);
+ printf("Info: foamread: non uniform list of size " SF_D_ ".\n", nfaces);
skipLine(ptrFile); // (
for (E_Int j = 0; j < nfaces; j++)
@@ -352,14 +352,14 @@ E_Int K_IO::GenIO::readScalarField(char *file, FldArrayF& f, E_Int idx,
char buf[128];
readWord(ptrFile, buf);
E_Float val = strtod(buf, NULL);
- printf("uniform " SF_F_ "\n", val);
+ printf("Info; foamread: uniform " SF_F_ ".\n", val);
for (E_Int j = 0; j < bcsize; j++) {
bcf[j] = val;
}
}
else {
- fprintf(stderr, "Unsupported boundary condition %s\n", type);
+ printf("Warning: foamread: unsupported boundary condition %s.\n", type);
return 0;
}
@@ -462,7 +462,7 @@ E_Int K_IO::GenIO::readVectorField(char *file, FldArrayF& f, E_Int idx,
readWord(ptrFile, buf);
E_Float valz = strtod(buf, NULL);
- printf("uniform (" SF_F3_ ")\n", valx, valy, valz);
+ printf("Info: foamread: uniform (" SF_F3_ ").\n", valx, valy, valz);
for (E_Int j = 0; j < bcsize; j++) {
bcfx[j] = valx;
@@ -494,7 +494,7 @@ E_Int K_IO::GenIO::readVectorField(char *file, FldArrayF& f, E_Int idx,
readInt(buf, 1024, pos, nfaces);
assert(nfaces == bcsize);
- printf(SF_D_ " faces", nfaces);
+ printf("Info; foamread: " SF_D_ " faces.", nfaces);
skipLine(ptrFile);
@@ -508,7 +508,7 @@ E_Int K_IO::GenIO::readVectorField(char *file, FldArrayF& f, E_Int idx,
}
else {
- fprintf(stderr, "Unsupported boundary condition %s\n", type);
+ printf("Warning: foamread: unsupported boundary condition %s.\n", type);
return 0;
}
@@ -629,7 +629,7 @@ E_Int K_IO::GenIO::foamread(
// compute NFace
FldArrayI cNFace; E_Int nelts;
K_CONNECT::connectFE2NFace(PE, cNFace, nelts);
- printf("cells: " SF_D_ "\n", nelts);
+ printf("Info: foamread: ncells: " SF_D_ ".\n", nelts);
// Merge
E_Int sizeNGon = cNGon.getSize();
@@ -761,13 +761,13 @@ E_Int K_IO::GenIO::foamReadFields(char *file,
closedir(d);
if (max_time == -1.0) {
- printf("Warning: no time directory found. Skipping field read.\n");
+ printf("Warning: foamread: no time directory found. Skipping field read.\n");
return 0;
} else if (max_time == 0) {
- printf("Warning: skipping time directory 0.\n");
+ printf("Warning: foamread: skipping time directory 0.\n");
return 0;
} else {
- printf("Reading fields from time directory %s\n", dir_name);
+ printf("Info: foamread: reading fields from time directory %s\n", dir_name);
}
fullPath[0] = '\0';
@@ -874,15 +874,15 @@ E_Int K_IO::GenIO::foamReadFields(char *file,
size++;
}
if (size == MAX_FIELDS) {
- fprintf(stderr, "Warning: foamread: Trying to read more that maximum number of fields (%d). Aborting.\n", MAX_FIELDS);
- exit(1);
+ printf("Warning: foamread: trying to read more that maximum number of fields (%d). Aborting.\n", MAX_FIELDS);
+ exit(1); // must return
}
fclose(fh);
}
}
closedir(d);
- printf("nflds: " SF_D_ "\n", nflds);
+ printf("Info: foamread: nflds: " SF_D_ ".\n", nflds);
// delete the last comma
varStringc[strlen(varStringc)-1] = '\0';
@@ -1699,7 +1699,7 @@ E_Int K_IO::GenIO::foamwrite(
#endif
else
{
- printf("Bad " SF_D_ "-th bcname %s\n", j, name);
+ printf("Error: foamwrite: bad bcname no " SF_D_ ".\n", j);
return 1;
}
diff --git a/Cassiopee/Converter/doc/Converter.txt b/Cassiopee/Converter/doc/Converter.txt
index 67839fbed..b2aa74fb1 100644
--- a/Cassiopee/Converter/doc/Converter.txt
+++ b/Cassiopee/Converter/doc/Converter.txt
@@ -1,349 +1,7 @@
==============================================================================
-Converter 3.7 [10/2023]
-Require: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore 3.7
+Converter
+Require: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore
Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.7
+Optional: extractBCOfType, extractBCOfName requires Transform
Optional: Mpi requires mpi4py
-- read/write selig format (airfoils)
-- tecplot read version 101 (for coda)
-- add jpeg load and write
-- Internal: adaptNGon32NGon4: adapt a CGNSv3 NGON to a CGNSv4 NGON
-- Internal.adaptNGon42NGon3: adapt a CGNSv4 NGON to a CGNSv3 NGON
-- Internal.adaptNFace2PE: create a ParentElement node from a NFACE node
-- Internal.adaptPE2NFace: create NFace node from ParentElement node
-- initVars by vectorized function
==============================================================================
-Converter 3.6 [03/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.6
-Optional: Mpi requires mpi4py
-- Internal.checkPyTree/correctPyTree: add check/correct name length > 32 chars
-==============================================================================
-Converter 3.5 [12/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.5
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.5
-Optional: Mpi requires mpi4py
-- Cmpi.trace : write CPU time and memory for each node
-- extractBCOfType and extractBCOfName + shift for structured grids
-==============================================================================
-Converter 3.4 [07/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.4
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.4
-Optional: Mpi requires mpi4py
-- hdf: write of periodic nodes in R8
-- suppress automatic elsA name conversion to CGNS names
-==============================================================================
-Converter 3.3 [10/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.3
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.3
-Optional: Mpi requires mpi4py
-==============================================================================
-Converter 3.2 [02/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.2
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.2
-Optional: Mpi requires mpi4py
-- Internal: newZoneSubRegion
-- Converter: isFinite
-- Internal: getVal: direct return of numpy [1]
-- Internal: getChildFromName: search limited to children
-- Internal: getChildFromType: search limited to children
-- Internal: moveNodeFromPaths: move a node from path1 to path2 in a pyTree
-==============================================================================
-Converter 3.1 [06/2020]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.1
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.1
-Optional: Mpi requires mpi4py
-==============================================================================
-Converter 3.0 [12/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.0
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 3.0
-Optional: Mpi requires mpi4py
-- Internal: rmNodesFromType optimised
-- Internal: rmNodesFromType1,2
-- Filter: loadZones
-- Filter: writeZones
-- Filter: writeZonesWoVariables
-- Filter: writeVariables
-- Filter: writePyTreeFromPaths
-- Filter: writePyTreeFromFilter
-- bin_tp read with field in centers
-==============================================================================
-Converter 2.9 [06/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.9
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.9
-Optional: Mpi requires mpi4py
-- Internal: getSizeOf
-- ADF/HDF: high order elements read/write
-- convertHO2LO
-- convertLO2HO (partial)
-==============================================================================
-Converter 2.8 [12/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.8
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.8
-Optional: Mpi requires mpi4py
-- Internal: getZonesPerIteration: retourne les zones si BaseIterativeData
-- Filter: readNodesFromFilter: lecture partielle de noeuds
-- Filter: Handle, loadZonesWoVariables, loadVariables (load partiel par zones)
-- Filter: loadZonesWoVars + bbox : permet de sp�cifier les zones � charger par une bbox
-- Internal: elsAProfile.createElsaHybrid: option pour g�n�rer le noeud ParentElement de fa�on topologique, donc valable pour des maillages conformes quelconques (pas n�cessairement � cellule convexe)
-==============================================================================
-Converter 2.7 [07/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.7
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.7
-Optional: Mpi requires mpi4py
-- Internal: getParentFromType
-- Internal: isChild
-- Internal: getNodeFromNameAndType
-- rmBCDataVars: suppression de variables dans les BCDataSet
-==============================================================================
-Converter 2.6 [03/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.6
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.6
-Optional: Mpi requires mpi4py
-- readNodesFromPaths
-- writeNodesFromPaths
-- readPyTreeFromPaths
-==============================================================================
-Converter 2.5 [20/09/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.5
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.5
-Optional: Mpi requires mpi4py
-- Converter : getFamilyBCNamesDict
-- Internal : getZonePaths
-- Converter : _createBCDataSetOfType
-- Internal : faster path routines
-- Internal : new documentation
-- Internal : getPathLeaf, getPathAncestor
-==============================================================================
-Converter 2.4 [29/03/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.4
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.4
-Optional: Mpi requires mpi4py
-- listen/send
-- convert2SkeletonTree
-- Internal: getZones, getBases
-==============================================================================
-Converter 2.3 [28/11/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.3
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.3
-Optional: Mpi requires mpi4py
-- Internal : autoSetContainers
-===============================================================================
-Converter 2.2 [29/06/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.2
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.2
-Optional: Mpi requires mpi4py
-- addGhostCells+nearMatch
-- conformUnstr
-- Internal : addChild/createChild now return Child
-- Internal : harmonization with pyCGNS/PAT
-===============================================================================
-Converter 2.1 [15/01/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.1
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.1
-Optional: Mpi requires mpi4py
-- Internal : merge
-- Internal : adaptNFace2PE, adaptPE2NFace
-===============================================================================
-Converter 2.0 [26/06/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.0
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 2.0
-Optional: Mpi requires mpi4py
-- elsAProfile.addReferenceState
-- elsAProfile.addGlobalConvergenceHistory
-- elsAProfile.addFlowSolution
-- elsAProfile.addOutputForces
-- elsAProfile.addOutputFriction
-- getMeanRangeValue
-- Internal : checkMultigrid
-- Internal : checkPyTree + check CGNS types
-- isNamePresent
-- mergeConnectivity
-- addBC2Zone + subzone
-- formatted GMSH format
-- binary GMSH format
-===============================================================================
-Converter R.4 [16/01/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.4
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform R.4
-Optional: Mpi requires mpi4py
-- copyRef/copyTree
-- createUniqueChild
-- printTree
-- identifySolutions
-- breakConnectivity
-===============================================================================
-Converter R.3 [12/05/2014]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.3
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform R.3
-Optional: Mpi requires mpi4py
-- Internal extended with XTree functions
-- formatted plot3d
-- fillMissingVariables reorder variables
-- fmt_su2 (without BCs)
-- addState2Base -> addState
-- createBBoxTree, computeGraph, addXZones, rmXZones
-- Internal.getValue
-- getNCells, getNPts
-===============================================================================
-Converter R.2 [15/11/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.2
-Optional: libhdf5 > 1.8.6 (hdf file format)
-Otional: libcgns is no longer required for adf format.
-Optional: extractBCOfType, extractBCOfName requires Transform R.2
-- ghostcell speed improved
-- center2Node+cellNType for unstructured grids
-- node2ExtCenters + center field
-===============================================================================
-Converter R.1 [22/05/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.1
-Optional: libcgns > 2.4 (adf file format), libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform R.1
-- fmt_tp read/write polyhedrons
-- fmt_tp fix for PENTA and PYRA
-- bin_tp fix for PYRA
-- extractBCOfName + BCFamily
-- Internal : checkPyTree, correctPyTree
-- variable varString
-- convertArray2Tetra + split
-- hooks
-- bin_tp exports v112 instead of 75
-- geometrical identification
-- getEmptyBC for NGONs
-- nearestNodes, nearestElts, nearestFaces
-===============================================================================
-Converter 1.10 [07/11/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.10
-Optional: libcgns > 2.4 (adf file format), libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 1.10
-- removal of elsA DesObjects conversions
-- ply format.
-- getConnectedZones.
-- getNobNozOfZone.
-- fmt_cedre.
-- convertArray2NGon.
-- zoneNames arg (read/write).
-===============================================================================
-Converter 1.9 [05/04/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.9
-Optional: libcgns > 2.4 (adf file format), libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 1.9
-- convertTri2Quad.
-- fmt stl.
-- getFamilyZoneNames.
-- Container names are now in Internal.
-- initVars from a formula string.
-- convertArray2Tetra/Hexa+centers.
-- png reader.
-- convert2elsAxdt.
-===============================================================================
-Converter 1.8 [22/09/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.8
-Optional: libcgns > 2.4 (adf file format), libhdf5 > 1.8.6 (hdf file format)
-Optional: extractBCOfType, extractBCOfName requires Transform 1.8
-- options par keywords dans convertArrays2File/convertFile2Arrays/convertPyTree2File/convertFile2PyTree.
-- convertArrays2File : option zoneNames.
-- magnitude var name changed.
-- getFamilyZones, getFamilyBCs.
-- HDF5 file support.
-===============================================================================
-Converter 1.7 [17/03/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.7
-Optional: libcgns > 2.4 (adf file format), libhdf5 (hdf file format)
-Optional: extractBCOfType requires Transform 1.7
-- tagWithFamily
-- amelioration de la detection du format des fichiers
-- noeud CGNSTree dans les pyTree
-- access naturel des numpy dans les pyTree
-- extractBCOfName
-- noeud version en numpy, noeud chaine en numpy strings
-===============================================================================
-Converter 1.6 [27/10/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.6
-Optional: libcgns > 2.4 (adf file format), libhdf5 (hdf file format)
-Optional: extractBCOfType requires Transform 1.6
-- rmVars : for arrays.
-- elargissement de la taille de la chaine de variables.
-- node2ExtCenter.
-- magnitude.
-===============================================================================
-Converter 1.5 [22/03/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.5
-Optional: libcgns > 2.4 (adf file format), libhdf5 (hdf file format)
-Optional: extractBCOfType requires Transform 1.5
-- ne depend plus de elsAxdt.
-- convertArray2Node.
-- lecture formattee tecplot multiblocs.
-- checkBC->getEmptyBC.
-- addState2Base.
-- mergeTrees.
-- fillMissingVariables.
-- addChimera2State.
-- fmt_tp non-structure.
-- optimisation de addvars.
-- optimisation de fillEmptyBC.
-===============================================================================
-Converter 1.4 [24/09/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.4
-Optional: convertPyTree2File requires elsAxdt 1.4 or other
-Optional: extractBCOfType requires Transform 1.4
-- ecriture bin_stl
-- rmBCOfType
-- sortie formatee tecplot non-structuree
-- center2Node et node2Center sont maintenant dans Converter
-- rmVars, addVars avec une liste de variables
-- rmNodes
-- center2node : prend en compte les raccords match
-- format obj
-===============================================================================
-Converter 1.3 [19/05/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.3
-Optional: convertPyTree2File requires elsAxdt 1.3
-- lecture/ecriture multiblocs bin_v3d
-- pyTree module etendu
-- cpVars, rmVars
-- portage Linux/Ubuntu
-===============================================================================
-Converter 1.2 [27/11/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.2
-- read geometries in bin_tp
-- XFig format
-- setValue
-- format fmt_svg
-- changement de l'interface des options pour convertArrays2File
-et convertFile2Arrays
-- conversion en DesObjects elsA
-- lecture tecplot 360-2008
-- options de lecture des formats vectoriels
-===============================================================================
-Converter 1.1 [24/06/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.1
-Optional: Cassiopee Cartesian Kernel 0.0
-- interface change : addVars(a,b)->addVars([a,b]).
-- generic function to transform array into tetra or hexa.
-- fmt_pov, fmt_mesh.
-===============================================================================
-Converter 1.0 [03/04/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.0
-Optional: Cassiopee Cartesian Kernel 0.0
-- First release
-===============================================================================
diff --git a/Cassiopee/Converter/doc/install b/Cassiopee/Converter/doc/install
index fa03ad157..0ece41102 100755
--- a/Cassiopee/Converter/doc/install
+++ b/Cassiopee/Converter/doc/install
@@ -52,18 +52,25 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
sed -i 's/longtable}{LL}/longtable}{ll}/g' Internal.tex
- pdflatex Internal >& /dev/null
- pdflatex Filter >& /dev/null
- pdflatex ConverterMpi >& /dev/null
- pdflatex elsAProfile >& /dev/null
- pdflatex Converter >& /dev/null
+ pdflatex Internal
+ [ $? != 0 ] && exit 1;
+ pdflatex Filter
+ [ $? != 0 ] && exit 1;
+ pdflatex ConverterMpi
+ [ $? != 0 ] && exit 1;
+ pdflatex elsAProfile
+ [ $? != 0 ] && exit 1;
+ pdflatex Converter
+ [ $? != 0 ] && exit 1;
cd ..
fi
@@ -82,7 +89,9 @@ then
sed -i 's/Converter\.elsAProfile\.Converter\.elsAProfile/Converter\.elsAProfile/g' build/elsAProfile.html
sed -i 's/Converter\.pdf/elsAProfile\.pdf/g' build/elsAProfile.html
cp build/elsAProfile.html $DEST
- sed -i 's/Converter\.Converter/Converter/g' build/Converter.html
+
+ sed -i 's/Converter\.Converter\.PyTree/Converter\.PyTree/g' build/Converter.html
+ sed -i 's/Converter\.Converter/\.Converter/g' build/Converter.html
cp build/Converter.html $DEST
cp build/Internal.pdf $DEST
diff --git a/Cassiopee/Converter/doc/source/Filter.rst b/Cassiopee/Converter/doc/source/Filter.rst
index 6dabe0e42..d3a2f7f19 100644
--- a/Cassiopee/Converter/doc/source/Filter.rst
+++ b/Cassiopee/Converter/doc/source/Filter.rst
@@ -3,7 +3,7 @@
:tocdepth: 2
Converter.Filter: partial reading/writing of files
-=========================================
+==================================================
Preamble
diff --git a/Cassiopee/Converter/doc/source/Internal.rst b/Cassiopee/Converter/doc/source/Internal.rst
index 8d93296e2..a817aae0e 100644
--- a/Cassiopee/Converter/doc/source/Internal.rst
+++ b/Cassiopee/Converter/doc/source/Internal.rst
@@ -3,7 +3,7 @@
:tocdepth: 2
Converter.Internal: CGNS/Python tree management
-=========================================
+===============================================
Preamble
diff --git a/Cassiopee/Converter/doc/source/conf.py b/Cassiopee/Converter/doc/source/conf.py
index 3fa9b8f18..d4dcfc06e 100644
--- a/Cassiopee/Converter/doc/source/conf.py
+++ b/Cassiopee/Converter/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Converter/doc/source/elsAProfile.rst b/Cassiopee/Converter/doc/source/elsAProfile.rst
index 39e2ddbdc..8f92bc861 100644
--- a/Cassiopee/Converter/doc/source/elsAProfile.rst
+++ b/Cassiopee/Converter/doc/source/elsAProfile.rst
@@ -151,9 +151,9 @@ Conversion
.. py:function:: Converter.elsAProfile.overlapGC2BC(t)
Convert the 'Overset' grid connectivity nodes compliant with Cassiopee to an 'Overlap' BC compliant with elsA.
- The created BC node is attached to a family of BC of name 'Fam_Ovlp'+baseName, where baseName is the name of the parent base. Prefix 'Fam_Ovlp_' of the family BC of 'Overlap' BCs can be redefined
+ The created BC node is attached to a family of BC of name 'Fam_Ovlp'+baseName, where baseName is the name of the parent base. Prefix 'Fam_Ovlp\_' of the family BC of 'Overlap' BCs can be redefined
using Converter.elsAProfile.__FAMOVERLAPBC__ container (e.g. Converter.elsAProfile.__FAMOVERLAPBC__="OVERLAP").
- In case of a doubly defined overlap grid connectivity, the default name of the family of bcs is prefixed by 'Fam_OvlpDD_'.
+ In case of a doubly defined overlap grid connectivity, the default name of the family of bcs is prefixed by 'Fam_OvlpDD\_'.
In that case, there is one family of classical overlap BCs per receptor base and one family of doubly defined overlap BCs too (if classical and doubly defined overlap bcs exist
in that base).
A '.Solver#Overlap' node is created in each family of BCs and contains the node 'NeighbourList' (where donor zones can be specified). The value is empty here.
diff --git a/Cassiopee/Converter/install b/Cassiopee/Converter/install
index d98231294..bffc52785 100755
--- a/Cassiopee/Converter/install
+++ b/Cassiopee/Converter/install
@@ -62,6 +62,9 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
+ python -m pip install --no-cache-dir --no-binary=Converter --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/Dist2Walls/doc/Dist2Walls.txt b/Cassiopee/Dist2Walls/doc/Dist2Walls.txt
index 69cffeba3..d0d387034 100644
--- a/Cassiopee/Dist2Walls/doc/Dist2Walls.txt
+++ b/Cassiopee/Dist2Walls/doc/Dist2Walls.txt
@@ -1,149 +1,6 @@
===============================================================================
-Dist2Walls 3.7 [10/2023]
+Dist2Walls
Require: C++ compiler, python > 2.7, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.7
-Signed distance: require Connector 3.7
-===============================================================================
-Dist2Walls 3.6 [03/2023]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.6
-Signed distance: require Connector 3.6
-===============================================================================
-Dist2Walls 3.5 [12/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.5
-Signed distance: require Connector 3.5
-===============================================================================
-Dist2Walls 3.4 [07/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.3
-Signed distance: require Connector 3.4
-===============================================================================
-Dist2Walls 3.3 [10/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.3
-Signed distance: require Connector 3.3
-===============================================================================
-Dist2Walls 3.2 [02/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.2
-Signed distance: require Connector 3.2
-===============================================================================
-Dist2Walls 3.1 [06/2020]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.1
-Signed distance: require Connector 3.1
-- bug corrected for hybrid structured/unstructured grids
-===============================================================================
-Dist2Walls 3.0 [12/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 3.0
-Signed distance: require Connector 3.0
-===============================================================================
-Dist2Walls 2.9 [06/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.9
-Signed distance: require Connector 2.9
-===============================================================================
-Dist2Walls 2.8 [12/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.8
-Signed distance: require Connector 2.8
-===============================================================================
-Dist2Walls 2.7 [07/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.7
-Signed distance: require Connector 2.7
-- doc sphinx
-===============================================================================
-Dist2Walls 2.6 [03/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.6
-Signed distance: require Connector 2.6
-===============================================================================
-Dist2Walls 2.5 [20/09/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.5
-Signed distance: require Connector 2.5
-===============================================================================
-Dist2Walls 2.4 [29/03/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.4
-Signed distance: require Connector 2.4
-===============================================================================
-Dist2Walls 2.3 [28/11/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.3
-Signed distance: require Connector 2.3
-===============================================================================
-Dist2Walls 2.2 [29/06/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.2
-Signed distance: require Connector 2.2
-===============================================================================
-Dist2Walls 2.1 [15/01/2016]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.1
-Signed distance: require Connector 2.1
-- Dist2Walls : optimisation ortho
-===============================================================================
-Dist2Walls 2.0 [26/06/2015]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 2.0
-Signed distance: require Connector 2.0
-===============================================================================
-Dist2Walls R.4 [16/01/2015]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator R.4
-Signed distance: require Connector R.4
-===============================================================================
-Dist2Walls R.3 [12/05/2014]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator R.3
-Signed distance: require Connector R.3
-===============================================================================
-Dist2Walls R.2 [15/11/2013]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator R.2
-Signed distance: require Connector R.2
-- body surfaces must be specified for distance computation
-===============================================================================
-Dist2Walls R.1 [22/05/2013]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator R.1
-Signed distance: require Connector R.1
-===============================================================================
-Dist2Walls 1.10 [07/11/2012]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.10
-Signed distance: require Connector module.
-- signed distance.
-- distType -> type.
-===============================================================================
-Dist2Walls 1.9 [05/04/2012]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.9
-- ortho.
-===============================================================================
-Dist2Walls 1.8 [22/09/2011]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.8
-===============================================================================
-Dist2Walls 1.7 [17/03/2011]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.7
-===============================================================================
-Dist2Walls 1.6 [27/10/2010]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.6
-===============================================================================
-Dist2Walls 1.5 [22/03/2010]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.5
-- optimisation par kdTree.
-===============================================================================
-Dist2Walls 1.4 [24/09/2009]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore, Converter,
-Transform, Generator 1.4
-- First release
+Transform, Generator
+Signed distance: require Connector
===============================================================================
diff --git a/Cassiopee/Dist2Walls/doc/install b/Cassiopee/Dist2Walls/doc/install
index 818ed5c14..0e21fba3f 100755
--- a/Cassiopee/Dist2Walls/doc/install
+++ b/Cassiopee/Dist2Walls/doc/install
@@ -52,12 +52,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Dist2Walls >& /dev/null
+ pdflatex Dist2Walls
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Dist2Walls/doc/source/conf.py b/Cassiopee/Dist2Walls/doc/source/conf.py
index 55b470773..ea7096afd 100644
--- a/Cassiopee/Dist2Walls/doc/source/conf.py
+++ b/Cassiopee/Dist2Walls/doc/source/conf.py
@@ -173,7 +173,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Dist2Walls/install b/Cassiopee/Dist2Walls/install
index e71936604..c157f239b 100755
--- a/Cassiopee/Dist2Walls/install
+++ b/Cassiopee/Dist2Walls/install
@@ -59,6 +59,9 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
+ python -m pip install --no-cache-dir --no-binary=Dist2Walls --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/Distributor2/doc/Distributor2.txt b/Cassiopee/Distributor2/doc/Distributor2.txt
index 0345150cb..d685293d9 100644
--- a/Cassiopee/Distributor2/doc/Distributor2.txt
+++ b/Cassiopee/Distributor2/doc/Distributor2.txt
@@ -1,93 +1,5 @@
===============================================================================
-Distributor2 3.7 [10/2023]
-Require: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore 3.7
-===============================================================================
-Distributor2 3.6 [03/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-===============================================================================
-Distributor2 3.5 [12/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.5
-===============================================================================
-Distributor2 3.4 [07/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.4
-===============================================================================
-Distributor2 3.3 [10/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.3
-===============================================================================
-Distributor2 3.2 [02/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.2
-===============================================================================
-Distributor2 3.1 [06/2020]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.1
-===============================================================================
-Distributor2 3.0 [12/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.0
-===============================================================================
-Distributor2 2.9 [06/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.9
-===============================================================================
-Distributor2 2.8 [12/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.8
-===============================================================================
-Distributor2 2.7 [07/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.7
-- fonction printProcStats
-- meilleur algorithme pour prendre en compte les coms : 'graph'
-===============================================================================
-Distributor2 2.6 [03/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.6
-===============================================================================
-Distributor2 2.5 [20/09/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.5
-===============================================================================
-Distributor2 2.4 [29/03/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.4
-===============================================================================
-Distributor2 2.3 [28/11/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.3
-===============================================================================
-Distributor2 2.2 [29/06/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.2
-- addProcNod
-- copyDistribution
-- getProc
-===============================================================================
-Distributor2 2.1 [15/01/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.1
-===============================================================================
-Distributor2 2.0 [26/06/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.0
-===============================================================================
-Distributor2 R.4 [16/01/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.4
-===============================================================================
-Distributor2 R.3 [12/05/2014]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.3
-- getProcDict
-- new options for useCom
-- redispatch
-===============================================================================
-Distributor2 R.2 [15/11/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.2
-===============================================================================
-Distributor2 R.1 [22/05/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.1
-===============================================================================
-Distributor2 1.10 [07/11/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.10
-===============================================================================
-Distributor2 1.9 [05/04/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.9
-- correction bug setBlocks.
-- possibilite de solveur different par bloc.
-===============================================================================
-Distributor2 1.8 [22/09/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.8
-===============================================================================
-Distributor2 1.7 [17/03/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.7
-===============================================================================
-Distributor2 1.6 [27/10/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.6
-- First release
+Distributor2
+Require: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore,
+Converter
===============================================================================
diff --git a/Cassiopee/Distributor2/doc/install b/Cassiopee/Distributor2/doc/install
index 179a1712b..e3b52a52f 100755
--- a/Cassiopee/Distributor2/doc/install
+++ b/Cassiopee/Distributor2/doc/install
@@ -6,7 +6,6 @@ if [ "$CASSIOPEE" = "" ]; then
exit
fi
-
PRODUCTION=1
# Destination docs
DEST="$CASSIOPEE/docs/doc"
@@ -53,12 +52,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Distributor2 >& /dev/null
+ pdflatex Distributor2
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Distributor2/doc/source/conf.py b/Cassiopee/Distributor2/doc/source/conf.py
index 87a8e5c8b..33cf54c9f 100644
--- a/Cassiopee/Distributor2/doc/source/conf.py
+++ b/Cassiopee/Distributor2/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Distributor2/install b/Cassiopee/Distributor2/install
index 31d7f3298..b6667d30a 100755
--- a/Cassiopee/Distributor2/install
+++ b/Cassiopee/Distributor2/install
@@ -62,6 +62,9 @@ if [ $PRODMODE -le 2 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
+ python -m pip install --no-cache-dir --no-binary=Distributor2 --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/Envs/env_Cassiopee_local b/Cassiopee/Envs/env_Cassiopee_local
index 19e72865f..ee3d73734 100644
--- a/Cassiopee/Envs/env_Cassiopee_local
+++ b/Cassiopee/Envs/env_Cassiopee_local
@@ -98,11 +98,9 @@ else if ($MAC == "ld") then
module purge
module load occt/7.6.1-gnu831
module load python/3.8.14-gnu831
- #module load intel/21.2.0
module load gcc/10.2.0
module load lapack/3.9.1-gnu831
module load hdf5/1.10.5-gnu831-ompi405
- unset I_MPI_PMI_LIBRARY
setenv PRODMODE 1
setenv PIP_DISABLE_PIP_VERSION_CHECK 1
# Set next line only if python is not python
@@ -111,6 +109,8 @@ else if ($MAC == "ld") then
set ncpu=`cat /proc/cpuinfo |grep processor |cut -f2 -d: |tail -1`
@ ncpu++
setenv OMP_NUM_THREADS $ncpu
+ setenv ASAN_OPTIONS verify_asan_link_order=false
+ #setenv LD_PRELOAD /opt/tools/gcc/10.2.0-gnu831/lib64/libasan.so
else if ($MAC == "eos814") then
#-------------------------- ld centos 8 + python 3.8 -----------------------------
@@ -681,7 +681,9 @@ else if ($MAC == "juno_gcc") then
setenv PIP_DISABLE_PIP_VERSION_CHECK 1
unsetenv SLURM*
unsetenv OMP_PLACES
-
+ setenv ASAN_OPTIONS verify_asan_link_order=false
+ #setenv LD_PRELOAD /opt/tools/gcc/12.1.0-gnu831/lib64/libasan.so
+
else if ($MAC == "juno_gpu") then
#----------------------------- juno gpu ------------------------------------
setenv ELSAPROD juno_gpu
@@ -793,6 +795,7 @@ if ($?PATHL != 0) then
set OLD_LD_LIBRARY_PATHL=$LD_LIBRARY_PATHL
set OLD_PYTHONPATHL=$PYTHONPATHL
endif
+
if ($?PYTHONEXE) then
if ($PYTHONEXE == "python3") then
alias python python3
@@ -803,9 +806,16 @@ if ($?PYTHONEXE) then
else
set pyversion="python"`python -c "import sys; print('.'.join(str(n) for n in sys.version_info[:2]))"`
endif
-setenv PATHL $CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/bin
-setenv LD_LIBRARY_PATHL $CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/lib
-setenv PYTHONPATHL $CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/lib/"$pyversion"/site-packages
+set pylib=lib
+set pysite=site-packages
+if ($MAC == "ubuntu") then
+ set pylib=local/"$pylib"
+ set pysite=dist-packages
+endif
+
+setenv PATHL "$CASSIOPEE"/Dist/bin/"$ELSAPROD":"$CASSIOPEE"/Dist/bin/"$ELSAPROD"/bin
+setenv LD_LIBRARY_PATHL "$CASSIOPEE"/Dist/bin/"$ELSAPROD":"$CASSIOPEE"/Dist/bin/"$ELSAPROD"/lib
+setenv PYTHONPATHL "$CASSIOPEE"/Dist/bin/"$ELSAPROD":"$CASSIOPEE"/Dist/bin/"$ELSAPROD"/"$pylib"/"$pyversion"/"$pysite"
if ($?OLD_PATHL != 0) then
setenv PATH `echo "$PATH" | sed "s|$OLD_PATHL||g"`
diff --git a/Cassiopee/Envs/sh_Cassiopee_local b/Cassiopee/Envs/sh_Cassiopee_local
index 19e6aaf52..b5abf0194 100644
--- a/Cassiopee/Envs/sh_Cassiopee_local
+++ b/Cassiopee/Envs/sh_Cassiopee_local
@@ -43,12 +43,14 @@ MAC0=$(echo $KC | grep 'WDAAA161Z'); if [ "$MAC0" != "" ]; then export MAC="WDAA
# Detect the type of integer that is used
INTTYPE=""
-if [[ $MACHINE == *_i8 ]]; then
+posend=${#MACHINE}
+posbeg=$((posend - 3))
+if [ "${MACHINE:posbeg:posend}" = _i8 ]; then
export MAC=${MACHINE%"_i8"}
INTTYPE="_i8"
-elif [[ "$MACHINE" == "i8" ]]; then
+elif [ "$MACHINE" = "i8" ]; then
INTTYPE="_i8"
-elif [[ "$MACHINE" != "" ]]; then
+elif [ -n "$MACHINE" ]; then
export MAC=$MACHINE
fi
@@ -76,24 +78,25 @@ if [ "$MAC" = "ld_eos8" ]; then
export OMP_NUM_THREADS=$ncpu
elif [ "$MAC" = "ld" ]; then
-#------------------------------- ld centos 8 + python 3 -----------------------------------
+#------------------------------- ld rocky 8 + python 3 -----------------------------------
export ELSAPROD=ld
export ELSAPROD=$ELSAPROD$INTTYPE
. /etc/profile.d/modules-onera.sh
module purge
module load occt/7.6.1-gnu831
module load python/3.8.14-gnu831
- #module load intel/21.2.0
module load gcc/10.2.0
module load lapack/3.9.1-gnu831
module load hdf5/1.10.5-gnu831-ompi405
- unset I_MPI_PMI_LIBRARY
export PRODMODE=1
+ setenv PIP_DISABLE_PIP_VERSION_CHECK 1
export PYTHONEXE=python3
# Nbre de threads
ncpu=$(grep processor /proc/cpuinfo | tail -1 | cut -f2 -d: )
ncpu=$((ncpu + 1))
export OMP_NUM_THREADS=$ncpu
+ export ASAN_OPTIONS=verify_asan_link_order=false
+ #export LD_PRELOAD=/opt/tools/gcc/10.2.0-gnu831/lib64/libasan.so
elif [ "$MAC" = "ld_python2" ]; then
#------------------------------- ld centos 7 -----------------------------------
@@ -502,7 +505,7 @@ elif [ "$MAC" = "spiro_pgi" ]; then
module load subversion/1.14.1-gnu831
elif [ "$MAC" = "spiro_gpu" ]; then
-#----------------------------- juno gpu ------------------------------------
+#----------------------------- spiro gpu ------------------------------------
export ELSAPROD=spiro_gpu
export ELSAPROD="$ELSAPROD$INTTYPE"
source /opt/tools/Modules/init/bash
@@ -547,7 +550,7 @@ elif [ "$MAC" = "juno" ]; then
export OMP_PLACES=cores
elif [ "$MAC" = "juno_gcc" ]; then
-#----------------------------- juno -----------------------------------------
+#----------------------------- juno gcc ---------------------------------------
export ELSAPROD=juno_gcc
export ELSAPROD=$ELSAPROD$INTTYPE
# Nbre de threads
@@ -568,6 +571,8 @@ elif [ "$MAC" = "juno_gcc" ]; then
export PIP_DISABLE_PIP_VERSION_CHECK=1
unset $(env | grep SLURM | cut -d'=' -f 1)
unset OMP_PLACES
+ export ASAN_OPTIONS=verify_asan_link_order=false
+ #export LD_PRELOAD=/opt/tools/gcc/12.1.0-gnu831/lib64/libasan.so
elif [ "$MAC" = "juno_gpu" ]; then
#----------------------------- juno gpu ------------------------------------
@@ -733,7 +738,6 @@ elif [ "$MAC" = "WDAAA161Z" ]; then
export PIP_DISABLE_PIP_VERSION_CHECK=1
fi
-
#-------------------------- Common to all prods --------------------------------
# Chemin de l'executable python
if ! [ -z $PATHL ]; then
@@ -748,10 +752,17 @@ if [ "$PYTHONEXE" = "python3" ]; then
else
pyversion="python"`python -c "import sys; print('.'.join(str(n) for n in sys.version_info[:2]))"`
fi
+pylib="lib"
+if [ "$MAC" = "ubuntu" ]; then
+ pylib="local/"$pylib
+ pysite="dist-packages"
+else
+ pysite="site-packages"
+fi
export PATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/bin
-export LD_LIBRARY_PATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/lib
-export PYTHONPATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/lib/"$pyversion"/site-packages
+export LD_LIBRARY_PATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/"$pylib"
+export PYTHONPATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/"$pylib"/"$pyversion"/"$pysite"
if ! [ -z $OLD_PATHL ]; then
# Remove all occurences of old paths
diff --git a/Cassiopee/Generator/doc/Generator.txt b/Cassiopee/Generator/doc/Generator.txt
index a20e1914b..355ab6129 100644
--- a/Cassiopee/Generator/doc/Generator.txt
+++ b/Cassiopee/Generator/doc/Generator.txt
@@ -1,319 +1,9 @@
===============================================================================
-Generator 3.7 [10/2023]
-Requires: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore 3.7
-Optional: pyTree interface requires Converter 3.7
-Optional: bbox requires Converter 3.7
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.7
-Optional: stitchedHat requires Transform 3.7
-Optional: mapSplit requires Converter, Transform, Geom 3.7
-- checkMesh: check mesh quality
-- getAngleRegularityMap
-===============================================================================
-Generator 3.6 [03/2023]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-Optional: pyTree interface requires Converter 3.6
-Optional: bbox requires Converter 3.6
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.6
-Optional: stitchedHat requires Transform 3.6
-Optional: mapSplit requires Converter, Transform, Geom 3.6
-===============================================================================
-Generator 3.5 [12/2022]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.5
-Optional: pyTree interface requires Converter 3.5
-Optional: bbox requires Converter 3.5
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.5
-Optional: stitchedHat requires Transform 3.5
-Optional: mapSplit requires Converter, Transform, Geom 3.5
-===============================================================================
-Generator 3.4 [07/2022]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.4
-Optional: pyTree interface requires Converter 3.4
-Optional: bbox requires Converter 3.4
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.4
-Optional: stitchedHat requires Transform 3.4
-Optional: mapSplit requires Converter, Transform, Geom 3.4
-- G.cartRx : cartesian grids in parallel
-- G.cartRx3: cartesian and geometric grids in parallel
-- cartr1 : geometric cartesian grid
-- cartr2 : geometric cartesian grid
-===============================================================================
-Generator 3.3 [10/2021]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.3
-Optional: pyTree interface requires Converter 3.3
-Optional: bbox requires Converter 3.3
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.3
-Optional: stitchedHat requires Transform 3.3
-Optional: mapSplit requires Converter, Transform, Geom 3.3
-===============================================================================
-Generator 3.2 [02/2021]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.2
-Optional: pyTree interface requires Converter 3.2
-Optional: bbox requires Converter 3.2
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.2
-Optional: stitchedHat requires Transform 3.2
-Optional: mapSplit requires Converter, Transform, Geom 3.2
-===============================================================================
-Generator 3.1 [06/2020]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.1
-Optional: pyTree interface requires Converter 3.1
-Optional: bbox requires Converter 3.1
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.1
-Optional: stitchedHat requires Transform 3.1
-Optional: mapSplit requires Converter, Transform, Geom 3.1
-- interface to MMGs surface remesher
-===============================================================================
-Generator 3.0 [12/2019]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.0
-Optional: pyTree interface requires Converter 2.9
-Optional: bbox requires Converter 2.9
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 3.0
-Optional: stitchedHat requires Transform 2.9
-Optional: mapSplit requires Converter, Transform, Geom 3.0
-===============================================================================
-Generator 2.9 [06/2019]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.9
-Optional: pyTree interface requires Converter 2.9
-Optional: bbox requires Converter 2.9
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.9
-Optional: stitchedHat requires Transform 2.9
-Optional: mapSplit requires Converter, Transform, Geom 2.9
-===============================================================================
-Generator 2.8 [12/2018]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.8
-Optional: pyTree interface requires Converter 2.8
-Optional: bbox requires Converter 2.8
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.8
-Optional: stitchedHat requires Transform 2.8
-Optional: mapSplit requires Converter, Transform, Geom 2.8
-- Generator: T3Mesher2D: 2 nouvelles options pour contr�ler la gradation du maillage.
-===============================================================================
-Generator 2.7 [07/2018]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.7
-Optional: pyTree interface requires Converter 2.7
-Optional: bbox requires Converter 2.7
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.7
-Optional: stitchedHat requires Transform 2.7
-Optional: mapSplit requires Converter, Transform, Geom 2.7
-===============================================================================
-Generator 2.6 [03/2018]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.6
-Optional: pyTree interface requires Converter 2.6
-Optional: bbox requires Converter 2.6
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.6
-Optional: stitchedHat requires Transform 2.6
-Optional: mapSplit requires Converter, Transform, Geom 2.6
-===============================================================================
-Generator 2.5 [20/09/2017]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.5
-Optional: pyTree interface requires Converter 2.5
-Optional: bbox requires Converter 2.5
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.5
-Optional: stitchedHat requires Transform 2.5
-Optional: mapSplit requires Converter, Transform, Geom 2.5
-===============================================================================
-Generator 2.4 [29/03/2017]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.4
-Optional: pyTree interface requires Converter 2.4
-Optional: bbox requires Converter 2.4
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.4
-Optional: stitchedHat requires Transform 2.4
-Optional: mapSplit requires Converter, Transform, Geom 2.4
-- move boolean operators to Intersector module
-===============================================================================
-Generator 2.3 [28/11/2016]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.3
-Optional: pyTree interface requires Converter 2.3
-Optional: bbox requires Converter 2.3
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.3
-Optional: stitchedHat requires Transform 2.3
-Optional: mapSplit requires Converter, Transform, Geom 2.3
-===============================================================================
-Generator 2.2 [29/06/2016]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.2
-Optional: pyTree interface requires Converter 2.2
-Optional: bbox requires Converter 2.2
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.2
-Optional: stitchedHat requires Transform 2.2
-Optional: mapSplit requires Converter, Transform, Geom 2.2
-- OBB, obboxIntersection
-- various TFIs
-- Oriented bounded boxes everywhere
-===============================================================================
-Generator 2.1 [15/01/2016]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.1
-Optional: pyTree interface requires Converter 2.1
-Optional: bbox requires Converter 2.1
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.1
-Optional: stitchedHat requires Transform 2.1
-Optional: mapSplit requires Converter, Transform, Geom 2.1
-- Generator : octree2Struct open source
-- Generator : conformUnstr
-===============================================================================
-Generator 2.0 [26/06/2015]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.0
-Optional: pyTree interface requires Converter 2.0
-Optional: bbox requires Converter 2.0
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 2.0
-Optional: stitchedHat requires Transform 2.0
-Optional: mapSplit requires Converter, Transform, Geom 2.0
-- getTriQualityMap
-- interface basique pour netgen
-- interface basique pour tetgen
-- polyedral boolean operations
-- optimization of close (cleanConnectivity)
-===============================================================================
-Generator R.4 [16/01/2015]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.4
-Optional: pyTree interface requires Converter R.4
-Optional: bbox requires Converter R.4
-Optional: addNormalLayers, gencartmb, map require Converter, Transform R.4
-Optional: stitchedHat requires Transform R.4
-Optional: mapSplit requires Converter, Transform, Geom R.4
-- getEdgeRatio
-===============================================================================
-Generator R.3 [12/05/2014]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.3
-Optional: pyTree interface requires Converter R.3
-Optional: bbox requires Converter R.3
-Optional: addNormalLayers, gencartmb, map require Converter, Transform R.3
-Optional: stitchedHat requires Transform R.3
-Optional: mapSplit requires Converter, Transform, Geom R.3
-- optimisation close for structured grids
-===============================================================================
-Generator R.2 [15/11/2013]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.2
-Optional: pyTree interface requires Converter R.2
-Optional: bbox requires Converter R.2
-Optional: addNormalLayers, gencartmb, map require Converter, Transform R.2
-Optional: stitchedHat requires Transform R.2
-Optional: mapSplit requires Converter, Transform, Geom R.2
-===============================================================================
-Generator R.1 [22/05/2013]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.1
-Optional: pyTree interface requires Converter R.1
-Optional: bbox requires Converter R.1
-Optional: addNormalLayers, gencartmb, map require Converter, Transform R.1
-Optional: stitchedHat requires Transform R.1
-Optional: mapSplit requires Converter, Transform, Geom R.1
-===============================================================================
-Generator 1.10 [07/11/2012]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.10
-Optional: pyTree interface requires Converter 1.10
-Optional: bbox requires Converter 1.10
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.10
-Optional: stitchedHat requires Transform 1.10
-Optional: mapSplit requires Converter, Transform, Geom 1.10
-- BB.
-- octree+balancing for corner cells.
-- optimisation octree.
-===============================================================================
-Generator 1.9 [05/04/2012]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.9
-Optional: pyTree interface requires Converter 1.9
-Optional: bbox requires Converter 1.9
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.9
-Optional: stitchedHat requires Transform 1.9
-Optional: mapSplit requires Converter, Transform, Geom 1.9
-- surface walk.
-- collarMesh.
-- barycenter + weights.
-- refine.
-- PC1M + case 4.
-- mesh qual for unstructured grids.
-- new enforceCurvature.
-- mapCurvature.
-===============================================================================
-Generator 1.8 [22/09/2011]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.8
-Optional: pyTree interface requires Converter 1.8
-Optional: bbox requires Converter 1.8
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.8
-Optional: stitchedHat requires Transform 1.8
-Optional: mapSplit requires Converter, Transform, Geom 1.8
-- getOrthogonalityMap pour les maillages structures.
-- getInCircleMap.
-===============================================================================
-Generator 1.7 [17/03/2011]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.7
-Optional: pyTree interface requires Converter 1.7
-Optional: bbox requires Converter 1.7
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.7
-Optional: stitchedHat requires Transform 1.7
-Optional: mapSplit requires Converter, Transform, Geom 1.7
-- boolean operations
-- octree2Struct+AMR
-- addNormalLayers with smooth normals
-===============================================================================
-Generator 1.6 [27/10/2010]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.6
-Optional: pyTree interface requires Converter 1.6
-Optional: bbox requires Converter 1.6
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.6
-Optional: stitchedHat requires Transform 1.6
-Optional: mapSplit requires Converter, Transform, Geom 1.6
-- stack.
-- octree.
-- gapsmanager.
-- barycenter.
-===============================================================================
-Generator 1.5 [22/03/2010]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.5
-Optional: pyTree interface requires Converter 1.5
-Optional: bbox requires Converter 1.5
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.5
-Optional: stitchedHat requires Transform 1.5
-Optional: mapSplit requires Converter, Transform, Geom 1.5
-- changement interface TTM.
-- T3mesher2D.
-- gapfixer.
-===============================================================================
-Generator 1.4 [24/09/2009]
-Requires: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.4
-Optional: pyTree interface requires Converter 1.4
-Optional: bbox requires Converter 1.4
-Optional: addNormalLayers, gencartmb, map require Converter, Transform 1.4
-Optional: stitchedHat requires Transform 1.4
-Optional: mapSplit requires Converter, Transform, Geom 1.4
-- polyLineMesher et polyC1Mesher sont en pyTree
-- close pour une liste de maillages structures
-- gencart + CL en pyTree
-- bbox
-- stitched hat
-- selectInsideElts
-- mapSplit
-===============================================================================
-Generator 1.3 [19/05/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.3
-Optional: cartesian generation requires Cassiopee Kernel 1.3
-Optional: pyTree interface requires Converter 1.3
-Optional: map functions require Converter, Transform 1.3
-Optional: addNormalLayers, gencartmb require Converter, Post, Transform 1.3
-- map pour les surfaces structurees
-- map dans une direction
-- pointedHat
-- portage Linux/Ubuntu
-===============================================================================
-Generator 1.2 [27/11/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.2
-Optional: Cassiopee Kernel 1.2
-- monotonic enforce
-- polyLineMesher
-- delaunay
-- constrained delaunay
-- TFI3D structured, TFI TRI, TFI PENTA
-- splitSpline
-===============================================================================
-Generator 1.1 [24/06/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.1
-Optional: Cassiopee Kernel 0.0
-- simple patched cartesian generator (gencartmb).
-- close for unstructured meshes.
-- addNormalLayers.
-- grow.
-- getVolumeMap for unstructured arrays.
-===============================================================================
-Generator 1.0 [03/04/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.0
-Optional: Cassiopee Kernel 0.0
-- First release
+Generator
+Requires: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0, KCore
+Optional: pyTree interface requires Converter
+Optional: bbox requires Converter
+Optional: addNormalLayers, gencartmb, map require Converter, Transform
+Optional: stitchedHat requires Transform
+Optional: mapSplit requires Converter, Transform, Geom
===============================================================================
diff --git a/Cassiopee/Generator/doc/install b/Cassiopee/Generator/doc/install
index f6b9bebd0..706e5476b 100755
--- a/Cassiopee/Generator/doc/install
+++ b/Cassiopee/Generator/doc/install
@@ -53,13 +53,17 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Generator >& /dev/null
- pdflatex Generator_IBM >& /dev/null
+ pdflatex Generator
+ [ $? != 0 ] && exit 1;
+ pdflatex Generator_IBM
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Generator/doc/source/Generator.rst b/Cassiopee/Generator/doc/source/Generator.rst
index fe0ad9266..cc1e579c4 100644
--- a/Cassiopee/Generator/doc/source/Generator.rst
+++ b/Cassiopee/Generator/doc/source/Generator.rst
@@ -3,7 +3,8 @@
:tocdepth: 2
Generator: mesh generation module
-=========================================
+==================================
+
Preamble
########
@@ -1218,6 +1219,7 @@ Operations on meshes
* `Mesh closing (pyTree) `_:
.. literalinclude:: ../build/Examples/Generator/closePT.py
+
---------------------------------------
.. py:function:: Generator.zip(a, tol=1.e-12)
diff --git a/Cassiopee/Generator/doc/source/conf.py b/Cassiopee/Generator/doc/source/conf.py
index 1d2dc56b8..7e7ca5eca 100644
--- a/Cassiopee/Generator/doc/source/conf.py
+++ b/Cassiopee/Generator/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Generator/install b/Cassiopee/Generator/install
index c20591c68..5e586b191 100755
--- a/Cassiopee/Generator/install
+++ b/Cassiopee/Generator/install
@@ -61,8 +61,11 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
- python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ python -m pip install --no-cache-dir --no-binary=Generator --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
+ python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
fi
else
python setupLegacy.py install --prefix="$INSTALLPATH"
diff --git a/Cassiopee/Geom/doc/Geom.txt b/Cassiopee/Geom/doc/Geom.txt
index 05d1d1169..668cc8821 100644
--- a/Cassiopee/Geom/doc/Geom.txt
+++ b/Cassiopee/Geom/doc/Geom.txt
@@ -1,242 +1,8 @@
===============================================================================
-Geom 3.7 [XX/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-Optional: pyTree interface requires Converter 3.6
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.6
-Optional: sphere6 requires Transform, Generator 3.6
-Optional: text functions require Converter, Transform, Generator 3.6
-- offsetSurface (same as in tkFilter in the GUI)
-===============================================================================
-Geom 3.6 [03/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-Optional: pyTree interface requires Converter 3.6
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.6
-Optional: sphere6 requires Transform, Generator 3.6
-Optional: text functions require Converter, Transform, Generator 3.6
-- distrib1, distrib2: 1D distributions
-===============================================================================
-Geom 3.5 [12/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.5
-Optional: pyTree interface requires Converter 3.5
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.5
-Optional: sphere6 requires Transform, Generator 3.5
-Optional: text functions require Converter, Transform, Generator 3.5
-===============================================================================
-Geom 3.4 [07/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.4
-Optional: pyTree interface requires Converter 3.4
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.4
-Optional: sphere6 requires Transform, Generator 3.4
-Optional: text functions require Converter, Transform, Generator 3.4
-===============================================================================
-Geom 3.3 [10/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.3
-Optional: pyTree interface requires Converter 3.3
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.3
-Optional: sphere6 requires Transform, Generator 3.3
-Optional: text functions require Converter, Transform, Generator 3.3
-===============================================================================
-Geom 3.2 [02/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.2
-Optional: pyTree interface requires Converter 3.2
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.2
-Optional: sphere6 requires Transform, Generator 3.2
-Optional: text functions require Converter, Transform, Generator 3.2
-===============================================================================
-Geom 3.1 [06/2020]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.1
-Optional: pyTree interface requires Converter 3.1
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.1
-Optional: sphere6 requires Transform, Generator 3.1
-Optional: text functions require Converter, Transform, Generator 3.1
-===============================================================================
-Geom 3.0 [12/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.0
-Optional: pyTree interface requires Converter 3.0
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 3.0
-Optional: sphere6 requires Transform, Generator 3.0
-Optional: text functions require Converter, Transform, Generator 3.0
-===============================================================================
-Geom 2.9 [06/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.9
-Optional: pyTree interface requires Converter 2.9
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.9
-Optional: sphere6 requires Transform, Generator 2.9
-Optional: text functions require Converter, Transform, Generator 2.9
-===============================================================================
-Geom 2.8 [12/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.8
-Optional: pyTree interface requires Converter 2.8
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.8
-Optional: sphere6 requires Transform, Generator 2.8
-Optional: text functions require Converter, Transform, Generator 2.8
-- lineDrive, orthoDrive: creation de maillage de surface ou volumique par sweeping
-===============================================================================
-Geom 2.7 [07/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.7
-Optional: pyTree interface requires Converter 2.7
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.7
-Optional: sphere6 requires Transform, Generator 2.7
-Optional: text functions require Converter, Transform, Generator 2.7
-- naca: nouveaux profils (par F. Moens)
-- uniformize: uniformisation de maillages 1D
-- refine: raffinement de maillages 1D
-- enforceh: remaillage de courbes 1D en imposant des tailles de mailles
-===============================================================================
-Geom 2.6 [03/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.6
-Optional: pyTree interface requires Converter 2.6
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.6
-Optional: sphere6 requires Transform, Generator 2.6
-Optional: text functions require Converter, Transform, Generator 2.6
-===============================================================================
-Geom 2.5 [20/09/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.5
-Optional: pyTree interface requires Converter 2.5
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.5
-Optional: sphere6 requires Transform, Generator 2.5
-Optional: text functions require Converter, Transform, Generator 2.5
-===============================================================================
-Geom 2.4 [29/03/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.4
-Optional: pyTree interface requires Converter 2.4
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.4
-Optional: sphere6 requires Transform, Generator 2.4
-Optional: text functions require Converter, Transform, Generator 2.4
-- axisym + varying R
-===============================================================================
-Geom 2.3 [28/11/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.3
-Optional: pyTree interface requires Converter 2.3
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.3
-Optional: sphere6 requires Transform, Generator 2.3
-Optional: text functions require Converter, Transform, Generator 2.3
-===============================================================================
-Geom 2.2 [29/06/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.2
-Optional: pyTree interface requires Converter 2.2
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.2
-Optional: sphere6 requires Transform, Generator 2.2
-Optional: text functions require Converter, Transform, Generator 2.2
-===============================================================================
-Geom 2.1 [15/01/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.1
-Optional: pyTree interface requires Converter 2.1
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.1
-Optional: sphere6 requires Transform, Generator 2.1
-Optional: text functions require Converter, Transform, Generator 2.1
-- Geom : lineGenerate with multiple driving curves
-===============================================================================
-Geom 2.0 [26/06/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.0
-Optional: pyTree interface requires Converter 2.0
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 2.0
-Optional: sphere6 requires Transform, Generator 2.0
-Optional: text functions require Converter, Transform, Generator 2.0
-===============================================================================
-Geom R.4 [16/01/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.4
-Optional: pyTree interface requires Converter R.4
-Optional: volumeFromCrossSections requires Converter, Transform, Generator R.4
-Optional: sphere6 requires Transform, Generator R.4
-Optional: text functions require Converter, Transform, Generator R.4
-- sphereYinYang
-===============================================================================
-Geom R.3 [12/05/2014]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.3
-Optional: pyTree interface requires Converter R.3
-Optional: volumeFromCrossSections requires Converter, Transform, Generator R.3
-Optional: sphere6 requires Transform, Generator R.3
-Optional: text functions require Converter, Transform, Generator R.3
-===============================================================================
-Geom R.2 [15/11/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.2
-Optional: pyTree interface requires Converter R.2
-Optional: volumeFromCrossSections requires Converter, Transform, Generator R.2
-Optional: sphere6 requires Transform, Generator R.2
-Optional: text functions require Converter, Transform, Generator R.2
-- data base for UIUC airfoils
-- curvatureHeight
-===============================================================================
-Geom R.1 [22/05/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.1
-Optional: pyTree interface requires Converter R.1
-Optional: volumeFromCrossSections requires Converter, Transform, Generator R.1
-Optional: sphere6 requires Transform, Generator R.1
-Optional: text functions require Converter, Transform, Generator R.1
-===============================================================================
-Geom 1.10 [07/11/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.10
-Optional: pyTree interface requires Converter 1.10
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.10
-Optional: sphere6 requires Transform, Generator 1.10
-Optional: text functions require Converter, Transform, Generator 1.10
-- new fonts.
-===============================================================================
-Geom 1.9 [05/04/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.9
-Optional: pyTree interface requires Converter 1.9
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.9
-Optional: sphere6 function requires Transform, Generator 1.9
-Optional: text functions require Converter, Transform, Generator 1.9
-- lineGenerate for unstructured grids.
-- point.
-===============================================================================
-Geom 1.8 [22/09/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.8
-Optional: pyTree interface requires Converter 1.8
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.8
-Optional: sphere6 function requires Transform, Generator 1.8
-Optional: text functions require Converter, Transform, Generator 1.8
-===============================================================================
-Geom 1.7 [17/03/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.7
-Optional: pyTree interface requires Converter 1.7
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.7
-Optional: sphere6 function requires Transform, Generator 1.7
-Optional: text functions require Converter, Transform, Generator 1.7
-===============================================================================
-Geom 1.6 [27/10/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.6
-Optional: pyTree interface requires Converter 1.6
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.6
-Optional: sphere6 function requires Transform, Generator 1.6
-Optional: text functions require Converter, Transform, Generator 1.6
-===============================================================================
-Geom 1.5 [22/03/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.5
-Optional: pyTree interface requires Converter 1.5
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.5
-Optional: sphere6 function requires Transform, Generator 1.5
-Optional: text functions require Converter, Transform, Generator 1.5
-- torus
-===============================================================================
-Geom 1.4 [24/09/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.4
-Optional: pyTree interface requires Converter 1.4
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.4
-Optional: sphere6 function requires Transform, Generator 1.4
-Optional: text functions require Converter, Transform, Generator 1.4
-- sphere6
-===============================================================================
-Geom 1.3 [19/05/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.3
-Optional: volumeFromCrossSections requires Converter, Transform, Generator 1.3
-Optional: pyTree interface requires Converter 1.3
-- axisym
-- portage Linux/Ubuntu
-===============================================================================
-Geom 1.2 [27/11/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.2
-- getCurvatureAngle for BAR-meshes
-- volumeFromCrossSections (experimental)
-- spline
-===============================================================================
-Geom 1.1 [24/06/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.1
-- getLength, getCurvilinearAbscissa for BAR-meshes.
-===============================================================================
-Geom 1.0 [03/04/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.0
-- First release
+Geom
+Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore
+Optional: pyTree interface requires Converter
+Optional: volumeFromCrossSections requires Converter, Transform, Generator
+Optional: sphere6 requires Transform, Generator
+Optional: text functions require Converter, Transform, Generator
===============================================================================
diff --git a/Cassiopee/Geom/doc/install b/Cassiopee/Geom/doc/install
index 5c0bfc680..94eaa60f6 100755
--- a/Cassiopee/Geom/doc/install
+++ b/Cassiopee/Geom/doc/install
@@ -52,25 +52,28 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
-
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Geom >& /dev/null
- pdflatex Geom_IBM >& /dev/null
+ pdflatex Geom
+ [ $? != 0 ] && exit 1;
+ pdflatex Geom_IBM
+ [ $? != 0 ] && exit 1;
cd ..
fi
# Copie dans le DEST
if ([ $PRODUCTION -eq 1 ])
then
- sed -i 's/Geom.Geom/Geom/g' build/Geom.html
+ sed -i 's/Geom.Geom/.Geom/g' build/Geom.html
cp build/Geom.html $DEST
cp build/Geom.pdf $DEST
- sed -i 's/Geom.Geom_IBM.Geom.Geom_IBM/Geom.Geom_IBM/g' build/Geom_IBM.html
+ sed -i 's/Geom.IBM.Geom.IBM/Geom.IBM/g' build/Geom_IBM.html
sed -i 's/Geom\.pdf/Geom_IBM\.pdf/g' build/Geom_IBM.html
cp build/Geom_IBM.html $DEST
cp build/Geom_IBM.pdf $DEST
diff --git a/Cassiopee/Geom/doc/source/Geom.rst b/Cassiopee/Geom/doc/source/Geom.rst
index ad4bbfe00..6c73c8f17 100644
--- a/Cassiopee/Geom/doc/source/Geom.rst
+++ b/Cassiopee/Geom/doc/source/Geom.rst
@@ -118,7 +118,7 @@ A polyline is defined as a C0 i-array which contains only the polyline points (w
Create a point of coordinates P=(x,y,z).
- :param P: (x,y,z) of point
+ :param P: (x,y,z) of point
:type P: 3-tuple of floats
:return: a point
:rtype: one array/zone (NODE)
diff --git a/Cassiopee/Geom/doc/source/conf.py b/Cassiopee/Geom/doc/source/conf.py
index eb5eb059d..aa4e985be 100644
--- a/Cassiopee/Geom/doc/source/conf.py
+++ b/Cassiopee/Geom/doc/source/conf.py
@@ -1,16 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Geom documentation build configuration file, created by
-# sphinx-quickstart on Sat Jun 25 13:03:52 2016.
-#
-# This file is execfile()d with the current directory set to its
-# containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
+# Geom
import sys
import os
@@ -182,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Geom/install b/Cassiopee/Geom/install
index 6cc0c4683..2d0e9c990 100755
--- a/Cassiopee/Geom/install
+++ b/Cassiopee/Geom/install
@@ -62,8 +62,11 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
- python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ python -m pip install --no-cache-dir --no-binary=Geom --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
+ python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
fi
else
python setupLegacy.py install --prefix="$INSTALLPATH"
diff --git a/Cassiopee/Initiator/doc/Initiator.txt b/Cassiopee/Initiator/doc/Initiator.txt
index 66d50de85..2ca005fb8 100644
--- a/Cassiopee/Initiator/doc/Initiator.txt
+++ b/Cassiopee/Initiator/doc/Initiator.txt
@@ -1,131 +1,5 @@
===============================================================================
-Initiator 3.7 [10/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.7
-Optional: pyTree interface requires Converter 3.7
-===============================================================================
-Initiator 3.6 [03/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.6
-Optional: pyTree interface requires Converter 3.6
-===============================================================================
-Initiator 3.5 [12/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.5
-Optional: pyTree interface requires Converter 3.5
-===============================================================================
-Initiator 3.4 [07/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.4
-Optional: pyTree interface requires Converter 3.4
-===============================================================================
-Initiator 3.3 [10/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.3
-Optional: pyTree interface requires Converter 3.3
-===============================================================================
-Initiator 3.2 [02/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.2
-Optional: pyTree interface requires Converter 3.2
-===============================================================================
-Initiator 3.1 [06/2020]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.1
-Optional: pyTree interface requires Converter 3.1
-===============================================================================
-Initiator 3.0 [12/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 3.0
-Optional: pyTree interface requires Converter 3.0
-===============================================================================
-Initiator 2.8 [12/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.8
-Optional: pyTree interface requires Converter 2.8
-===============================================================================
-Initiator 2.7 [07/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.7
-Optional: pyTree interface requires Converter 2.7
-===============================================================================
-Initiator 2.6 [03/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.6
-Optional: pyTree interface requires Converter 2.6
-===============================================================================
-Initiator 2.5 [20/09/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.5
-Optional: pyTree interface requires Converter 2.5
-===============================================================================
-Initiator 2.4 [29/03/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.4
-Optional: pyTree interface requires Converter 2.4
-===============================================================================
-Initiator 2.3 [28/11/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.3
-Optional: pyTree interface requires Converter 2.3
-===============================================================================
-Initiator 2.2 [29/06/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.2
-Optional: pyTree interface requires Converter 2.2
-===============================================================================
-Initiator 2.1 [15/01/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.1
-Optional: pyTree interface requires Converter 2.1
-===============================================================================
-Initiator 2.0 [26/06/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 2.0
-Optional: pyTree interface requires Converter 2.0
-===============================================================================
-Initiator R.4 [16/01/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.4
-Optional: pyTree interface requires Converter R.4
-===============================================================================
-Initiator R.3 [12/05/2014]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.3
-Optional: pyTree interface requires Converter R.3
-===============================================================================
-Initiator R.2 [15/11/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.2
-Optional: pyTree interface requires Converter R.2
-===============================================================================
-Initiator R.1 [22/05/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore R.1
-Optional: pyTree interface requires Converter R.1
-===============================================================================
-Initiator 1.10 [07/11/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.10
-Optional: pyTree interface requires Converter 1.10
-===============================================================================
-Initiator 1.9 [05/04/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.9
-Optional: pyTree interface requires Converter 1.9
-===============================================================================
-Initiator 1.8 [22/09/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.8
-Optional: pyTree interface requires Converter 1.8
-===============================================================================
-Initiator 1.7 [17/03/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.7
-Optional: pyTree interface requires Converter 1.7
-===============================================================================
-Initiator 1.6 [27/10/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.6
-Optional: pyTree interface requires Converter 1.6
-- Initiator : initLamb : for unstructured grids.
-- Initiator : initVisbal : for unstructured grids.
-- Initiator : initScully : for unstructured grids.
-- Initiator : overlayField : for unstructured grids.
-===============================================================================
-Initiator 1.5 [22/03/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.5
-Optional: pyTree interface requires Converter 1.5
-===============================================================================
-Initiator 1.4 [24/09/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.4
-Optional: pyTree interface requires Converter 1.4
-- passage en pyTree
-===============================================================================
-Initiator 1.3 [19/05/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.3
-===============================================================================
-Initiator 1.2 [27/11/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.2
-===============================================================================
-Initiator 1.1 [24/06/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.1
-===============================================================================
-Initiator 1.0 [03/04/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0, KCore 1.0
-- First release
+Initiator
+Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
+Optional: pyTree interface requires Converter
===============================================================================
diff --git a/Cassiopee/Initiator/doc/install b/Cassiopee/Initiator/doc/install
index 7914b7aae..b14ba1473 100755
--- a/Cassiopee/Initiator/doc/install
+++ b/Cassiopee/Initiator/doc/install
@@ -53,12 +53,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Initiator >& /dev/null
+ pdflatex Initiator
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Initiator/doc/source/conf.py b/Cassiopee/Initiator/doc/source/conf.py
index 0e0422501..023eec3d5 100644
--- a/Cassiopee/Initiator/doc/source/conf.py
+++ b/Cassiopee/Initiator/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Initiator/install b/Cassiopee/Initiator/install
index 5262e2eca..90a48a0a3 100755
--- a/Cassiopee/Initiator/install
+++ b/Cassiopee/Initiator/install
@@ -62,6 +62,9 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
+ python -m pip install --no-cache-dir --no-binary=Initiator --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/Intersector/doc/Intersector.txt b/Cassiopee/Intersector/doc/Intersector.txt
index 9d80fef83..e923c984e 100644
--- a/Cassiopee/Intersector/doc/Intersector.txt
+++ b/Cassiopee/Intersector/doc/Intersector.txt
@@ -1,84 +1,6 @@
===============================================================================
-Intersector 3.7 [10/2023]
+Intersector
Require: C++ compiler, python > 2.7, numpy > 1.0, Transform, Generator,
-KCore 3.7
-Optional: pyTree interface requires Converter 3.7
-- xcellN: export "ratio" instead of "xcellN"
-===============================================================================
-Intersector 3.6 [03/2023]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.6
-Optional: pyTree interface requires Converter 3.6
-===============================================================================
-Intersector 3.5 [12/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.5
-Optional: pyTree interface requires Converter 3.5
-===============================================================================
-Intersector 3.4 [07/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.4
-Optional: pyTree interface requires Converter 3.4
-===============================================================================
-Intersector 3.3[10/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.3
-Optional: pyTree interface requires Converter 3.3
-- syncMatchPerioFaces: force periodicity on intersected/adapted meshes.
-- agglomerateSmallCells: improved algorithm
-===============================================================================
-Intersector 3.2[02/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.2
-Optional: pyTree interface requires Converter 3.2
-Intersector : adaptCells : cell_sensor mode : to specify the isotropic nb of subdivisions required per cell
-- adaptCells: coarse-grain multithreading (parallelism per block)
-- adaptCells: BC/Joins/Field preservation
-- adaptCells: Mesh & Sensor hooks for incremental adaptation
-- TurboMachine.py: specific wrappers to use the intersection strategy for mesh generation for turbo machine applications
-===============================================================================
-Intersector 3.1 [06/2020]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.1
-Optional: pyTree interface requires Converter 3.1
-- XcellN: Chimera Post Processing feature for computing visibility coefficients on overset surface grids configurations of any kind (structured or polygonal unstructured)
-- adaptCells: smoothing_type option to extend the smoothing beyond the first neighborhood
-- booleanUnion: multi_zone option to preserve zoning of the configuration
-===============================================================================
-Intersector 3.0 [12/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 3.0
-Optional: pyTree interface requires Converter 3.0
-===============================================================================
-Intersector 2.9 [06/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 2.9
-Optional: pyTree interface requires Converter 2.9
-===============================================================================
-Intersector 2.8 [12/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 2.8
-Optional: pyTree interface requires Converter 2.8
-===============================================================================
-Intersector 2.7 [07/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 2.7
-Optional: pyTree interface requires Converter 2.7
-===============================================================================
-Intersector 2.6 [03/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 2.6
-Optional: pyTree interface requires Converter 2.6
-===============================================================================
-Intersector 2.5 [20/09/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 2.5
-Optional: pyTree interface requires Converter 2.5
-===============================================================================
-Intersector 2.4 [29/03/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, Transform, Generator,
-KCore 2.4
-Optional: pyTree interface requires Converter 2.4
-- Creation
-- XCellN
+KCore
+Optional: pyTree interface requires Converter
===============================================================================
diff --git a/Cassiopee/Intersector/doc/install b/Cassiopee/Intersector/doc/install
index e346e862d..622436a9c 100755
--- a/Cassiopee/Intersector/doc/install
+++ b/Cassiopee/Intersector/doc/install
@@ -53,12 +53,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Intersector >& /dev/null
+ pdflatex Intersector
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Intersector/doc/source/conf.py b/Cassiopee/Intersector/doc/source/conf.py
index db731c5f9..d83322674 100644
--- a/Cassiopee/Intersector/doc/source/conf.py
+++ b/Cassiopee/Intersector/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Intersector/install b/Cassiopee/Intersector/install
index 50b99c4bb..2e1a772a7 100755
--- a/Cassiopee/Intersector/install
+++ b/Cassiopee/Intersector/install
@@ -62,8 +62,11 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
- python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ python -m pip install --no-cache-dir --no-binary=Intersector --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then
+ python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
fi
else
python setupLegacy.py install --prefix="$INSTALLPATH"
diff --git a/Cassiopee/KCore/Dist.py b/Cassiopee/KCore/Dist.py
index 5d03253f9..8b0ddb068 100644
--- a/Cassiopee/KCore/Dist.py
+++ b/Cassiopee/KCore/Dist.py
@@ -299,7 +299,10 @@ def writeInstallPath():
pythonLib = distutils.sysconfig.get_python_lib()
pythonLib = pythonLib.split('/')
Lib = pythonLib[-3]
- p.write('libPath = \'%s/%s\'\n'%(prefix,Lib))
+ if os.environ['ELSAPROD'][0:6] == 'ubuntu': # debian style
+ p.write('libPath = \'%s/local/%s\'\n'%(prefix,Lib))
+ else:
+ p.write('libPath = \'%s/%s\'\n'%(prefix,Lib))
p.write('includePath = \'%s\'\n'%(os.getcwd()))
p.close()
@@ -846,8 +849,8 @@ def getCArgs():
return options
elif Cppcompiler.find("gcc") == 0 or Cppcompiler.find("g++") == 0:
if DEBUG:
- options += ['-g', '-O0', '-Wall', '-pedantic', '-D_GLIBCXX_DEBUG_PEDANTIC']
- #options += ['-g', '-O0', '-Wall', '-pedantic', '-D_GLIBCXX_DEBUG_PEDANTIC', '-fsanitize=address']
+ options += ['-g', '-O0', '-Wall', '-pedantic', '-D_GLIBCXX_DEBUG_PEDANTIC']
+ options += ['-fsanitize=address']
else: options += ['-DNDEBUG', '-O3', '-Wall', '-Werror=return-type']
if useOMP() == 1: options += ['-fopenmp']
if useStatic() == 1: options += ['--static', '-static-libstdc++', '-static-libgcc']
@@ -2042,13 +2045,17 @@ def checkCppLibs(additionalLibs=[], additionalLibPaths=[], Cppcompiler=None,
cflags = sysconfig.get_config_var('CFLAGS')
sysconfig._config_vars['CFLAGS'] = '' # kill setup flags for CC
sysconfig._config_vars['LDFLAGS'] = '' # kill setup flags for LD
+
l = checkLibFile__('libstdc++.so*', additionalLibPaths)
if l is None:
l = checkLibFile__('libstdc++.a', additionalLibPaths)
-
if l is not None:
libs += ['stdc++']; paths += [l]
+ if DEBUG:
+ l = checkLibFile__('libasan.so*', additionalLibPaths)
+ if l is not None: libs += ["asan"]
+
if useOMP:
l = checkLibFile__('libgomp.so*', additionalLibPaths)
if l is None:
diff --git a/Cassiopee/KCore/KCore/Nuga/include/DynArray.h b/Cassiopee/KCore/KCore/Nuga/include/DynArray.h
index 01a29ace2..50661b51b 100644
--- a/Cassiopee/KCore/KCore/Nuga/include/DynArray.h
+++ b/Cassiopee/KCore/KCore/Nuga/include/DynArray.h
@@ -20,7 +20,6 @@
#ifndef _KCORE_DYNARRAY_H_
#define _KCORE_DYNARRAY_H_
-#include
#include
#include "Nuga/include/defs.h"
#ifndef NUGALIB
diff --git a/Cassiopee/KCore/KCore/Nuga/src/Polygon.cpp b/Cassiopee/KCore/KCore/Nuga/src/Polygon.cpp
index 95638c34b..9f7e9f928 100644
--- a/Cassiopee/KCore/KCore/Nuga/src/Polygon.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/Polygon.cpp
@@ -16,7 +16,7 @@
You should have received a copy of the GNU General Public License
along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/Polygon.h"
#include "Nuga/include/IdTool.h"
diff --git a/Cassiopee/KCore/KCore/Nuga/src/PostNodeAssociator.cpp b/Cassiopee/KCore/KCore/Nuga/src/PostNodeAssociator.cpp
index 98ffd66d9..da2573521 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/PostNodeAssociator.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/PostNodeAssociator.cpp
@@ -1,13 +1,23 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/PostNodeAssociator.h"
#include "Nuga/include/KdTree.h"
diff --git a/Cassiopee/KCore/KCore/Nuga/src/SwapperT3.cpp b/Cassiopee/KCore/KCore/Nuga/src/SwapperT3.cpp
index c34479ddf..822f89ef9 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/SwapperT3.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/SwapperT3.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : S�m Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
//#define DEBUG_SWAPPER
diff --git a/Cassiopee/KCore/KCore/Nuga/src/TRI_BooleanOperator.cpp b/Cassiopee/KCore/KCore/Nuga/src/TRI_BooleanOperator.cpp
index 16e0cfc03..e2eac2bde 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/TRI_BooleanOperator.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/TRI_BooleanOperator.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/TRI_BooleanOperator.h"
#include "Nuga/include/TRI_Conformizer.h"
diff --git a/Cassiopee/KCore/KCore/Nuga/src/TRI_debug.cpp b/Cassiopee/KCore/KCore/Nuga/src/TRI_debug.cpp
index c638bac90..80399572c 100644
--- a/Cassiopee/KCore/KCore/Nuga/src/TRI_debug.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/TRI_debug.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#if defined(DEBUG_CONFORMIZER) || defined(DEBUG_BOOLEAN)
diff --git a/Cassiopee/KCore/KCore/Nuga/src/TSSplitter.cpp b/Cassiopee/KCore/KCore/Nuga/src/TSSplitter.cpp
index f22698b24..e602ceb72 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/TSSplitter.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/TSSplitter.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/TSSplitter.h"
#include "Nuga/include/Triangle.h"
diff --git a/Cassiopee/KCore/KCore/Nuga/src/Tetrahedron.cpp b/Cassiopee/KCore/KCore/Nuga/src/Tetrahedron.cpp
index b6544e8d7..87344fb9d 100644
--- a/Cassiopee/KCore/KCore/Nuga/src/Tetrahedron.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/Tetrahedron.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/Tetrahedron.h"
diff --git a/Cassiopee/KCore/KCore/Nuga/src/Triangle.cpp b/Cassiopee/KCore/KCore/Nuga/src/Triangle.cpp
index 375e4be87..a9b74992d 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/Triangle.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/Triangle.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : S�m Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/Triangle.h"
#include
diff --git a/Cassiopee/KCore/KCore/Nuga/src/Triangulator.cpp b/Cassiopee/KCore/KCore/Nuga/src/Triangulator.cpp
index fe704dd74..de76f6fbf 100644
--- a/Cassiopee/KCore/KCore/Nuga/src/Triangulator.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/Triangulator.cpp
@@ -1,13 +1,22 @@
-/*
+/*
+ Copyright 2013-2024 Onera.
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
---------- NUGA v1.0
-
-
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/Triangulator.h"
#include "Nuga/include/T3Mesher.h"
diff --git a/Cassiopee/KCore/KCore/Nuga/src/UBSSurface.cpp b/Cassiopee/KCore/KCore/Nuga/src/UBSSurface.cpp
index f352190b0..ffed1bd65 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/UBSSurface.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/UBSSurface.cpp
@@ -1,11 +1,20 @@
-/*
-
-
+/*
+ Copyright 2013-2024 Onera.
---------- NUGA v1.0
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
//Authors : Sam Landier (sam.landier@onera.fr)
diff --git a/Cassiopee/KCore/KCore/Nuga/src/Zipper.cpp b/Cassiopee/KCore/KCore/Nuga/src/Zipper.cpp
index 3d40a739b..f33535ee3 100755
--- a/Cassiopee/KCore/KCore/Nuga/src/Zipper.cpp
+++ b/Cassiopee/KCore/KCore/Nuga/src/Zipper.cpp
@@ -1,13 +1,22 @@
-/*
-
-
+/*
+ Copyright 2013-2024 Onera.
---------- NUGA v1.0
+ This file is part of Cassiopee.
+ Cassiopee is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ Cassiopee is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with Cassiopee. If not, see .
*/
-//Authors : Sâm Landier (sam.landier@onera.fr)
+//Authors : Sam Landier (sam.landier@onera.fr)
#include "Nuga/include/Zipper.h"
#include "Nuga/include/MeshTool.h"
diff --git a/Cassiopee/KCore/KCore/empty.cpp b/Cassiopee/KCore/KCore/empty.cpp
index 6cf8e7954..8ed4f82be 100644
--- a/Cassiopee/KCore/KCore/empty.cpp
+++ b/Cassiopee/KCore/KCore/empty.cpp
@@ -133,5 +133,6 @@ PyObject* K_KCORE::empty(PyObject* self, PyObject* args)
Py_INCREF(arr);
FLAG2(arr);
}
+ free(buf);
return arr;
}
diff --git a/Cassiopee/KCore/doc/KCore.txt b/Cassiopee/KCore/doc/KCore.txt
index dd8e98759..123cc07af 100644
--- a/Cassiopee/KCore/doc/KCore.txt
+++ b/Cassiopee/KCore/doc/KCore.txt
@@ -1,104 +1,4 @@
===============================================================================
-KCore 3.7 [10/2023]
+KCore 3.7
Require: C++ compiler, f77 compiler, python > 2.7, numpy > 1.0
===============================================================================
-KCore 3.6 [03/2023]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 3.5 [12/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 3.4 [07/2022]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 3.3 [10/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-- Adim: add Mtip
-===============================================================================
-KCore 3.2 [02/2021]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 3.1 [06/2020]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 3.0 [12/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.9 [06/2019]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.8 [12/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.7 [12/07/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.6 [12/04/2018]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.5 [20/09/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.4 [29/03/2017]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.3 [28/11/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.2 [29/06/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.1 [15/01/2016]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 2.0 [26/06/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-- improvement of KCore.test
-===============================================================================
-KCore R.4 [16/01/2015]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore R.3 [12/05/2014]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore R.2 [15/11/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore R.1 [22/05/2013]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.10 [07/11/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.9 [05/04/2012]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.8 [22/09/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.7 [17/03/2011]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.6 [27/10/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.5 [22/03/2010]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.4 [24/09/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.3 [19/05/2009]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.2 [27/11/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-- Computational geometry routines
-===============================================================================
-KCore 1.1 [24/06/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-===============================================================================
-KCore 1.0 [03/04/2008]
-Require: C++ compiler, f77 compiler, python > 2.4, numpy > 1.0
-- First release
-===============================================================================
diff --git a/Cassiopee/KCore/doc/install b/Cassiopee/KCore/doc/install
index 97e66f5f9..f59d0023c 100755
--- a/Cassiopee/KCore/doc/install
+++ b/Cassiopee/KCore/doc/install
@@ -56,12 +56,10 @@ sed -i 's/Converter\.elsAProfile\.Converter\.elsAProfile/Converter\.elsAProfile/
sed -i 's/Converter\.Filter\.Converter\.Filter/Converter\.Filter/g' $FILE
sed -i 's/Converter\.Converter\.PyTree/Converter\.PyTree/g' $FILE
sed -i 's/Converter\.Converter\.Array3D/Converter\.Array3D/g' $FILE
-sed -i 's/Converter\.Converter/converter/g' $FILE
-#sed -i 's/Converter\:{/converter\:{/g' $FILE
+sed -i 's/Converter\.Converter/\.Converter/g' $FILE # add . to avoid mismatch
sed -i 's/Geom\.IBM\.Geom\.IBM/Geom\.IBM/g' $FILE
-sed -i 's/Geom\.Geom/geom/g' $FILE
-#sed -i 's/Geom\:{/geom\:{/g' $FILE
+sed -i 's/Geom\.Geom/\.Geom/g' $FILE # add . to avoid mismatch
sed -i 's/Compressor\.Compressor/Compressor/g' $FILE
sed -i 's/Initiator\.Initiator/Initiator/g' $FILE
@@ -74,16 +72,17 @@ sed -i 's/Distributor2\.Distributor2/Distributor2/g' $FILE
sed -i 's/Post\.Rotor\.Post\.Rotor/Post\.Rotor/g' $FILE
sed -i 's/Post\.IBM\.Post\.IBM/Post\.IBM/g' $FILE
sed -i 's/Post\.ExtraVariables2\.Post\.ExtraVariables2/Post\.ExtraVariables2/g' $FILE
-sed -i 's/Post\.Post/post/g' $FILE
-#sed -i 's/Post\:{/post\:{/g' $FILE
+sed -i 's/Post\.Post/Post/g' $FILE
sed -i 's/RigidMotion\.RigidMotion/RigidMotion/g' $FILE
sed -i 's/CPlot\.Decorator\.CPlot\.Decorator/CPlot\.Decorator/g' $FILE
-sed -i 's/CPlot\.CPlot/cplot/g' $FILE
-#sed -i 's/CPlot\:{/cplot\:{/g' $FILE
+sed -i 's/CPlot\.CPlot/\.CPlot/g' $FILE # FAIL
+#sed -i 's/CPlot\:{/CPlot\:{/g' $FILE
sed -i 's/Intersector\.Intersector/Intersector/g' $FILE
+sed -i 's/OCC\.OCC/OCC/g' $FILE
+
# meme modif de genindex
FILE=build/genindex.html
@@ -93,11 +92,11 @@ sed -i 's/Converter\.elsAProfile\.Converter\.elsAProfile/Converter\.elsAProfile/
sed -i 's/Converter\.Filter\.Converter\.Filter/Converter\.Filter/g' $FILE
sed -i 's/Converter\.Converter\.PyTree/Converter\.PyTree/g' $FILE
sed -i 's/Converter\.Converter\.Array3D/Converter\.Array3D/g' $FILE
-sed -i 's/Converter\.Converter/converter/g' $FILE
+sed -i 's/Converter\.Converter/Converter/g' $FILE
#sed -i 's/Converter\:{/converter\:{/g' $FILE
sed -i 's/Geom\.IBM\.Geom\.IBM/Geom\.IBM/g' $FILE
-sed -i 's/Geom\.Geom/geom/g' $FILE
+sed -i 's/Geom\.Geom/Geom/g' $FILE
#sed -i 's/Geom\:{/geom\:{/g' $FILE
sed -i 's/Compressor\.Compressor/Compressor/g' $FILE
@@ -111,16 +110,16 @@ sed -i 's/Distributor2\.Distributor2/Distributor2/g' $FILE
sed -i 's/Post\.IBM\.Post\.IBM/Post\.IBM/g' $FILE
sed -i 's/Post\.Rotor\.Post\.Rotor/Post\.Rotor/g' $FILE
sed -i 's/Post\.ExtraVariables2\.Post\.ExtraVariables2/Post\.ExtraVariables2/g' $FILE
-sed -i 's/Post\.Post/post/g' $FILE
-#sed -i 's/Post\:{/post\:{/g' $FILE
+sed -i 's/Post\.Post/Post/g' $FILE
sed -i 's/RigidMotion\.RigidMotion/RigidMotion/g' $FILE
sed -i 's/CPlot\.Decorator\.CPlot\.Decorator/CPlot\.Decorator/g' $FILE
-sed -i 's/CPlot\.CPlot/cplot/g' $FILE
+sed -i 's/CPlot\.CPlot/CPlot/g' $FILE
#sed -i 's/CPlot\:{/cplot\:{/g' $FILE
sed -i 's/Intersector\.Intersector/Intersector/g' $FILE
+sed -i 's/OCC\.OCC/OCC/g' $FILE
cp build/searchindex.js $DEST
cp build/genindex.html $DEST
diff --git a/Cassiopee/KCore/doc/source/Geom.rst b/Cassiopee/KCore/doc/source/Geom.rst
index ad4bbfe00..6c73c8f17 100644
--- a/Cassiopee/KCore/doc/source/Geom.rst
+++ b/Cassiopee/KCore/doc/source/Geom.rst
@@ -118,7 +118,7 @@ A polyline is defined as a C0 i-array which contains only the polyline points (w
Create a point of coordinates P=(x,y,z).
- :param P: (x,y,z) of point
+ :param P: (x,y,z) of point
:type P: 3-tuple of floats
:return: a point
:rtype: one array/zone (NODE)
diff --git a/Cassiopee/KCore/doc/source/Internal.rst b/Cassiopee/KCore/doc/source/Internal.rst
index cc92fd695..a817aae0e 100644
--- a/Cassiopee/KCore/doc/source/Internal.rst
+++ b/Cassiopee/KCore/doc/source/Internal.rst
@@ -2,8 +2,8 @@
:tocdepth: 2
-Internal: CGNS/Python tree management
-=========================================
+Converter.Internal: CGNS/Python tree management
+===============================================
Preamble
diff --git a/Cassiopee/KCore/doc/source/conf.py b/Cassiopee/KCore/doc/source/conf.py
index 8e91adbb2..949c447b6 100644
--- a/Cassiopee/KCore/doc/source/conf.py
+++ b/Cassiopee/KCore/doc/source/conf.py
@@ -1,16 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Cassiopee documentation build configuration file, created by
-# sphinx-quickstart on Sat Jun 25 13:03:52 2016.
-#
-# This file is execfile()d with the current directory set to its
-# containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
+# Cassiopee documentation
import sys
import os
@@ -178,7 +168,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/KCore/install b/Cassiopee/KCore/install
index e0214acd2..e7c092f82 100755
--- a/Cassiopee/KCore/install
+++ b/Cassiopee/KCore/install
@@ -63,13 +63,13 @@ if [ $PRODMODE -le 1 ]; then
rm -f build/lib.*/KCore/kcore.*
rm -f build/lib.*/KCore/kcore-*.*
python -c "import Dist; Dist.symLinks()"
- if [ $PRODMODE -eq 0 ]; then
+ if [ $PRODMODE -eq 0 ]; then # setup
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
- elif [ $PRODMODE -eq 1 ]; then
- #rep=`python -c "import sys; print('%d.%d'%(sys.version_info[0],sys.version_info[1]))"`
- #rep="$INSTALLPATH/lib/python"$rep"/site-packages"
- #python -m pip install --ignore-installed --upgrade --target=$rep .
+ elif [ $PRODMODE -eq 1 ]; then # pip+no wheel
+ python -m pip install --no-cache-dir --no-binary=KCore --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+ elif [ $PRODMODE -eq 2 ]; then # pip+wheel
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/KCore/test/compareSessionLogs.py b/Cassiopee/KCore/test/compareSessionLogs.py
index 04f9ec59a..99b8f36d4 100644
--- a/Cassiopee/KCore/test/compareSessionLogs.py
+++ b/Cassiopee/KCore/test/compareSessionLogs.py
@@ -179,6 +179,7 @@ def stringify(test='', ref='', new=''):
compStr += failedTestsHeader
for test in failedTests:
compStr += stringify(test)
+ baseState = 'FAILED'
else: compStr += failedTestsHeader + "[none]\n"
execTime = []
@@ -202,7 +203,7 @@ def stringify(test='', ref='', new=''):
baseStateMsg = ""
exitStatus = 0
if (any(st in baseState for st in ['OK', 'ADDITIONS', 'DELETIONS']) and
- script_args.logs[0].startswith('REF-')):
+ os.path.basename(script_args.logs[0]).startswith('REF-')):
if os.access(script_args.logs[0], os.W_OK):
import shutil
os.remove(script_args.logs[0])
diff --git a/Cassiopee/Modeler/doc/Modeler.txt b/Cassiopee/Modeler/doc/Modeler.txt
index 69d625510..2817c2750 100644
--- a/Cassiopee/Modeler/doc/Modeler.txt
+++ b/Cassiopee/Modeler/doc/Modeler.txt
@@ -1,41 +1,4 @@
===============================================================================
-Modeler 3.7 [03/2023]
-Require: C++ compiler, python > 2.7, numpy > 1.0, KCore 3.7
-===============================================================================
-Modeler 3.6 [03/2023]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.6
-===============================================================================
-Modeler 3.5 [12/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.5
-===============================================================================
-Modeler 3.4 [07/2022]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.4
-===============================================================================
-Modeler 3.3 [10/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.3
-===============================================================================
-Modeler 3.2 [02/2021]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.2
-- Animator2D
-===============================================================================
-Modeler 3.1 [06/2020]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.1
-===============================================================================
-Modeler 3.0 [12/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 3.0
-===============================================================================
-Modeler 2.9 [06/2019]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 2.9
-===============================================================================
-Modeler 2.8 [12/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 2.8
-===============================================================================
-Modeler 2.7 [07/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 2.7
-===============================================================================
-Modeler 2.6 [03/2018]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 2.6
-===============================================================================
-Modeler 2.5 [20/09/2017]
-Require: C++ compiler, python > 2.4, numpy > 1.0, KCore 2.5
+Modeler
+Require: C++ compiler, python > 2.7, numpy > 1.0, KCore
===============================================================================
diff --git a/Cassiopee/Modeler/doc/install b/Cassiopee/Modeler/doc/install
index 1d06033f6..928e63cc8 100755
--- a/Cassiopee/Modeler/doc/install
+++ b/Cassiopee/Modeler/doc/install
@@ -54,14 +54,17 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
+[ $? != 0 ] && exit 1;
# Build latex
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
+ [ $? != 0 ] && exit 1;
cd build
- pdflatex Modeler >& /dev/null
+ pdflatex Modeler
+ [ $? != 0 ] && exit 1;
cd ..
fi
diff --git a/Cassiopee/Modeler/doc/source/conf.py b/Cassiopee/Modeler/doc/source/conf.py
index 5aab6c28b..8d528e050 100644
--- a/Cassiopee/Modeler/doc/source/conf.py
+++ b/Cassiopee/Modeler/doc/source/conf.py
@@ -172,7 +172,7 @@
html_show_sphinx = False
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
diff --git a/Cassiopee/Modeler/install b/Cassiopee/Modeler/install
index 3436bc365..ec54fd663 100755
--- a/Cassiopee/Modeler/install
+++ b/Cassiopee/Modeler/install
@@ -39,6 +39,9 @@ if [ $PRODMODE -eq 0 ] || [ $PRODMODE -eq 2 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
+ python -m pip install --no-cache-dir --no-binary=Modeler --ignore-installed --upgrade --prefix="$INSTALLPATH" .
+ [ $? != 0 ] && exit 1;
+elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
diff --git a/Cassiopee/OCC/OCC/Atomic/meshEdge.cpp b/Cassiopee/OCC/OCC/Atomic/meshEdge.cpp
index a7025591e..db109adcf 100644
--- a/Cassiopee/OCC/OCC/Atomic/meshEdge.cpp
+++ b/Cassiopee/OCC/OCC/Atomic/meshEdge.cpp
@@ -294,7 +294,7 @@ E_Int __meshEdge3(const TopoDS_Edge& E,
{
BRepAdaptor_Curve C0(E);
Standard_Real aFirst=C0.FirstParameter(), aEnd=C0.LastParameter();
- Standard_Real pFirst=aFirst, pEnd=aEnd;
+ Standard_Real pFirst=aFirst;
Handle(Geom_Curve) aCurve = BRep_Tool::Curve(E, aFirst, aEnd);
E_Float* px = coords.begin(1);
E_Float* py = coords.begin(2);
@@ -819,7 +819,7 @@ PyObject* K_OCC::meshEdgesByFace2(PyObject* self, PyObject* args)
TopExp_Explorer expl;
const TopoDS_Face& F = TopoDS::Face(surfaces(noFace));
- E_Int npts = 0; PyObject* ge;
+ PyObject* ge;
for (expl.Init(surfaces(noFace), TopAbs_EDGE); expl.More(); expl.Next())
{
@@ -869,7 +869,7 @@ PyObject* K_OCC::meshEdgesByFace3(PyObject* self, PyObject* args)
#endif
TopTools_IndexedMapOfShape& surfaces = *(TopTools_IndexedMapOfShape*)packet[1];
- TopTools_IndexedMapOfShape& edges = *(TopTools_IndexedMapOfShape*)packet[2];
+ //TopTools_IndexedMapOfShape& edges = *(TopTools_IndexedMapOfShape*)packet[2];
TopExp_Explorer expl;
const TopoDS_Face& F = TopoDS::Face(surfaces(noFace));
@@ -880,7 +880,6 @@ PyObject* K_OCC::meshEdgesByFace3(PyObject* self, PyObject* args)
if (forientation == TopAbs_FORWARD) printf("face orientation=forward\n");
else if (forientation == TopAbs_REVERSED) printf("face orientation=reversed\n");
- E_Int npts = 0;
PyObject* out = PyList_New(0); // sortie par wire
for (expl.Init(surfaces(noFace), TopAbs_WIRE); expl.More(); expl.Next())
@@ -898,8 +897,8 @@ PyObject* K_OCC::meshEdgesByFace3(PyObject* self, PyObject* args)
if (wclosed == BRepCheck_NoError) printf("wire correctly closed\n");
else printf("WIRE BADLY closed\n");
- E_Boolean isOuter = false;
- if (W == OW) { printf("is outer wire\n"); isOuter = true; }
+ //E_Boolean isOuter = false;
+ //if (W == OW) { printf("is outer wire\n"); isOuter = true; }
//status = check.CheckOuterBound();
//if (status == BRepCheck_NoError) printf("is outer (test2)\n");
//else printf("is inner (test2)\n");
@@ -1111,7 +1110,7 @@ PyObject* K_OCC::getEdgeNoByFace(PyObject* self, PyObject* args)
for (expl2.Init(W, F); expl2.More(); expl2.Next())
{
const TopoDS_Edge& E = TopoDS::Edge(expl2.Current());
- TopAbs_Orientation eorientation = E.Orientation();
+ //TopAbs_Orientation eorientation = E.Orientation();
/* find edge number in global edge list */
E_Int i = 0;
for (i=1; i <= edges.Extent(); i++)
diff --git a/Cassiopee/OCC/OCC/CADviaOCC.cpp b/Cassiopee/OCC/OCC/CADviaOCC.cpp
index 838dfaa6f..4f72440e0 100755
--- a/Cassiopee/OCC/OCC/CADviaOCC.cpp
+++ b/Cassiopee/OCC/OCC/CADviaOCC.cpp
@@ -90,7 +90,10 @@ E_Int import_iges(const char* fname, TopoDS_Shape& sh)
if (occ_list.IsNull()) return 1;
- Standard_Integer nb_transfered_faces = reader.TransferList(occ_list);
+#ifdef DEBUG_CAD_READER
+ Standard_Integer nb_transfered_faces =
+#endif
+ reader.TransferList(occ_list);
#ifdef DEBUG_CAD_READER
Standard_Integer nb_cad_faces = occ_list->Length();
diff --git a/Cassiopee/OCC/OCC/convertCAD2Arrays0.cpp b/Cassiopee/OCC/OCC/convertCAD2Arrays0.cpp
index 01832838b..c487a8ec7 100644
--- a/Cassiopee/OCC/OCC/convertCAD2Arrays0.cpp
+++ b/Cassiopee/OCC/OCC/convertCAD2Arrays0.cpp
@@ -127,7 +127,7 @@ PyObject* K_OCC::convertCAD2Arrays0(PyObject* self, PyObject* args)
{
IGESControl_Controller::Init();
IGESControl_Reader reader;
- IFSelect_ReturnStatus stat = reader.ReadFile(inFileName);
+ reader.ReadFile(inFileName);
reader.SetReadVisible(Standard_True);
reader.PrintCheckLoad(Standard_True, IFSelect_GeneralInfo);
reader.ClearShapes();
diff --git a/Cassiopee/OCC/doc/OCC.html b/Cassiopee/OCC/doc/OCC.html
deleted file mode 100644
index 8e6e0c6ac..000000000
--- a/Cassiopee/OCC/doc/OCC.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
- OCC: Open CASCADE Connexion module
-
-
-
-
-
-
-
OCC: Open Cascade Connexion
-
Version: 2.8 (12/2018)
-
Author: Onera
-
-
-
-
Preamble
-
- This module provides routines to use Open CASCADE capabilities within
- Cassiopee.
-
- The current available function is for importing IGES files. Only CAD surfaces will be imported: other entities are ignored.
-
- This module manipulates both supported data structures, arrays, and pyTrees (see Converter Module).
-
-
- In this documentation, we note a or b an array,
- and A or B a list of arrays.
-
- To use the array interface:
-
- import OCC as O
-
-
-
-
- To use the pyTree interface:
-
- import OCC.PyTree as O
-
-
-
-
-
-
-
File / arrays or File / pyTree conversion
-
-
- C.convertIGESArrays:
- read an IGES file and return a list of arrays:
-
- A = C.convertIGESArrays(fileName, h=0., chordal_err=0., growth_ratio=0.)
-
-
- The file extension must be one of the regular extensions : .igs, .iges, .IGS or .IGES. Both ASCII and binary format are handled.
-
-
-
-
- Option name
-
-
- Meaning
-
-
- Default value
-
-
-
- h
-
-
- Specified absolute size of the mesh edges.
-
-
- 0. The algorithm will compute an appropriate value (one tenth of the edges length average over the model).
-
-
-
- chordal_err
-
-
- Specified chordal error.
-
-
- 0. The algorithm uses in this case 2% of h value.
-
-
-
- growth_ratio
-
-
- Specified growth_ratio.
-
-
- 0: constant mesh size, if > 1., specifies the growing ratio of mesh size from boundary to interior.
-
-
-
- C.convertIGES2PyTree:
- read a file to a pyTree:
-
Provided services are low level functions, that are designed to be used for easily building your own applications.
diff --git a/docs/News.html b/docs/ReleaseNotes.html
similarity index 99%
rename from docs/News.html
rename to docs/ReleaseNotes.html
index aea3731ee..50d381532 100644
--- a/docs/News.html
+++ b/docs/ReleaseNotes.html
@@ -19,7 +19,9 @@
Author : ONERA
- All: release 4.0 (XX/2024) - in construction
-- Converter: extractBCOfType change zone name separator from "/" to "\"
+- Converter: extractBCOfType change zone name separator from "/" to "\"
+
+- CPlot: display solidStyle defaulting to 0.
Display entity.
Display function has a lot of optional options that can be specified as arguments.
@@ -223,7 +223,7 @@
Actions
displayInfo (int) – 0 means no info display (default: 1)
displayIsoLegend (int) – 0 means no iso legend display (default: 0)
meshStyle (int) – 0: white solid and red wireframe, 1: colored wireframe, 2: colored solid and wireframe, 3: cyan solid and black wireframe (default: 2)
-
solidStyle (int) – 0: blue, 1: colored by zone, 3: white, 4: colored by zone outlined (default: 1)
+
solidStyle (int) – 0: blue, 1: colored by zone, 3: white, 4: colored by zone outlined (default: 0)
vectorDensity (float) – the density of vectors (default: 0.)
@@ -354,7 +354,7 @@
Actions
-
+
CPlot.render()
Force rendering. Must be used after functions that don’t render (ex: add, delete, …).
Example of use:
@@ -386,7 +386,7 @@
Actions
-
+
CPlot.delete(list)
Delete zones from plotter. This function does not render. Argument is either
a list of zone numbers (struct zones then unstructured zones order) or a list
@@ -435,7 +435,7 @@
Actions
-
+
CPlot.add(A, ..., a)
Add/insert one array/zone in plotter. This function does not render.
For array interface:
@@ -500,7 +500,7 @@
Actions
-
+
CPlot.replace(A, ..., a)
For array interface:
CPlot.replace(A,no,a)
@@ -567,7 +567,7 @@
Actions
-
+
CPlot.finalizeExport(action=0)
Finalize an export. Wait for the end of file writing.
Argument must be identical to the offscreen argument of display function.
@@ -621,7 +621,7 @@
Actions
Set / Get functions
-
+
CPlot.getState(stateName)
Return the specified state value as stored in plotter.
Available stateName are the same as the display
@@ -680,7 +680,7 @@
Set / Get functions
-
+
CPlot.getSelectedZone()
Return the currently selected zone. If none is selected, return -1. If
multiple zones are selected, return the last selected zone.
@@ -714,7 +714,7 @@
Set / Get functions
-
+
CPlot.getSelectedZones()
Return the list of selected zones. If none is selected, return [].
Example of use:
@@ -740,7 +740,7 @@
Set / Get functions
-
+
CPlot.getSelectedStatus(nz)
Return the selected status (1: selected, 0: not selected) of zone nz.
@@ -777,7 +777,7 @@
Set / Get functions
-
+
CPlot.getActiveZones()
Return the list of active (visible) zones.
@@ -810,7 +810,7 @@
Set / Get functions
-
+
CPlot.getActiveStatus(nz)
Return the active status (1: active, 0: inactive) of zone nz.
Active zones are visible, unactive zones are hidden.
@@ -848,7 +848,7 @@
Set / Get functions
-
+
CPlot.getActivePoint()
Return the last clicked point position (coordinates in 3D world) as
a list of three coordinates.
@@ -883,7 +883,7 @@
Set / Get functions
-
+
CPlot.getActivePointIndex()
Return the active point index. For structured grids, return
[ind, indc, i,j,k], where ind is the global index of the nearest node
@@ -924,7 +924,7 @@
Set / Get functions
-
+
CPlot.getMouseState()
Return the current button state
of mouse (0: left pressed, 1: middle pressed, 2: right pressed,
@@ -961,7 +961,7 @@
Set / Get functions
-
+
CPlot.getKeyboard()
Return the pressed keys as a string.
@@ -1013,14 +1013,14 @@
Set / Get functions
-
+
CPlot.resetKeyboard()
Reset the pressed key string stored in plotter.
-
+
CPlot.changeVariable()
Change displayed variable.
Example of use:
@@ -1048,7 +1048,7 @@
Set / Get functions
-
+
CPlot.changeStyle()
Change CPlot display style.
Example of use:
@@ -1071,7 +1071,7 @@
Set / Get functions
-
+
CPlot.changeBlanking()
Change the blanking procedure.
Example of use:
@@ -1097,7 +1097,7 @@
Set / Get functions
-
+
CPlot.setState(dim, mode, ...)
Set a CPlot state. The same keywords as display can be used.
Additional keywords are:
@@ -1135,7 +1135,7 @@
Set / Get functions
-
+
CPlot.setMode(mode)
Set CPlot display mode (0 or ‘Mesh’: means mesh, 1 or ‘Solid’: means solid, 2 or ‘Render’: means render,
3 or ‘Scalar’ means scalar field, 4 or ‘Vector’ means vector fields)
@@ -1164,7 +1164,7 @@
Set / Get functions
-
+
CPlot.setSelectedZones(list)
Set the selected zone status (1: selected, 0: not selected) by zone global
number.
@@ -1194,7 +1194,7 @@
Set / Get functions
-
+
CPlot.unselectAllZones()
Unselect all zones.
Example of use:
@@ -1218,7 +1218,7 @@
Set / Get functions
-
+
CPlot.setActiveZones(list)
Set the active (visible) status for given zones.
@@ -1247,7 +1247,7 @@
Set / Get functions
-
+
CPlot.setZoneNames(list)
Set the specified zone names.
@@ -1278,7 +1278,7 @@
Set / Get functions
Camera setting and motion
-
+
CPlot.lookFor()
Look for selected zone. It positions the camera for a clear view
on the currently selected zone.
Move camera along camera points. The list of points specifies the path of the camera.
The camera will move along this path, making N steps. pos will position the
@@ -1408,7 +1408,7 @@
Camera setting and motion
-
+
CPlot.travelLeft(xr, N=100)
Travel camera left/Right/Up/Down/In/Out.
Xr is the range (in 0.,1.).
@@ -1490,7 +1490,7 @@
Add rendering info to a zone. Info are added in a .RenderInfo user
defined node. Use Render mode in display for rendering effects.
@@ -1538,7 +1538,7 @@
Add rendering info to a tree. Info are added in a .RenderInfo user
defined node. To load the settings to the view, call explicitely CPlot.loadView.
@@ -1588,7 +1588,7 @@
Set rendering informations in pyTree
-
+
CPlot.PyTree.loadView(a, slot=0)
Load a view defined in a slot to the plotter.
A view must already have been stored in pyTree a using CPlot.addRender2PyTree.