#
SALOME_CONFIGURE_FILE(VERSION.in VERSION INSTALL ${SALOME_INSTALL_BINS})
+
+
+# scripts / static / binaries
+# temporary standalone project version of mg-hybrid.exe
+SET(_bin_SCRIPTS
+ essai.bash
+ mg-hybrid.exe
+ mg-hybrid.exe_Linux_64_avril2014
+)
+
+
+# --- rules ---
+SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_BINS})
--- /dev/null
+#!/bin/bash
+
+echo "hello essai"
--- /dev/null
+#!/bin/bash
+
+#bash script mg-hybrid.exe
+#we have renamed binary executable mg-hybrid.exe V1.3.0 as mg-hybrid.exe_Linux_64_avril2014
+#to assume call of other beta-versions of distene mg-hybrid.exe code in standalone plugin HYBRIDPLUGIN sources
+#and also assume licence file set to overriding licence file of other distene products ( HEXOTIC, GHS3D, etc... )
+#all that for for only one call of mg-hybrid.exe from salome plugin HYBRIDPLUGIN
+
+#echo "mg-hybrid.exe initial parameters are:" $1 $2 $3 $4
+echo "mg-hybrid.exe initial parameters are:" $*
+#$0 is ignored
+
+export DISTENE_LICENSE_FILE="Use global envvar: DLIM8VAR"
+export DLIM8VAR="dlim8 1:1:29030@132.166.151.49/84c419b8::87af196ab2a936ab31363624539bff8096fbe1f3c83028c8f6b399b0a904ef85"
+
+echo "mg-hybrid.exe assume licence file set:"
+env | grep DLIM
+
+#mg-hybrid.exe_Linux_64_avril2014 --help
+mg-hybrid.exe_Linux_64_avril2014 $*
+
types << tr( "LEVEL_NONE" ) << tr( "LEVEL_LIGHT" ) << tr( "LEVEL_MEDIUM" ) << tr( "LEVEL_STANDARDPLUS" ) << tr( "LEVEL_STRONG" );
myOptimizationLevelCombo->addItems( types );
- aStdLayout->addWidget( new QLabel( tr( "HYBRID_BOUNDARY_LAYERS_GROWTH" ), myStdGroup ), row, 0, 1, 1 );
+ QLabel* aLabel = new QLabel( tr( "HYBRID_BOUNDARY_LAYERS_GROWTH" ), myStdGroup );
+ aLabel->setToolTip(tr( "HYBRID_BOUNDARY_LAYERS_HELP" ));
+ aStdLayout->addWidget( aLabel, row, 0, 1, 1 );
myBoundaryLayersGrowthCombo = new QComboBox( myStdGroup );
+ myBoundaryLayersGrowthCombo->setToolTip(tr( "HYBRID_BOUNDARY_LAYERS_HELP" ));
+
aStdLayout->addWidget( myBoundaryLayersGrowthCombo, row++, 1, 1, 1 );
QStringList typesBoundaryLayersGrowth;
- typesBoundaryLayersGrowth << tr( "HYBRID_LAYER_GROWTH_INWARD" ) << tr( "HYBRID_LAYER_GROWTH_OUTWARD" );
+ typesBoundaryLayersGrowth << tr( "HYBRID_LAYER_GROWTH_UPWARD" ) << tr( "HYBRID_LAYER_GROWTH_DOWNWARD" );
myBoundaryLayersGrowthCombo->addItems( typesBoundaryLayersGrowth );
aStdLayout->addWidget( new QLabel( tr( "HYBRID_HeightFirstLayer" ), myStdGroup ), row, 0, 1, 1 );
<source>HYBRID_BOUNDARY_LAYERS_GROWTH</source>
<translation>Growth of boundary layers</translation>
</message>
+ <message>
+ <source>HYBRID_BOUNDARY_LAYERS_HELP</source>
+ <translation>Pay attention:
+due to random conventions of normals orientations of many mesher,
+downward means inward and upward means outward ...
+... or vice versa.</translation>
+ </message>
<message>
<source>HYBRID_LAYER_GROWTH_INWARD</source>
<translation>Inward growth</translation>
<source>HYBRID_LAYER_GROWTH_OUTWARD</source>
<translation>Outward growth</translation>
</message>
+ <message>
+ <source>HYBRID_LAYER_GROWTH_UPWARD</source>
+ <translation>Upward growth</translation>
+ </message>
+ <message>
+ <source>HYBRID_LAYER_GROWTH_DOWNWARD</source>
+ <translation>Downward growth</translation>
+ </message>
<message>
<source>HYBRID_GENERATION_ELEMENT</source>
<translation>Element type for mesh in the remaining volume</translation>
// cmd += TCollection_AsciiString(" --required_vertices ") + aGenericNameRequired;
cmd += TCollection_AsciiString(" --out ") + aResultFileName;
if ( !_logInStandardOutput )
- cmd += TCollection_AsciiString(" 1>" ) + aLogFileName; // dump into file
+ cmd += TCollection_AsciiString(" &>" ) + aLogFileName; // dump into file
std::cout << std::endl;
std::cout << "Hybrid execution with geometry..." << std::endl;
// cmd += TCollection_AsciiString(" --required_vertices ") + aGenericNameRequired;
cmd += TCollection_AsciiString(" --out ") + aResultFileName;
if ( !_logInStandardOutput )
- cmd += TCollection_AsciiString(" 1>" ) + aLogFileName; // dump into file
+ cmd += TCollection_AsciiString(" &>" ) + aLogFileName; // dump into file
std::cout << std::endl;
std::cout << "Hybrid execution w/o geometry..." << std::endl;