mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
switch off creation of hexes per default
This commit is contained in:
parent
f2f3e92125
commit
8377ab058d
@ -103,6 +103,8 @@ namespace netgen
|
||||
for (int qstep = 0; qstep <= 3; qstep++)
|
||||
// for (int qstep = 0; qstep <= 0; qstep++) // for hex-filling
|
||||
{
|
||||
if (qstep == 0 && !mp.try_hexes) continue;
|
||||
|
||||
// cout << "openquads = " << mesh3d.HasOpenQuads() << endl;
|
||||
if (mesh3d.HasOpenQuads())
|
||||
{
|
||||
|
@ -1200,6 +1200,8 @@ namespace netgen
|
||||
/// quad-dominated surface meshing
|
||||
int quad = 0;
|
||||
///
|
||||
bool try_hexes = false;
|
||||
///
|
||||
int inverttets = 0;
|
||||
///
|
||||
int inverttrigs = 0;
|
||||
|
@ -1183,6 +1183,7 @@ namespace netgen
|
||||
mparam.secondorder = atoi (Tcl_GetVar (interp, "::options.secondorder", 0));
|
||||
mparam.elementorder = atoi (Tcl_GetVar (interp, "::options.elementorder", 0));
|
||||
mparam.quad = atoi (Tcl_GetVar (interp, "::options.quad", 0));
|
||||
mparam.try_hexes = atoi (Tcl_GetVar (interp, "::options.try_hexes", 0));
|
||||
|
||||
mparam.inverttets = atoi (Tcl_GetVar (interp, "::options.inverttets", 0));
|
||||
mparam.inverttrigs = atoi (Tcl_GetVar (interp, "::options.inverttrigs", 0));
|
||||
|
@ -69,6 +69,7 @@ const char * ngscript[] = {""
|
||||
,"set options.secondorder 0\n"
|
||||
,"set options.elementorder 1\n"
|
||||
,"set options.quad 0\n"
|
||||
,"set options.try_hexes 0\n"
|
||||
,"set options.inverttets 0\n"
|
||||
,"set options.inverttrigs 0\n"
|
||||
,"set options.autozrefine 0\n"
|
||||
@ -387,6 +388,7 @@ const char * ngscript[] = {""
|
||||
,"puts $datei \"options.secondorder ${options.secondorder}\"\n"
|
||||
,"puts $datei \"options.elementorder ${options.elementorder}\"\n"
|
||||
,"puts $datei \"options.quad ${options.quad}\"\n"
|
||||
,"puts $datei \"options.try_hexes ${options.try_hexes}\"\n"
|
||||
,"puts $datei \"options.inverttets ${options.inverttets}\"\n"
|
||||
,"puts $datei \"options.inverttrigs ${options.inverttrigs}\"\n"
|
||||
,"puts $datei \"options.autozrefine ${options.autozrefine}\"\n"
|
||||
|
@ -27,6 +27,7 @@ set options.elsizeweight 0.2
|
||||
set options.secondorder 0
|
||||
set options.elementorder 1
|
||||
set options.quad 0
|
||||
set options.try_hexes 0
|
||||
set options.inverttets 0
|
||||
set options.inverttrigs 0
|
||||
set options.autozrefine 0
|
||||
@ -410,7 +411,8 @@ proc saveoptions { } {
|
||||
puts $datei "options.secondorder ${options.secondorder}"
|
||||
puts $datei "options.elementorder ${options.elementorder}"
|
||||
# puts $datei "options.memory ${options.memory}"
|
||||
puts $datei "options.quad ${options.quad}"
|
||||
puts $datei "options.quad ${options.quad}"
|
||||
puts $datei "options.try_hexes ${options.try_hexes}"
|
||||
puts $datei "options.inverttets ${options.inverttets}"
|
||||
puts $datei "options.inverttrigs ${options.inverttrigs}"
|
||||
puts $datei "options.autozrefine ${options.autozrefine}"
|
||||
|
Loading…
Reference in New Issue
Block a user