PR: merged from V5_1_4rc1

This commit is contained in:
prascle 2010-05-26 07:13:13 +00:00
parent 64be032249
commit aa67cc96d7
822 changed files with 18835 additions and 6485 deletions

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# -* Makefile *- # -* Makefile *-
# Author : Patrick GOLDBRONN (CEA) # Author : Patrick GOLDBRONN (CEA)
# Date : 28/06/2001 # Date : 28/06/2001

View File

@ -1,4 +1,4 @@
// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE // Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
// //
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@ -19,6 +19,7 @@
// //
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
// //
// File : SMESH_version.h // File : SMESH_version.h
// Author : Vadim SANDLER // Author : Vadim SANDLER
// Module : SALOME // Module : SALOME

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
include $(top_srcdir)/adm_local/unix/make_common_starter.am include $(top_srcdir)/adm_local/unix/make_common_starter.am
SUBDIRS = unix cmake_files SUBDIRS = unix cmake_files

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -22,6 +19,7 @@
SET(SMESH_CXXFLAGS -I${SMESH_ROOT_DIR}/include/salome) SET(SMESH_CXXFLAGS -I${SMESH_ROOT_DIR}/include/salome)
FIND_LIBRARY(GeomSelectionTools GeomSelectionTools ${SMESH_ROOT_DIR}/lib/salome)
FIND_LIBRARY(MEFISTO2D MEFISTO2D ${SMESH_ROOT_DIR}/lib/salome) FIND_LIBRARY(MEFISTO2D MEFISTO2D ${SMESH_ROOT_DIR}/lib/salome)
FIND_LIBRARY(MeshDriverDAT MeshDriverDAT ${SMESH_ROOT_DIR}/lib/salome) FIND_LIBRARY(MeshDriverDAT MeshDriverDAT ${SMESH_ROOT_DIR}/lib/salome)
FIND_LIBRARY(MeshDriverMED MeshDriverMED ${SMESH_ROOT_DIR}/lib/salome) FIND_LIBRARY(MeshDriverMED MeshDriverMED ${SMESH_ROOT_DIR}/lib/salome)

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
include $(top_srcdir)/adm_local/unix/make_common_starter.am include $(top_srcdir)/adm_local/unix/make_common_starter.am
admlocal_cmakedir = $(admlocaldir)/cmake_files admlocal_cmakedir = $(admlocaldir)/cmake_files

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
include $(top_srcdir)/adm_local/unix/make_common_starter.am include $(top_srcdir)/adm_local/unix/make_common_starter.am
SUBDIRS = config_files SUBDIRS = config_files

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,10 +16,9 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
include $(top_srcdir)/adm_local/unix/make_common_starter.am include $(top_srcdir)/adm_local/unix/make_common_starter.am
dist_admlocalm4_DATA = \ dist_admlocalm4_DATA = \
check_SMESH.m4 \ check_SMESH.m4 \
check_f77.m4 \ check_Platform.m4
check_Platform.m4 \
check_qwt.m4

View File

@ -1,4 +1,4 @@
dnl Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE dnl Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
dnl dnl
dnl Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, dnl Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@ -19,6 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl dnl
dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
dnl dnl
AC_DEFUN([CHECK_PLATFORM],[ AC_DEFUN([CHECK_PLATFORM],[
AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_PROG_CPP])dnl AC_REQUIRE([AC_PROG_CPP])dnl

View File

@ -1,4 +1,4 @@
dnl Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE dnl Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
dnl dnl
dnl Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, dnl Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@ -19,6 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl dnl
dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
dnl dnl
# Check availability of SMesh binary distribution # Check availability of SMesh binary distribution
# #
# Author : Nicolas REJNERI (OPEN CASCADE, 2003) # Author : Nicolas REJNERI (OPEN CASCADE, 2003)

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -24,6 +21,7 @@
# The following is to avoid PACKAGE_... env variable # The following is to avoid PACKAGE_... env variable
# redefinition compilation warnings # redefinition compilation warnings
# ============================================================ # ============================================================
#
AM_CXXFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h AM_CXXFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h
AM_CPPFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h AM_CPPFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# -* Makefile *- # -* Makefile *-
# Author : Guillaume Boulant (CSSI) # Author : Guillaume Boulant (CSSI)
# Module : SMESH # Module : SMESH

View File

@ -1,9 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: iso-8859-1 -*- # -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public

View File

@ -1,8 +1,5 @@
#!/bin/sh #!/bin/sh
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public

View File

@ -1,2 +1,20 @@
@REM Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
@REM
@REM This library is free software; you can redistribute it and/or
@REM modify it under the terms of the GNU Lesser General Public
@REM License as published by the Free Software Foundation; either
@REM version 2.1 of the License.
@REM
@REM This library is distributed in the hope that it will be useful,
@REM but WITHOUT ANY WARRANTY; without even the implied warranty of
@REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@REM Lesser General Public License for more details.
@REM
@REM You should have received a copy of the GNU Lesser General Public
@REM License along with this library; if not, write to the Free Software
@REM Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@REM
@REM See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
@REM
%PYTHONBIN% %KERNEL_ROOT_DIR%\salome_adm\cmake_files\am2cmake.py --smesh %PYTHONBIN% %KERNEL_ROOT_DIR%\salome_adm\cmake_files\am2cmake.py --smesh

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
# #
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@ -20,6 +20,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# Tool for updating list of .in file for the SALOME project # Tool for updating list of .in file for the SALOME project
# and regenerating configure script # and regenerating configure script
# Author : Marc Tajchman - CEA # Author : Marc Tajchman - CEA
@ -77,10 +78,19 @@ ABS_CONF_DIR=`pwd`
# autom4te.cache (directory) # autom4te.cache (directory)
echo "====================================================== aclocal" echo "====================================================== aclocal"
if test -d "${GUI_ROOT_DIR}"; then
aclocal -I adm_local/unix/config_files \
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
-I ${MED_ROOT_DIR}/adm_local/unix/config_files \
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1
else
aclocal -I adm_local/unix/config_files \ aclocal -I adm_local/unix/config_files \
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \ -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
-I ${MED_ROOT_DIR}/adm_local/unix/config_files \ -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1 -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1
fi
# ____________________________________________________________________ # ____________________________________________________________________
# libtoolize creates some configuration files (ltmain.sh, # libtoolize creates some configuration files (ltmain.sh,

View File

@ -1,8 +1,5 @@
#!/bin/sh #!/bin/sh
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -20,6 +17,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
rm -rf autom4te.cache aclocal.m4 configure make_config rm -rf autom4te.cache aclocal.m4 configure make_config
find . -name "*~" -print -exec rm {} \; find . -name "*~" -print -exec rm {} \;
find . -name "*.pyc" -print -exec rm {} \; find . -name "*.pyc" -print -exec rm {} \;

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# Author : Marc Tajchman (CEA) # Author : Marc Tajchman (CEA)
# Date : 28/06/2001 # Date : 28/06/2001
# Modified by : Patrick GOLDBRONN (CEA) # Modified by : Patrick GOLDBRONN (CEA)
@ -26,7 +24,7 @@
# Modified by : Alexander BORODIN (OCN) - autotools usage # Modified by : Alexander BORODIN (OCN) - autotools usage
# Created from configure.in.base # Created from configure.in.base
# #
AC_INIT([Salome2 Project SMESH module], [5.1.3], [webmaster.salome@opencascade.com], [SalomeSMESH]) AC_INIT([Salome2 Project SMESH module], [5.1.4], [webmaster.salome@opencascade.com], [SalomeSMESH])
AC_CONFIG_AUX_DIR(adm_local/unix/config_files) AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_CANONICAL_TARGET AC_CANONICAL_TARGET
@ -447,8 +445,10 @@ AC_OUTPUT([ \
doc/salome/gui/SMESH/Makefile \ doc/salome/gui/SMESH/Makefile \
doc/salome/gui/SMESH/doxyfile \ doc/salome/gui/SMESH/doxyfile \
doc/salome/gui/SMESH/doxyfile_py \ doc/salome/gui/SMESH/doxyfile_py \
doc/salome/gui/SMESH/static/header.html \
doc/salome/tui/Makefile \ doc/salome/tui/Makefile \
doc/salome/tui/doxyfile \ doc/salome/tui/doxyfile \
doc/salome/tui/static/header.html \
src/Makefile \ src/Makefile \
src/Controls/Makefile \ src/Controls/Makefile \
src/Driver/Makefile \ src/Driver/Makefile \
@ -458,6 +458,7 @@ AC_OUTPUT([ \
src/DriverUNV/Makefile \ src/DriverUNV/Makefile \
src/MEFISTO2/Makefile \ src/MEFISTO2/Makefile \
src/OBJECT/Makefile \ src/OBJECT/Makefile \
src/PluginUtils/Makefile \
src/SMDS/Makefile \ src/SMDS/Makefile \
src/SMESH/Makefile \ src/SMESH/Makefile \
src/SMESHClient/Makefile \ src/SMESHClient/Makefile \

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# -* Makefile *- # -* Makefile *-
# Author : Patrick GOLDBRONN (CEA) # Author : Patrick GOLDBRONN (CEA)
# Date : 30/11/2001 # Date : 30/11/2001

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# -* Makefile *- # -* Makefile *-
# Author : Patrick GOLDBRONN (CEA) # Author : Patrick GOLDBRONN (CEA)
# Date : 30/11/2001 # Date : 30/11/2001

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# File : Makefile.in # File : Makefile.in
# Author : Vasily Rusyaev (Open Cascade NN) # Author : Vasily Rusyaev (Open Cascade NN)
# Modified by : Alexander BORODIN (OCN) - autotools usage # Modified by : Alexander BORODIN (OCN) - autotools usage

View File

@ -1,7 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# #
# This library is free software; you can redistribute it and/or # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
@ -19,6 +16,7 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
# File : Makefile.in # File : Makefile.in
# Author : Vasily Rusyaev (Open Cascade NN) # Author : Vasily Rusyaev (Open Cascade NN)
# Modified by : Alexander BORODIN (OCN) - autotools usage # Modified by : Alexander BORODIN (OCN) - autotools usage
@ -26,7 +24,11 @@
# #
include $(top_srcdir)/adm_local/unix/make_common_starter.am include $(top_srcdir)/adm_local/unix/make_common_starter.am
EXTRA_DIST += images input static EXTRA_DIST += images input static/footer.html static/doxygen.css
guidocdir = $(docdir)/gui/SMESH
guidoc_DATA = images/head.png
usr_docs: doxyfile_py doxyfile usr_docs: doxyfile_py doxyfile
echo "===========================================" ; \ echo "===========================================" ; \

View File

@ -1,4 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
# #
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@ -22,7 +22,7 @@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
PROJECT_NAME = "Mesh Module Reference Manual v.@VERSION@" PROJECT_NAME = "SALOME Mesh User's Guide"
OUTPUT_DIRECTORY = . OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
@ -48,9 +48,9 @@ EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
GENERATE_HTML = YES GENERATE_HTML = YES
HTML_OUTPUT = . HTML_OUTPUT = .
HTML_HEADER = @srcdir@/static/header.html HTML_HEADER = @builddir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES TOC_EXPAND = YES
DISABLE_INDEX = NO DISABLE_INDEX = NO
GENERATE_TREEVIEW = YES GENERATE_TREEVIEW = YES

View File

@ -1,4 +1,4 @@
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
# #
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@ -22,7 +22,7 @@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
PROJECT_NAME = "Mesh Module Reference Manual v.@VERSION@" PROJECT_NAME = "SALOME Mesh User's Guide"
OUTPUT_DIRECTORY = . OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
@ -109,9 +109,9 @@ EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
GENERATE_HTML = YES GENERATE_HTML = YES
HTML_OUTPUT = smeshpy_doc HTML_OUTPUT = smeshpy_doc
HTML_HEADER = @srcdir@/static/header.html HTML_HEADER = @builddir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES TOC_EXPAND = YES
DISABLE_INDEX = YES DISABLE_INDEX = YES
GENERATE_TREEVIEW = NO GENERATE_TREEVIEW = NO

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -66,18 +66,25 @@ shows the good (left) and the bad (right) results of meshing.
\image html hypo_quad_params_res_2.png "The resulting meshes" \image html hypo_quad_params_res_2.png "The resulting meshes"
<br> <b>See Also</b> a sample TUI Script of a
\ref tui_quadrangle_parameters "Quadrangle Parameters" hypothesis.
\anchor quadrangle_preference_anchor \anchor quadrangle_preference_anchor
<h2>Quadrangle Preference</h2> <h2>Quadrangle Preference</h2>
This algorithm can be used only together with Quadrangle (Mapping) This algorithm can be used together with Quadrangle (Mapping) and Netgen 2D
algorithm. It allows to build quadrangular meshes even if the number algorithms.
It allows Netgen 2D to build quadrangular meshes at any conditions.
It allows Quadrangle (Mapping) to build quadrangular meshes even if the number
of nodes at the opposite edges of a meshed face is not equal, of nodes at the opposite edges of a meshed face is not equal,
otherwise this mesh will contain some triangular elements. otherwise this mesh will contain some triangular elements.
<br> <br>
This hypothesis has one restriction on its work: the total quantity of This hypothesis has one restriction on its work: the total quantity of
segments on all four sides of the face must be even (divisible by 2). segments on all four sides of the face must be even (divisible by 2).
<br> <br>
\anchor triangle_preference_anchor \anchor triangle_preference_anchor
<h2>Triangle Preference</h2> <h2>Triangle Preference</h2>

View File

@ -45,6 +45,7 @@ meshers and thus, work only with definite algorithms.
<li>\subpage ghs3d_hypo_page</li> - works with GHS3D algorithm. <li>\subpage ghs3d_hypo_page</li> - works with GHS3D algorithm.
<li>\subpage ghs3dprl_hypo_page</li> - works with GHS3DPRL (tepal) algorithm. <li>\subpage ghs3dprl_hypo_page</li> - works with GHS3DPRL (tepal) algorithm.
<li>\subpage blsurf_hypo_page</li> - works with BLSURF algorithm. <li>\subpage blsurf_hypo_page</li> - works with BLSURF algorithm.
<li>\subpage hexotic_hypo_page</li> - works with Hexotic algorithm.
</ul> </ul>
There also exist There also exist

View File

@ -26,6 +26,10 @@ following associated submenu will appear:</li>
\image html image146.png \image html image146.png
From this submenu select the type of element which you would like to add to your mesh. From this submenu select the type of element which you would like to add to your mesh.
\note All dialogs intended for adding nodes or elements to mesh (except dialog for adding
0D elements) provide a possibility to add these nodes/elements to the specified group
(or to create the group if it doesn't exist). <b>Add to group</b> box allows to choose
an existing group for created node or element or to specify a name for new group.
</ol> </ol>
<b>See Also</b> sample TUI Scripts of <b>See Also</b> sample TUI Scripts of

View File

@ -18,6 +18,11 @@ one of the following:
\image html image152.png \image html image152.png
\note All dialogs intended for adding quadratic elements to mesh provide a possibility
to add these elements to the specified group (or to create the group if it doesn't exist).
<b>Add to group</b> box allows to choose an existing group for created element or
to specify a name for new group.
To create any <b>Quadratic Element</b> specify the nodes which will form your To create any <b>Quadratic Element</b> specify the nodes which will form your
triangle by selecting them in the 3D viewer with pressed Shift triangle by selecting them in the 3D viewer with pressed Shift
button. Their numbers will appear in the dialog box as <b>Corner Nodes</b> button. Their numbers will appear in the dialog box as <b>Corner Nodes</b>

View File

@ -47,6 +47,15 @@ tetrahedral (pyramidal) elements.</li>
\image html image126.gif "Example of a hexahedral 3D mesh" \image html image126.gif "Example of a hexahedral 3D mesh"
</ul> </ul>
Some of 3D meshing algorithms also can generate 3D meshes from 2D meshes, working without
geometrical objects. Such algorithms are
<ul>
<li>Hexahedron meshing algorithm (i,j,k),</li>
<li>Tetrahedron (Netgen and GHS3D) meshing algorithms,</li>
<li>Hexotic.</li>
</ul>
\note BLSURF and GHS3D are commercial meshers and require a \note BLSURF and GHS3D are commercial meshers and require a
license to be used within the Mesh module. license to be used within the Mesh module.

View File

@ -0,0 +1,35 @@
/*!
\page colors_size_page Colors / Size
\image html colors_size.png
Using this dialog you can define the following set of mesh visualization
parameters:
<ul>
<li><b>Elements</b></li>
<ul>
<li><b>Fill</b> - color of surface of elements (seen in Shading mode).</li>
<li><b>Back Face</b> - color of interior surface of elements.</li>
<li><b>Outline</b> - color of borders of elements.</li>
<li><b>0D slements</b> - color of 0D elements.</li>
<li><b>Size of 0D slements</b> - size of 0D elements.</li>
<li><b>Width</b> - width of lines (edges and borders of elements).</li>
<li><b>Shrink coef.</b> - relative space of elements compared to gaps between
them in shrink mode.</li>
</ul>
<li><b>Nodes</b></li>
<ul>
<li><b>Color</b> - color of nodes.</li>
<li><b>Marker</b> - group of options allowing to change the representation of
points (see \subpage point_marker_page "Point Marker" page).</li>
</ul>
<li><b>Orientation of faces</b></li>
<ul>
<li><b>Color</b> - color of orientation vertors.</li>
<li><b>Scale</b> - size of orientation vectors.</li>
<li><b>3D vectors</b> - allows to choose between 2D planar and 3D vectors.</li>
</ul>
</ul>
*/

View File

@ -152,10 +152,92 @@ evaluation will be displayed in the following information box:
\image html mesh_evaluation_succeed.png \image html mesh_evaluation_succeed.png
</li>
</ol>
\anchor mesh_order_anchor
It is allowed to change submesh priority in mesh computation when
there are concurrent submeshes present. I.e. user can change priority of
applying algorithms on shared subshapes of Mesh shape.
<em>To change submesh priority:</em>
<ol>
<li>From the Mesh menu choose the "Change submesh priority" on
selected Mesh item, or invoke from popup menu. The opened dialogue box
shows a list of submeshes in the order of their priority. Algorithm and its
hypotheses of a submesh being upper in the list are applied before those of
a submesh lower in the list.
There is an example of submesh order modifications of Mesh created on a Box
shape. The main Mesh object:
<ul>
<li><i>3D</i> <b>Tetrahedron (Netgen)</b> with Hypothesis<b>Max Element Volume</b></li>
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis<b>Max Element Area</b>
</li>
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=20</li>
</ul>
The first submesh object <b>Submesh_1</b> created on <b>Face_1</b>
is:
<ul>
<li><i>2D</i> Netgen 1D-2D with Hypothesis <b>Netgen Simple parameters</b>
(Number of Segments = 4)</li>
</ul>
The second submesh object <b>Submesh_2</b> created on <b>Face_2</b>
is:
<ul>
<li><i>2D</i> Netgen 1D-2D with Hypothesis <b>Netgen Simple parameters</b>
(Number of Segments = 8)</li>
</ul>
And the last third submesh object <b>Submesh_3</b> created on <b>Face_3</b>
is:
<ul>
<li><i>2D</i> Netgen 1D-2D with Hypothesis <b>Netgen Simple parameters</b>
(Number of Segments = 12)</li>
</ul>
The submeshes can become concurrent if their algorithms leads to mesh shared subshape
with different algorithms (or different algorithms parameters, i.e. hypothesises).
In fact, we have three submeshes with concurrent algorithms, because
they have different hypothesises assigned to them.
The first mesh computation made with:
\image html mesh_order_123.png
<center><em>"Mesh order SubMesh_1, SubMesh_2, SubMesh_3"</em></center>
\image html mesh_order_123_res.png
<center><em>"Result mesh with order SubMesh_1, SubMesh_2, SubMesh_3 "</em></center>
The next mesh computation with:
\image html mesh_order_213.png
<center><em>"Mesh order SubMesh_2, SubMesh_1, SubMesh_3"</em></center>
\image html mesh_order_213_res.png
<center><em>"Result mesh with order SubMesh_2, SubMesh_1, SubMesh_3 "</em></center>
And the last mesh computation with:
\image html mesh_order_321.png
<center><em>"Mesh order SubMesh_3, SubMesh_2, SubMesh_1"</em></center>
\image html mesh_order_321_res.png
<center><em>"Result mesh with order SubMesh_3, SubMesh_2, SubMesh_1 "</em></center>
As we can see each mesh computation has different number of result
elements and different mesh discretisation on shared edges (edges
that are shared between <b>Face_1</b>, <b>Face_2</b> and <b>Face_3</b>)
Additionally, submesh priority (order of algorithms to be applied) can
be modified not only in separate dialog box, but in <b>Preview</b>
also. This helps to preview different mesh results, modifying submesh
order.
\image html mesh_order_preview.png
<center><em>"Preview with submesh priority list box"</em></center>
If there are no concurrent submeshes under Mesh object, then user will see the
following information dialog box
\image html mesh_order_no_concurrent.png
<center><em>"No concurrent submeshes detected"</em></center>
and no mesh order list box will appear in Preview dialog box.
</ol>
Consider trying a sample script for construction of a mesh from our Consider trying a sample script for construction of a mesh from our
\ref tui_creating_meshes_page "TUI Scripts" section. \ref tui_creating_meshes_page "TUI Scripts" section.
</li>
</ol>
*/ */

View File

@ -0,0 +1,41 @@
/*!
\page find_element_by_point_page Find Element by Point
\n This functionality allows you to find all mesh elements to which
belongs a certain point.
<em>To find the elements:</em>
<ol>
<li>Select the mesh</li>
<li>Select from the Mesh menu or from the context menu the Find
Element by Point item.
\image html findelement3.png
<center><em>"Find Element by Point" button</em></center>
The following dialog box will appear:
\image html findelement2.png
</li>
<li>In this dialog box you should select:
<ul>
<li>the coordinates of the point;</li>
<li>the type of elements to be found; it is also possible to find elements
of all types related to the reference point. To be exact, type "All"
means to find elements of any type except nodes and 0D elements.</li>
</ul>
</li>
<li>Click the \b Apply or \b OK button.</li>
</ol>
\image html findelement1.png
<center>The reference point and the related elements.</center>
<br><b>See Also</b> a sample TUI Script of a \ref tui_find_element_by_point "Find Element by Point" operation.
*/

View File

@ -3,19 +3,21 @@
\page ghs3dprl_hypo_page GHS3DPRL Parameters hypothesis \page ghs3dprl_hypo_page GHS3DPRL Parameters hypothesis
\n GHS3DPRL Parameters hypothesis works only with <b>Tetrahedron (Tepal with TetMesh-GHS3D)</b> algorithm. \n GHS3DPRL Parameters hypothesis works only with <b>Tetrahedron (Tepal with TetMesh-GHS3D)</b> algorithm.
\n This algorithm is a commercial software, its use requires a licence (http://www.distene.com/fr/build/offer.html).
\n This algorithm is a commercial software, its use requires a licence (http://www.distene.com/fr/build/offer.html). \n Tepal_V1.4 gives the possibility to generate a partitioned
\n Tepal gives the possibility to generate a partitioned
mesh with 200 million tetrahedrons on a computer with average memory size mesh with 200 million tetrahedrons on a computer with average memory size
(2Go RAM) in about 50 hours on one CPU (Xeon, 2008). (2Go RAM) in about 50 hours on one CPU (Xeon, 2008).
This is a serious alternative to GHS3D, which requires a much less common \n New Tepal_V2.0 gives the possibility to generate a partitioned mesh with (for the moment) no more than 100 million
tetrahedrons on computers using MPI, (Total 16 Go RAM)
in about 900 seconds (!yes! : !seconds!) on 2 octo processors (Xeon, 2009).
The launch of this beta-version is described below.
\n This is a serious alternative to GHS3D, which requires a much less common
configuration with 64Go RAM to only try to make a partition of a mesh with configuration with 64Go RAM to only try to make a partition of a mesh with
200 million tetrahedrons, no result guaranteed. 200 million tetrahedrons, no result guaranteed.
\n \n
\note The Plugin doesn't load in the Memory the supposedly large resulting meshes. \note The Plugin doesn't load in the Memory the supposedly large resulting meshes.
The meshes are saved in MED files and can be imported in the user-defined location via menu File-Import-MED Files. The meshes are saved in MED files and can be imported in the user-defined location via menu File-Import-MED Files.
\n Pay attention, that Salome GUI needs 2Go RAM. to load a MED \n Pay attention, that Salome GUI needs 2Go RAM to load a MED
file with 5 million tetrahedrons. file with 5 million tetrahedrons.
\image html ghs3dprl_parameters_basic.png \image html ghs3dprl_parameters_basic.png
@ -89,11 +91,10 @@ example:
--verbose=0 --test=yes --menu=no --launchtepal=no --verbose=0 --test=yes --menu=no --launchtepal=no
\endverbatim \endverbatim
\n
</li> </li>
<li> <li>
<p> <b>Advanced Tepal_V1.4 Parameters</b> <p>
<b>Advanced tepal Parameters</b> <p>
\verbatim \verbatim
@ -142,11 +143,10 @@ With options :
Arguments to pass to Tetmesh during cutting process Arguments to pass to Tetmesh during cutting process
\endverbatim \endverbatim
\n
</li> </li>
<li> <li>
<p> <b>Advanced ghs3d Parameters (through Tepal_V1.4's --tetmesh_args)</b> - type "ghs3d -h" in a Terminal. <p>
<b>Advanced ghs3d Parameters (through tepal's --tetmesh_args)</b> - type "ghs3d -h" in a Terminal. <p>
\verbatim \verbatim
myname@myhost > ghs3d -h myname@myhost > ghs3d -h
@ -231,14 +231,16 @@ DESCRIPTION
EMail: support@distene.com ) EMail: support@distene.com )
\endverbatim \endverbatim
\n
</li> </li>
<h1>Saving user's preferred GHS3DPRL Advanced Parameters</h1><br> <h1>Saving user's preferred GHS3DPRL Advanced Parameters</h1><br>
GHS3DPRL Plugin launches standalone binary executable tepal2med.<br> GHS3DPRL Plugin launches standalone binary executable tepal2med.<br>
You may rename tepal2med as tepal2med.exe for example, and replace You may rename file tepal2med as tepal2med.exe for example, and replace
tepal2med by a shell script at your convenience to overriding parameters.<br>... or else $PATH modification... .<br>Idem for tepal.<br><br> tepal2med by a shell script at your convenience to overriding parameters.
<br>... or else $PATH modification... .<br>Idem for file tepal.<br><br>
<li> <li>
<b>Advanced tepal2med Parameters</b> - overriding parameter deletegroups<p> <b>Advanced tepal2med Parameters</b> - overriding parameter deletegroups<p>
You may rename tepal2med as tepal2med.exe for example.
\code \code
#!/bin/bash #!/bin/bash
@ -250,11 +252,11 @@ tepal2med by a shell script at your convenience to overriding parameters.<br>...
tepal2med.exe $* --deletegroups="(\bAll_Nodes|\bAll_Faces)" tepal2med.exe $* --deletegroups="(\bAll_Nodes|\bAll_Faces)"
\endcode \endcode
\n
</li> </li>
<li> <li>
<p> <b>Advanced Tepal_V1.4 Parameters</b> - overriding parameter component of ghs3d (to mesh holes). <p>
<b>Advanced tepal Parameters</b> - overriding parameter component of ghs3d (to mesh holes). <p> You may rename tepal as tepal.exe for example.
\code \code
#!/bin/bash #!/bin/bash
@ -269,11 +271,11 @@ SIMULOGD_LICENSE_FILE=29029@is142356
tepal.exe $* --tetmesh_args "-c 0" tepal.exe $* --tetmesh_args "-c 0"
\endcode \endcode
\n
</li> </li>
<li> <li>
<p>
<b>Advanced tepal Parameters</b> - overriding launching tepal on other host. <p> <b>Advanced tepal Parameters</b> - overriding launching tepal on other host. <p>
You may rename tepal as tepal.exe for example.
\code \code
#!/bin/bash #!/bin/bash
@ -293,13 +295,107 @@ ssh otherhost "tepal.exe $* > /home/myname/tmp/tepal.log"
#ssh otherhost "tepal.exe $* --tetmesh_args \"-c 0\"" > /home/myname/tmp/tepal.log #ssh otherhost "tepal.exe $* --tetmesh_args \"-c 0\"" > /home/myname/tmp/tepal.log
\endcode \endcode
\n
</li>
<h1>Tepal_V2.0 and MPI use.</h1><br>
This all new beta-version needs MPI, (openmpi-1.3.1 was used). To use it you have to proceed
as done in "overriding parameter component of ghs3d".
Advanced ghs3d Parameters (through Tepal_V1.4's --tetmesh_args) are not assumed yet.
It meshes holes.
\n You may rename tepal as tepal64_v2.exe for example, and replace tepal by a shell script like below.
<li>
<b>example tepal_v2_mpirun.</b><p>
\code
#!/bin/bash
#script tepal overriding launching Tepal_V2.0 with MPI (tepal run 64 bits only).
#we have renamed binary executable tepal as tepal64_v2.exe.
#typical command to launch tepal v1 :
#tepal -f /tmp/myname/GHS3DPRL -n 16 > /tmp/myname/tepal.log
#this file is an exemple to transform this call for tepal v2.0,
# (beta version using .mesh input file)
#you have to adapt for your convenience.
#first problem is convert v1 input files GHS3DPRL.faces and GHS3DPRL.points
# to v2 input file GHS3DPRL.mesh.
#second problem is to launch on heterogeneous system linux cluster of
# 2 hosts (64 bits) of 8 nodes (by example)
# with different 2 executables codes linked on 2 different
# openmpi shared library codes.
#third problem is convert tepal v2 output files GHS3DPRL*.mesh
# to v1 input files GHS3DPRL*.faces an GHS3DPRL*.points.
#you have to work on the same physical disk and same path input and ouput files : $SAME_DIR
#you have to work on different physical disk but same path and name for executable files
# (and shared libraries) : $DIFF_DIR
echo "parameter 0="$0
echo "parameter 1="$1
echo "parameter 2="$2
echo "parameter 3="$3
echo "parameter 4="$4
export SAME_DIR=/same_physical_disk_and_same path/tmp
export DIFF_DIR=/different_physical_disk_but_same path/myname
#copy input local files from local current directory (something like /tmp/myname)
#in this case we need /tmp/myname and $SAME_DIR different
cd $SAME_DIR
rm *
cp $2* .
export IN_FILES=`basename $2`
export IN_DIR=`dirname $2`
#created .mesh from .faces et .points
/through_salome_path/facespoints2mesh.py $IN_FILES
#there are 2 executable openmpi and library through 2 physical DIFF_DIR
export PATH=$DIFF_DIR/openmpi-1.3.1_install/bin:${PATH}
export LD_LIBRARY_PATH=$DIFF_DIR/openmpi-1.3.1_install/lib:${LD_LIBRARY_PATH}
#there are 2 executables tepal_v2 through 2 physical DIFF_DIR
export LD_LIBRARY_PATH=$DIFF_DIR/tepal-2.0.0/bin/Linux_64:${LD_LIBRARY_PATH}
export PATH=$DIFF_DIR/tepal-2.0.0/bin/Linux_64:$PATH
#small test betweeen friends
#rm hostnames.log
#mpirun -n $4 hostname >> hostnames.log
#there necessary set env licence file for tepal v2
export DISTENE_LICENSE_FILE="Use global envvar: DLIM8VAR"
export DLIM8VAR="dlim8 1:1:29030@is142356/0016175ef08c::a1ba...9e19"
export SIMULOGD_LICENSE_FILE=29029@is142356
export LICENSE_FILE=/product/distene/dlim8.var.sh
#mpirun with necessary set envenvironment
export TMP_ENV="-x PATH -x LD_LIBRARY_PATH -x DISTENE_LICENSE_FILE -x DLIM8VAR \
-x SIMULOGD_LICENSE_FILE -x LICENSE_FILE"
#mpirun $TMPENV -n $4 which tepal64_v2.exe >> hostnames.log
#real mpirun uncomment after verify small test
mpirun $TMPENV -n $4 tepal64_v2.exe --in $IN_FILES.mesh --out $IN_FILES.mesh --verbose 100
#convert output files tepalv1 format
/through_salome_path/mesh2facespoints.py $IN_FILES
#copy ouputs files from $SAME_DIR to local current directory (something like /tmp/myname)
cp -f hostnames.log $IN_DIR
cp -f $IN_FILES* $IN_DIR
#ls -al $SAME_DIR
#cat $SAME_DIR/hostnames.log
#cat /tmp/myname/tepal.log
\endcode
\n
</li> </li>
<h1>TUI use.</h1><br> <h1>TUI use.</h1><br>
<li> <li>
<p>
<b>example ex30_tepal.py.</b><p> <b>example ex30_tepal.py.</b><p>
\code \code
@ -367,7 +463,7 @@ if os.access(results+".xml", os.F_OK):
else: else:
print "KO: tepal" print "KO: tepal"
\endcode \endcode
\n
</li> </li>
</ul> </ul>

View File

@ -0,0 +1,30 @@
/*!
\page hexotic_hypo_page Hexotic Parameters hypothesis
\n Hexotic Parameters hypothesis works only with <b>Hexotic</b>
algorithm. This algorithm is a commercial software.
\image html hexotic_parameters.png
<ul>
<li><b>Name</b> - allows to define the name of the hypothesis (Hexotic
Parameters by default).</li>
<li><b>Nb. Hexes Min Level</b> - allows defining the minimal level of recursive partitioning on the initial octree cube.</li>
<li><b>Nb. Hexes Max Level</b> - allows defining the maximal level of recursive partitioning on the initial octree cube.</li>
<li><b>Salome Quadrangles</b> - not documented.</li>
<li><b>Generate smooth meshes no ridges</b> - specifies that the mesher can ignore ridges. A ridge is a geometrical entity (a sharp edge). The resulting meshes will have better quality elements, at the price of "smoothing" out the geometry.
</li>
<li><b>Authorize invalid elements</b> - specifies that the mesher must conform as much as possible to the geometry (especially the sharp edges). The resulting meshes may contain invalid elements (but with positive volumes: for example, three vertices of an hexahedron on the same edge), for the benefit of better geometry accuracy.
</li>
<li><b>Sharp angle threshold in degrees</b> - specifies the angle between two triangles above which the hex mesher will consider the edge common to these two triangles as being a "ridge". A ridge is a geometrical entity (a sharp edge) which has to be kept as it is in the final hex mesh.The default value is 60 (degrees).<br>If you raise this value, the hex mesher will detect less ridges, and the final solid mesh will therefore be smoother. On the other hand, if you reduce this value, more ridges will be detected and the algorithm will face harder situations to conform to.
</li>
</ul>
*/

View File

@ -5,18 +5,34 @@
\n This functionality allows to merge coincident elements of a mesh \n This functionality allows to merge coincident elements of a mesh
selectable in the dialog box. selectable in the dialog box.
\image html mergeelems_ico.png "Merge elements button" \image html mergeelems_ico.png "Merge elements button"
<ol>
<li>From the \b Modification choose \b Transformation and from its
sub-menu select the <b>Merge elements</b> item. The following dialog box
shall appear:</li>
\image html mergeelems.png \image html mergeelems_auto.png
<br>
<ul> <ul>
<li>\b Name is the name of the mesh whose elements will be merged.</li> <li>\b Name is the name of the mesh whose elements will be merged.</li>
<li>\b Tolerance is a maximum distance between elements sufficient for merging. <li>\b Automatic Mode or \b Manual Mode is to switch the dialog
controls type.
</ul>
<li><b>Automatic mode:</b>
<ul>
<li>In \b Automatic Mode the elements that were created on the same nodes will be merged.</li>
</ul>
</li>
<li>If the \b Manual Mode is selected there are additional controls to
manage the elements to be merged in more detail:
\image html mergeelems.png
<br>
<ul> <ul>
<li>\b Detect button generates the list of coincident elements for the given \b Tolerance.</li> <li>\b Detect button generates the list of coincident elements for the given \b Tolerance.</li>
</ul></li>
<li><b>Coincident elements</b> is a list of groupes of elements for <li><b>Coincident elements</b> is a list of groupes of elements for
merging. All elements of each group will form one after the operation. merging. All elements of each group will form one after the operation.
<ul> <ul>
@ -41,6 +57,7 @@ selectable in the dialog box.
</li> </li>
<li>To confirm your choice click \b Apply or <b>Apply and Close</b> button.</li> <li>To confirm your choice click \b Apply or <b>Apply and Close</b> button.</li>
</ul> </ul>
</ol>
In this picture you see a triangle which coincides with one of the In this picture you see a triangle which coincides with one of the
elements of the mesh. After we apply <b>Merge Elements</b> functionality, the elements of the mesh. After we apply <b>Merge Elements</b> functionality, the

View File

@ -11,19 +11,30 @@ with desirable tolerance, edit these groups and merge.
<ol> <ol>
<li>From the \b Modification choose \b Transformation and from its <li>From the \b Modification choose \b Transformation and from its
sub-menu select the <b>Merge nodes</b> item. The following dialog box sub-menu select the <b>Merge nodes</b> item. The following dialog box
shall appear: shall appear:</li>
\image html mergenodes.png
\image html mergenodes_auto.png
<br>
<ul> <ul>
<li>\b Name is the name of the mesh whose nodes will be merged.</li> <li>\b Name is the name of the mesh whose nodes will be merged.</li>
<li>\b Automatic Mode or \b Manual Mode is to switch the dialog
controls type.
<li>\b Tolerance is a maximum distance between nodes sufficient for <li>\b Tolerance is a maximum distance between nodes sufficient for
merging. merging, that is able in both dialog modes.</li>
</ul>
<li><b>Automatic mode:</b>
<br>
<ul>
<li>In \b Automatic Mode to merge the Nodes, just input the tolerance
value and confirm by \b Apply button.</li>
</ul>
</li><br>
<li>If the \b Manual Mode is selected there are additional controls to
manage the nodes to be merged in more detail:
<ul> <ul>
<li>\b Detect button generates the list of coincident nodes for the given <li>\b Detect button generates the list of coincident nodes for the given
\b Tolerance.</li> \b Tolerance.</li>
</ul>
</li>
<li><b>Coincident nodes</b> is a list of groupes of nodes for <li><b>Coincident nodes</b> is a list of groupes of nodes for
merging. All nodes of each group will form one after the merging. All nodes of each group will form one after the
operation. operation.
@ -33,6 +44,9 @@ operation.
viewer with pressed "Shift" key.</li> viewer with pressed "Shift" key.</li>
<li><b>Select all</b> checkbox selects all groups.</li> <li><b>Select all</b> checkbox selects all groups.</li>
</ul> </ul>
\image html mergenodes.png
</li> </li>
<li><b>Edit selected group</b> list allows editing the selected <li><b>Edit selected group</b> list allows editing the selected
group: group:

View File

@ -18,6 +18,7 @@ elements of the mesh.</li>
its elements.</li> its elements.</li>
<li>\subpage rotation_page "Rotate" by the indicated axis and angle <li>\subpage rotation_page "Rotate" by the indicated axis and angle
the mesh or some of its elements.</li> the mesh or some of its elements.</li>
<li>\subpage scale_page "Scale Transform" the mesh or some of its elements.</li>
<li>Create a \subpage symmetry_page "symmetrical copy" of the mesh <li>Create a \subpage symmetry_page "symmetrical copy" of the mesh
through a point or a vector of symmetry.</li> through a point or a vector of symmetry.</li>
<li>Unite meshes by \subpage sewing_meshes_page "sewing" free borders, <li>Unite meshes by \subpage sewing_meshes_page "sewing" free borders,
@ -36,6 +37,7 @@ or created anew.</li>
<li>\subpage changing_orientation_of_elements_page "Change orientation" <li>\subpage changing_orientation_of_elements_page "Change orientation"
of the selected elements.</li> of the selected elements.</li>
<li>\subpage cutting_quadrangles_page "Cut a quadrangle" into two triangles.</li> <li>\subpage cutting_quadrangles_page "Cut a quadrangle" into two triangles.</li>
<li>\subpage split_to_tetra_page "Split" volumic elements into tetrahedra.</li>
<li>\subpage smoothing_page "Smooth" elements, reducung distortions in <li>\subpage smoothing_page "Smooth" elements, reducung distortions in
them by adjusting the locations of element corners.</li> them by adjusting the locations of element corners.</li>
<li>Create an \subpage extrusion_page "extrusion" along a vector.</li> <li>Create an \subpage extrusion_page "extrusion" along a vector.</li>

View File

@ -71,7 +71,7 @@ having a mesh built on it. Mesh nodes lying on face vertices become
key-points. Additionally, you may choose the way of getting nodes key-points. Additionally, you may choose the way of getting nodes
coordinates by <b>projecting nodes on the face</b> instead of using coordinates by <b>projecting nodes on the face</b> instead of using
"positions on face" generated by mesher (if there is any). Faces "positions on face" generated by mesher (if there is any). Faces
having a seam edge can?t be used for automatic pattern creation. having a seam edge can't be used for automatic pattern creation.
When creating a pattern from an existing mesh, there are two possible When creating a pattern from an existing mesh, there are two possible
cases: cases:

View File

@ -0,0 +1,53 @@
/*!
\page point_marker_page Point Marker
\n You can change the representation of points in
the 3D viewer either by selecting one of the predefined
shapes or by loading a custom texture from an external file.
- Standard point markers
The Mesh module provides a set of predefined point marker shapes
which can be used to display points in 3D viewer.
Each standard point marker has two attributes: type (defines shape
form) and scale factor (defines shape size).
\image html point_marker_widget1.png
<br>
\image html std_point_marker.png "Mesh presentation with standard point markers"
- Custom point markers
It is also possible to load a point marker shape from an external file.
This file should provide a description of the point texture as a set
of lines; each line is represented as sequence of "0" and "1" symbols,
where "1" symbol means an opaque pixel and "0" symbol means a
transparent pixel. The width of the texture correspond to the length
of the longest line in the file, expanded to the nearest byte-aligned
value. The height of the texture is equal to the number of non-empty
lines in the file. Note that missing symbols are replaced by "0".
Here is a texture file sample:
<pre>
00111100
00111100
11111111
11111111
11111111
11111111
00111100
00111100
</pre>
\image html point_marker_widget2.png
<br>
\image html custom_point_marker.png "Mesh presentation with custom point markers"
*/

View File

@ -8,9 +8,16 @@ following conditions: the face must be a full circle or a part of circle
The resulting mesh consists of triangles (near the center point) and The resulting mesh consists of triangles (near the center point) and
quadrangles. quadrangles.
This algorithm requires the hypothesis indicating the number This algorithm is optionally parametrized by the hypothesis indicating the number
of mesh layers along the radius. The distribution of layers can be set with any 1D Hypothesis. of mesh layers along the radius. The distribution of layers can be set with any 1D Hypothesis.
If no own hypothesis of the algorithm is assigned, any local or global hypothesis is used
by the algorithm to discretize edges. Note that if the geometrical face has two radial edges,
they must be meshed with equal number of segments.
If no 1D hypothesis is assigned to an edge, "Default Number of Segments" preferences parameter
is used to discretize the edge.
\image html hypo_radquad_dlg.png \image html hypo_radquad_dlg.png
\image html mesh_radquad_01.png "Radial Quadrangle 2D mesh on the top and the bottom faces of a cylinder" \image html mesh_radquad_01.png "Radial Quadrangle 2D mesh on the top and the bottom faces of a cylinder"

View File

@ -63,7 +63,7 @@ name in the adjacent box);</li>
<li>Click \b Apply or <b> Apply and Close</b> button to confirm the <li>Click \b Apply or <b> Apply and Close</b> button to confirm the
operation.</li> operation.</li>
</ul>
</ol> </ol>

View File

@ -0,0 +1,134 @@
/*!
\page scale_page Scale
\n This geometrical operation allows to scale in space your mesh
or some of its elements.
<em>To scale a mesh:</em>
<ol>
<li>From the \b Modification menu choose \b Transformation -> \b Scale
\b Transform item.
One of the following dialogs will appear:
With one scale factor:
\image html scale01.png
Or with different scale factors for axes:
\image html scale02.png
</li>
<li>
In the dialog:
<ul>
<li>specify the IDs of the translated elements:
<ul>
<li><b>Select the whole mesh, submesh or group</b> activating this
checkbox; or</li>
<li>choose mesh elements with the mouse in the 3D Viewer. It is
possible to select a whole area with a mouse frame; or</li>
<li>input the element IDs directly in <b>ID Elements</b> field. The selected elements will be highlighted in the
viewer; or</li>
<li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of elements. See more
about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
</ul>
</li>
<li>specify the base point for scale</li>
<li>specify the scale factor</li>
<li>specify the conditions of scale:
<ul>
<li>activate <b>Move elements</b> radio button to create the source
mesh (or elements) at the new location and erase it from the previous location;</li>
<li>activate <b>Copy elements</b> radio button to create the source
mesh (or elements) at the new location, but leave it at the previous
location, the source mesh will be considered one and single mesh with
the result of the scale operation;</li>
<li>activate <b>Create as new mesh</b> radio button to leave the
source mesh (or elements) at its previous location and create a new
mesh at the new location, the new mesh appears in the Object Browser
with the default name MeshName_scaled (it is possible to change this
name in the adjacent box);</li>
<li>activate <b> Copy groups </b> checkbox to copy the groups of elements of the source mesh to the newly created mesh.</li>
</ul>
</li>
</li>
<li>Click \b Apply or <b> Apply and Close</b> button to confirm the operation.</li>
</ul>
</ol>
<b>Example of using:</b>
1. Create quandrangle mesh 3x3 on simple planar face (200x200)
\image html scaleinit01.png
and union 3 face (along axis Z) to group "gr_faces"
\image html scaleinit02.png
2. Perform scale operation for whole mesh with creation of new mesh:
\image html scale03.png
result after operation:
\image html scaleres03.png
3. Perform scale operation for whole mesh with copy of elements:
\image html scale04.png
result after operation:
\image html scaleres04.png
4. Perform scale operation for group of faces with copy of elements:
\image html scale06.png
result after operation:
\image html scaleres06.png
5. Perform scale operation for two edges with moving of elements:
\image html scale07.png
result after operation:
\image html scaleres07.png
6. Perform scale operation for one face with moving of elements:
\image html scale09.png
result after operation:
\image html scaleres09.png
<br><b>See Also</b> a sample TUI Script of a \ref tui_scale "Scale" operation.
*/

View File

@ -0,0 +1,55 @@
/*!
\page split_to_tetra_page Splitting volumes into tetrahedra
\n This operation allows to split volumic elements into tetrahedra.
2D mesh is modified accordingly.
<em>To split volumes:</em>
<ol>
<li>Display a mesh or a submesh in the 3D viewer.</li>
<li>In the \b Modification menu select the <b>Split into Tetrahedra</b> item or
click <em>"Split into Tetrahedra"</em> button in the toolbar.
\image html split_into_tetra_icon.png
<center><em>"Split into Tetrahedra" button</em></center>
The following dialog box will appear:
\image html split_into_tetra.png
\par
<ul>
<li>The main list contains the list of volumes. You can click on
a volume in the 3D viewer and it will be highlighted (lock Shift
keyboard button to select several volumes). Click \b Add button and
the ID of this volume will be added to the list. To remove a
selected element or elements from the list click \b Remove button. <b>Sort
list</b> button allows to sort the list of IDs. \b Filter button allows to
apply a definite filter to the selection of volumes.
<br><b>Note:</b> If you split not all adjacent non-tetrahedral volumes, your mesh becomes
non-conform.</li>
<li><b>Apply to all</b> radio button allows to split all
volumes of the currently displayed mesh or submesh.</li>
</ul>
<ul>
<li>\b Split hexahedron
<ul>
<li><b>Into 5 tetrahedra</b> and <b>Into 6 tetrahedra</b> allows to
specify the number of tetrahedra a hexahedron will be split into. If the specified method does
not allow to get a conform mesh, a generic solution is applied: an additional node
is created at gravity center of a hexahedron, serving an apex of tetrahedra, all quadrangle sides of the hexahedron are split into two triangles each serving a base of a new tetrahedron.</li>
</ul>
</li>
<li><b>Select from</b> set of fields allows to choose a submesh or an
existing group whose elements will be automatically added to the
list.</li>
</ul>
<li>Click the \b Apply or <b>Apply and Close</b> button to confirm the operation.</li>
</ol>
*/

View File

@ -5,7 +5,7 @@
\n This geometrical operation allows to perform a symmetrical copy of \n This geometrical operation allows to perform a symmetrical copy of
your mesh or some of its elements. your mesh or some of its elements.
<em>To create a symmtrical copy of the mesh:</em> <em>To create a symmetrical copy of the mesh:</em>
<ol> <ol>
<li>From the \b Modification menu choose \b Transformation -> \b Symmetry item or click <li>From the \b Modification menu choose \b Transformation -> \b Symmetry item or click
@ -76,6 +76,7 @@ name in the adjacent box);</li>
</ul> </ul>
<li>Click \b Apply or <b> Apply and Close</b> button to confirm the <li>Click \b Apply or <b> Apply and Close</b> button to confirm the
operation.</li> operation.</li>
</ul>
</ol> </ol>

View File

@ -65,6 +65,7 @@ name in the adjacent box);</li>
</li> </li>
<li>Click \b Apply or <b> Apply and Close</b> button to confirm the operation.</li> <li>Click \b Apply or <b> Apply and Close</b> button to confirm the operation.</li>
</ul>
</ol> </ol>
<br><b>See Also</b> a sample TUI Script of a \ref tui_translation "Translation" operation. <br><b>See Also</b> a sample TUI Script of a \ref tui_translation "Translation" operation.

View File

@ -82,6 +82,67 @@ quadra.Compute()
\endcode \endcode
<br>
<h2>Change priority of submeshes in Mesh</h2>
\code
import salome
import geompy
import smesh
import SMESH
Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)
[Face_1,Face_2,Face_3,Face_4,Face_5,Face_6] = geompy.SubShapeAllSorted(Box_1, geompy.ShapeType["FACE"])
# create Mesh object on Box shape
Mesh_1 = smesh.Mesh(Box_1)
# assign mesh algorithms
Regular_1D = Mesh_1.Segment()
Nb_Segments_1 = Regular_1D.NumberOfSegments(20)
Nb_Segments_1.SetDistrType( 0 )
MEFISTO_2D = Mesh_1.Triangle()
Max_Element_Area_1 = MEFISTO_2D.MaxElementArea(1200)
Tetrahedron_Netgen = Mesh_1.Tetrahedron(algo=smesh.NETGEN)
Max_Element_Volume_1 = Tetrahedron_Netgen.MaxElementVolume(40000)
# create submesh and assign algorithms on Face_1
Netgen_1D_2D = Mesh_1.Triangle(algo=smesh.NETGEN,geom=Face_1)
SubMesh_1 = Netgen_1D_2D.GetSubMesh()
NETGEN_2D_Simple_Parameters_1 = Netgen_1D_2D.Parameters(which=smesh.SIMPLE)
NETGEN_2D_Simple_Parameters_1.SetNumberOfSegments( 4 )
NETGEN_2D_Simple_Parameters_1.LengthFromEdges()
# create submesh and assign algorithms on Face_2
Netgen_1D_2D_1 = Mesh_1.Triangle(algo=smesh.NETGEN,geom=Face_2)
SubMesh_2 = Netgen_1D_2D_1.GetSubMesh()
NETGEN_2D_Simple_Parameters_2 = Netgen_1D_2D_1.Parameters(which=smesh.SIMPLE)
NETGEN_2D_Simple_Parameters_2.SetNumberOfSegments( 8 )
NETGEN_2D_Simple_Parameters_2.LengthFromEdges()
smeshObj_1 = smesh.CreateHypothesis('NETGEN_SimpleParameters_2D',
'NETGENEngine')
# create submesh and assign algorithms on Face_3
Netgen_1D_2D_2 = Mesh_1.Triangle(algo=smesh.NETGEN,geom=Face_3)
SubMesh_3 = Netgen_1D_2D_2.GetSubMesh()
NETGEN_2D_Simple_Parameters_3 = Netgen_1D_2D_2.Parameters(which=smesh.SIMPLE)
NETGEN_2D_Simple_Parameters_3.SetNumberOfSegments( 12 )
NETGEN_2D_Simple_Parameters_3.LengthFromEdges()
# check exisiting submesh priority order
[ [ SubMesh_1, SubMesh_3, SubMesh_2 ] ] = Mesh_1.GetMeshOrder()
# set new submesh order
isDone = Mesh_1.SetMeshOrder( [ [ SubMesh_1, SubMesh_2, SubMesh_3 ] ])
# compute mesh
isDone = Mesh_1.Compute()
# clear mesh result and compute with other submesh order
Mesh_1.Clear()
isDone = Mesh_1.SetMeshOrder( [ [ SubMesh_2, SubMesh_1, SubMesh_3 ] ])
isDone = Mesh_1.Compute()
\endcode
<br> <br>
\anchor tui_editing_mesh \anchor tui_editing_mesh
<h2>Editing of a mesh</h2> <h2>Editing of a mesh</h2>

View File

@ -514,33 +514,70 @@ Mesh_1.Compute()
\anchor tui_radial_quadrangle \anchor tui_radial_quadrangle
<h2> Radial Quadrangle 1D2D example </h2> <h2> Radial Quadrangle 1D2D example </h2>
\code \code
import salome from smesh import *
SetCurrentStudy(salome.myStudy)
# Create face from the wire and add to study
Face = geompy.MakeSketcher("Sketcher:F 0 0:TT 20 0:R 90:C 20 90:WF", [0, 0, 0, 1, 0, 0, 0, 0, 1])
geompy.addToStudy(Face,"Face")
edges = geompy.SubShapeAllSorted(Face, geompy.ShapeType["EDGE"])
circle, radius1, radius2 = edges
geompy.addToStudyInFather(Face, radius1,"radius1")
geompy.addToStudyInFather(Face, radius2,"radius2")
geompy.addToStudyInFather(Face, circle,"circle")
# Define geometry for mesh, and Radial Quadrange algorithm
mesh = smesh.Mesh(Face)
radial_Quad_algo = mesh.Quadrangle(algo=RADIAL_QUAD)
# The Radial Quadrange algorithm can work without any hypothesis
# In this case it uses "Default Nb of Segments" preferences parameter to discretize edges
mesh.Compute()
# The Radial Quadrange uses global or local 1d hypotheses if no its own hypotheses assigned.
# Define global hypotheses to discretize radial edges and a local one for circular edge
global_Nb_Segments = mesh.Segment().NumberOfSegments(5)
local_Nb_Segments = mesh.Segment(circle).NumberOfSegments(10)
mesh.Compute()
# Define own parameters of Radial Quadrange algorithm
radial_Quad_algo.NumberOfLayers( 4 )
mesh.Compute()
\endcode
\anchor tui_quadrangle_parameters
<h2>Quadrangle Parameters example </h2>
\code
import geompy import geompy
import smesh import smesh
import StdMeshers import StdMeshers
# Create face from the wire and add to study # Get 1/4 part from the disk face.
WirePath = geompy.MakeSketcher("Sketcher:F 0 0:TT 20 0:R 90:C 20 90:WW", [0, 0, 0, 1, 0, 0, 0, 0, 1]) Box_1 = geompy.MakeBoxDXDYDZ(100, 100, 100)
Face = geompy.MakeFace(WirePath,1) Disk_1 = geompy.MakeDiskR(100, 1)
geompy.addToStudy(Face,"Face") Common_1 = geompy.MakeCommon(Disk_1, Box_1)
geompy.addToStudy( Disk_1, "Disk_1" )
geompy.addToStudy( Box_1, "Box_1" )
geompy.addToStudy( Common_1, "Common_1" )
# Define geometry for mesh, and 1D parameters # Set the Geometry for meshing
mesh = smesh.Mesh(Face) Mesh_1 = smesh.Mesh(Common_1)
Wire_discretisation = mesh.Segment()
Nb_Segments = Wire_discretisation.NumberOfSegments(5)
Nb_Segments.SetDistrType( 0 )
# Define 2D parameters and Radial Quadrange hypothesis # Create Quadrangle parameters and define the Base Vertex.
Number_of_Layers = smesh.CreateHypothesis('NumberOfLayers2D') Quadrangle_Parameters_1 = smesh.CreateHypothesis('QuadrangleParams')
Number_of_Layers.SetNumberOfLayers( 4 ) Quadrangle_Parameters_1.SetTriaVertex( 8 )
mesh.AddHypothesis(Number_of_Layers)
RadialQuadrangle_1D2D = smesh.CreateHypothesis('RadialQuadrangle_1D2D')
mesh.AddHypothesis(RadialQuadrangle_1D2D)
mesh.Compute() # Define 1D hypothesis and cmpute the mesh
Regular_1D = Mesh_1.Segment()
Nb_Segments_1 = Regular_1D.NumberOfSegments(10)
Nb_Segments_1.SetDistrType( 0 )
status = Mesh_1.AddHypothesis(Quadrangle_Parameters_1)
Quadrangle_2D = Mesh_1.Quadrangle()
Mesh_1.Compute()
\endcode \endcode
\n Other meshing algorithms: \n Other meshing algorithms:
<ul> <ul>

View File

@ -44,6 +44,37 @@ angle270 = 1.5 * math.pi
mesh.Rotate([], axisXYZ, angle270, 1) mesh.Rotate([], axisXYZ, angle270, 1)
\endcode \endcode
<br>
\anchor tui_scale
<h3>Scale</h3>
\code
import geompy
Box = geompy.MakeBoxDXDYDZ(200, 200, 200)
f = geompy.SubShapeAllSorted(Box, geompy.ShapeType["FACE"])
import smesh,SMESH
import StdMeshers
Mesh1 = smesh.Mesh(f[0])
Regular_1D = Mesh1.Segment()
Nb_Segments_1 = Regular_1D.NumberOfSegments(3)
Nb_Segments_1.SetDistrType( 0 )
Quadrangle_2D = Mesh1.Quadrangle()
isDone = Mesh1.Compute()
#Perform scale opration for whole mesh with creation of new mesh
newMesh = Mesh1.ScaleMakeMesh(Mesh1,SMESH.PointStruct(100,100,200),[0.5,0.3,0.7],True,"ScaledMesh")
#Perform scale operation for whole mesh with copy of elements
Mesh1.Scale(Mesh1,SMESH.PointStruct(200,100,100),[0.5,0.5,0.5],True,True)
#Perform scale opration for two edges with moving of elements
Mesh1.Scale([1,2],SMESH.PointStruct(-100,100,100),[0.8,1.0,0.7],False)
#Perform scale opration for one face with moving of elements
Mesh1.Scale([21],SMESH.PointStruct(0,200,200),[0.7,0.7,0.7],False)
\endcode
<br> <br>
\anchor tui_symmetry \anchor tui_symmetry
<h3>Symmetry</h3> <h3>Symmetry</h3>

View File

@ -83,4 +83,53 @@ for i in keys:
pass pass
\endcode \endcode
<br>
\anchor tui_find_element_by_point
<h2>Find Element by Point</h2>
\code
import geompy
import smesh
import SMESH
# Create a geometry to mesh
box = geompy.MakeBoxDXDYDZ(100,100,100)
# Create a mesh
mesh = Mesh(box,"Mesh")
mesh.AutomaticHexahedralization()
mesh.Compute()
# Create a point
x,y,z = 0, 0, 1
# Find all elements (except 0D ones) located at the point
all_elems_except_0D = mesh.FindElementsByPoint(x,y,z)
assert( len(all_elems_except_0D) == 4)
# Find nodes at the point
nodes = mesh.FindElementsByPoint(x,y,z, SMESH.NODE )
assert( len(nodes) == 0)
assert( len( mesh.FindElementsByPoint(x,y,0, SMESH.NODE)) == 1)
# Find an edge at the point
edges = mesh.FindElementsByPoint(x,y,z, SMESH.EDGE )
assert( len(edges) == 1)
# Find faces at the point
edges = mesh.FindElementsByPoint(x,y,z, SMESH.FACE )
assert( len(edges) == 2)
# Find a volume at the point
vols = mesh.FindElementsByPoint(x,y,z, SMESH.VOLUME )
assert( len(vols) == 1)
# Find 0D elements at the point
edges = mesh.FindElementsByPoint(x,y,z, SMESH.ELEM0D )
assert( len(edges) == 0)
\endcode
*/ */

View File

@ -24,6 +24,9 @@ Object Browser, applying all recent changes. </li>
information about the mesh.</li> information about the mesh.</li>
<li>\ref mesh_element_info_anchor "Mesh Element Info" - provides basic <li>\ref mesh_element_info_anchor "Mesh Element Info" - provides basic
information about the selected element of the mesh. </li> information about the selected element of the mesh. </li>
<li>\subpage find_element_by_point_page "Find Element by Point" -
allows to find all mesh elements, to which belongs a point with the
given coordinates.</li>
<li>\subpage numbering_page "Numbering" - allows to display the ID <li>\subpage numbering_page "Numbering" - allows to display the ID
numbers of all meshing elements or nodes composing your mesh in the numbers of all meshing elements or nodes composing your mesh in the
viewer.</li> viewer.</li>
@ -31,9 +34,13 @@ viewer.</li>
Wireframe, Shading and Nodes presentation.</li> Wireframe, Shading and Nodes presentation.</li>
<li>\subpage display_entity_page "Display Entity" - allows to display <li>\subpage display_entity_page "Display Entity" - allows to display
Faces, Edges or both.</li> Faces, Edges or both.</li>
<li><b>2D Quadratic</b> - allows to select between the representation
of quadratic edges as broken <b>lines</b> or as <b>arcs</b></li>
<li><b>Orientation of faces</b> - shows vectors of orientation of <li><b>Orientation of faces</b> - shows vectors of orientation of
faces of the selected mesh</li> faces of the selected mesh. Vector is shown for each 2D mesh element
<li><b>Colors / Size</b> - allows to select color and size of and for each free face of 3D mesh element. Vector direction is calculated by
the first three nodes of face as a cross product of vectors n1-n2 and n1-n3.</li>
<li>\subpage colors_size_page "Colors / Size" - allows to select color and size of
meshes.</li> meshes.</li>
<li>\subpage transparency_page "Transparency" - allows to change the <li>\subpage transparency_page "Transparency" - allows to change the
transparency of mesh elements.</li> transparency of mesh elements.</li>
@ -43,7 +50,12 @@ presents various information about meshes.</li>
<li><b>Hide</b> - allows to hide the selected mesh from the viewer.</li> <li><b>Hide</b> - allows to hide the selected mesh from the viewer.</li>
<li><b>Show Only</b> -allows to display only the selected mesh, hiding all other from the viewer.</li> <li><b>Show Only</b> -allows to display only the selected mesh, hiding all other from the viewer.</li>
<li><b>Dump view</b> - exports an object from the viewer in bmp, png, jpg or jpeg image format.</li> <li><b>Dump view</b> - exports an object from the viewer in bmp, png, jpg or jpeg image format.</li>
<li><b>Change background</b> - allows to redefine the background color. By default it is black.</li> <li><b>Change background</b> - allows to redefine the background
color. By default it is black.</li>
<li><b>View Operations</b> checkbox - allows to show/hide the
visualization toolbar in the viewer window.</li>
<li><b>Recording Operations</b> - allows to show/hide the recording
toolbar in the viewer window.</li>
</ul> </ul>
*/ */

View File

@ -1,5 +1,35 @@
H1 { body {
font-family: Arial, Helvetica, sans-serif;
background-color: #ffffff;
}
h1 {
text-align: center; text-align: center;
text-decoration: none;
border: none;
line-height: 25px;
text-align: center;
// text-transform:uppercase;
background: #D9f4fd;
font-size: 12pt;
font-weight: bold;
border: 1px solid #CCCCCC;
-moz-border-radius: 8px;
-moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
/* background-color: rgb(75, 140, 185);
color: #ffffff;
text-align: center;
height: 25px;*/
}
h2 {
font-size: 12pt;
font-weight: bold;
}
table {
font-size: 10pt;
} }
CAPTION { CAPTION {
@ -11,16 +41,6 @@ A.qindex {}
A.qindexRef {} A.qindexRef {}
/* Link to any cross-referenced Doxygen element */
A.el {
text-decoration: none;
font-weight: bold
}
A.elRef {
font-weight: bold
}
/* Link to any cross-referenced Doxygen element inside a code section /* Link to any cross-referenced Doxygen element inside a code section
(ex: header) (ex: header)
*/ */
@ -37,7 +57,49 @@ A.codeRef {
A:hover { A:hover {
text-decoration: none; text-decoration: none;
background-color: lightblue background-color: lightblue;
}
div.contents {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
}
div.navpath {
font-size: 11pt;
}
div.version {
background-color:#ffffde;
border:1px solid #cccccc;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
text-align: center;
width:100px;
-moz-border-radius: 8px;
// -moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
}
div.header {
background: url("head.png");
background-color: #175783;
border: 1px solid;
height: 80px;
background-repeat: no-repeat;
margin-bottom: 10px;
}
div.tabs {
display: none;
}
div.footer {
background-color: #D9f4fd;
border: 1px solid #AAAAAA;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
padding: 10px;
margin-top: 15px;
} }
DL.el { DL.el {
@ -45,10 +107,8 @@ DL.el {
} }
/* A code fragment (ex: header) */ /* A code fragment (ex: header) */
DIV.fragment { div.fragment {
width: 100%;
border: none; border: none;
background-color: #CCCCCC
} }
/* In the alpha list (coumpound index), style of an alphabetical index letter */ /* In the alpha list (coumpound index), style of an alphabetical index letter */
@ -94,10 +154,6 @@ DIV.groupText {
font-size: smaller font-size: smaller
} }
BODY {
background: #FFFFFF;
}
/*div.div-page { /*div.div-page {
background-color: #FFFFFF; background-color: #FFFFFF;
margin-left: 1em; margin-left: 1em;
@ -168,3 +224,212 @@ span.comment { color: #800000 }
span.preprocessor { color: #806020 } span.preprocessor { color: #806020 }
span.stringliteral { color: #002080 } span.stringliteral { color: #002080 }
span.charliteral { color: #008080 } span.charliteral { color: #008080 }
/* @group Code Colorization */
.fragment {
font-family: monospace, fixed;
font-size: 10pt;
}
pre.fragment {
width: 95%;
border: 1px solid #CCCCCC;
-moz-border-radius: 8px;
-moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
background-color:#EEF3F5;
padding: 4px 6px;
margin: 4px 1px 4px 1px;
}
/* Top Navigation style */
div.navigation {
margin-bottom:20px;
}
/* Left navigation panel style */
body.ftvtree {
background-color: #D9f4fd;
margin: 10px;
}
div.directory {
margin: 0;
}
div.directory.p {
margin: 0;
}
h3.swap {
font-size: 10pt;
margin-bottom: 0;
}
/* Link to any cross-referenced Doxygen element */
a.el {
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 9pt;
color: #551a8b;
}
a.el:hover {
background-color: transparent;
}
a.elRef {
font-weight: normal;
}
#MSearchBox {
-moz-border-radius:8px 8px 8px 8px;
background-color:white;
border:1px solid #84B0C7;
margin:0;
padding:0;
white-space:nowrap;
}
div.directory img {
vertical-align:-30%;
}
div.directory p {
white-space:nowrap;
margin: 0;
}
div.directory-alt div {
display: none;
margin: 0px;
}
div.directory div {
display: none;
margin: 0px;
}
div.version {
background-color:#ffffde;
border:1px solid #cccccc;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
text-align: center;
width:100px;
-moz-border-radius: 8px;
// -moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
}
/* @group Member Descriptions */
.mdescLeft, .mdescRight,
.memItemLeft, .memItemRight,
.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
background-color: #FAFAFA;
border: none;
margin: 4px;
padding: 1px 0 0 8px;
}
.mdescLeft, .mdescRight {
padding: 0px 8px 4px 8px;
color: #555;
}
.memItemLeft, .memItemRight, .memTemplParams {
border-top: 1px solid #ccc;
}
.memItemLeft, .memTemplItemLeft {
white-space: nowrap;
}
.memTemplParams {
color: #606060;
white-space: nowrap;
}
/* @end */
/* Styles for detailed member documentation */
.memtemplate {
font-size: 80%;
color: #606060;
font-weight: normal;
margin-left: 3px;
}
.memnav {
background-color: #e8eef2;
border: 1px solid #84b0c7;
text-align: center;
margin: 2px;
margin-right: 15px;
padding: 2px;
}
.memitem {
padding: 0;
margin-bottom: 10px;
}
.memname {
white-space: nowrap;
font-weight: bold;
}
.memproto, .memdoc {
border: 1px solid #84b0c7;
}
.memproto {
padding: 0;
background-color: #d5e1e8;
font-weight: bold;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
-moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
}
.memdoc {
padding: 2px 5px;
background-color: #eef3f5;
border-top-width: 0;
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
-moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
}
.paramkey {
text-align: right;
}
.paramtype {
white-space: nowrap;
}
.paramname {
color: #602020;
white-space: nowrap;
}
.paramname em {
font-style: normal;
}
/* @end */

Some files were not shown because too many files have changed in this diff Show More