delaunay,
frontal,
delaunayforquad,
+#if GMSH_MAJOR_VERSION >=4 && GMSH_MINOR_VERSION >=10
+ packingparallelograms,
+ quadqs
+#else
packingparallelograms
+#endif
};
void Set2DAlgo(Algo2D the2DAlgo);
void GMSHPlugin_Mesher::SetMaxThreadsGmsh()
{
MESSAGE("GMSHPlugin_Mesher::SetMaxThreadsGmsh");
- // compound meshing (_compounds.size() > 0) and quad meshing (_algo2d == 5) will
+ // compound meshing (_compounds.size() > 0) and quad meshing (_algo2d >= 5) will
// not be multi-threaded
- if (_compounds.size() > 0 || _algo2d == 5){
+ if (_compounds.size() > 0 || _algo2d >= 5){
_maxThreads = 1;
}
else
mapAlgo2d[3]=6; // Frontal-Delaunay
mapAlgo2d[4]=8; // DelQuad (Frontal-Delaunay for Quads)
mapAlgo2d[5]=9; // Packing of parallelograms
+#if GMSH_MAJOR_VERSION >=4 && GMSH_MINOR_VERSION >=10
+ mapAlgo2d[6]=11;// Quasistructured quads with cross-fields
+#endif
std::map <int,double> mapAlgo3d;
mapAlgo3d[0]=1; // Delaunay
delaunay,
frontal,
delaunayforquad,
+#if GMSH_MAJOR_VERSION >=4 && GMSH_MINOR_VERSION >=10
+ packingparallelograms,
+ quadqs
+#else
packingparallelograms
+#endif
};
enum Algo3D
delaunay3,
frontal3,
mmg3d,
- rtree
+ rtree,
+ hxt
};
#if GMSH_MAJOR_VERSION >=4 && GMSH_MINOR_VERSION >=8
aGroupLayout->addWidget( new QLabel( tr( "GMSH_2D_ALGO" ), GroupC1 ), row, 0 );
my2DAlgo = new QComboBox( GroupC1 );
QStringList types2DAlgo;
- types2DAlgo << tr( "GMSH_AUTOMATIC" ) << tr( "GMSH_MESH_ADAPT" ) << tr( "GMSH_DELAUNAY" ) <<
- tr( "GMSH_FRONTAL" ) << tr( "GMSH_DELAUNAY_FOR_QUAD" ) << tr( "GMSH_PACKING_OF_PARALLELOGRAMS" );
+ types2DAlgo << tr( "GMSH_AUTOMATIC" )
+ << tr( "GMSH_MESH_ADAPT" )
+ << tr( "GMSH_DELAUNAY" )
+ << tr( "GMSH_FRONTAL" )
+ << tr( "GMSH_DELAUNAY_FOR_QUAD" )
+#if GMSH_MAJOR_VERSION >=4 && GMSH_MINOR_VERSION >=10
+ << tr( "GMSH_PACKING_OF_PARALLELOGRAMS" )
+ << tr( "GMSH_QUASI_STRUCTURED_QUAD" );
+#else
+ << tr( "GMSH_PACKING_OF_PARALLELOGRAMS" );
+#endif
my2DAlgo->addItems( types2DAlgo );
aGroupLayout->addWidget( my2DAlgo, row, 1 );
row++;
</message>
<message>
<source>GMSH_MESH_ADAPT</source>
- <translation>Mesh adapt</translation>
+ <translation>MeshAdapt</translation>
</message>
<message>
<source>GMSH_DELAUNAY</source>
</message>
<message>
<source>GMSH_FRONTAL</source>
- <translation>Frontal</translation>
+ <translation>Frontal-Delaunay</translation>
</message>
<message>
<source>GMSH_DELAUNAY_FOR_QUAD</source>
- <translation>Delaunay for quads</translation>
+ <translation>Frontal-Delaunay for Quads</translation>
+ </message>
+ <message>
+ <source>GMSH_QUASI_STRUCTURED_QUAD</source>
+ <translation>Quasi-Structured Quad</translation>
</message>
<message>
<source>GMSH_PACKING_OF_PARALLELOGRAMS</source>
<source>GMSH_DELAUNAY_FOR_QUAD</source>
<translation>Delaunay pour quads</translation>
</message>
+ <message>
+ <source>GMSH_QUASI_STRUCTURED_QUAD</source>
+ <translation>Quadrangles quasi-structuré</translation>
+ </message>
<message>
<source>GMSH_PACKING_OF_PARALLELOGRAMS</source>
<translation>Remplissage de parallélogrammes</translation>