[Gmsh] High-order optimization parameters

FERRERO ANDREA d019088 at polito.it
Fri May 2 22:10:09 CEST 2014


Dear Gonçalo
Thank you for your answer.
I removed the square brackets but the option is still not 
recognized.
In fact I obtained the error message:

Error   : Unknown option '-ho_0.5,2.0,6'


Andrea Ferrero


On Fri, 2 May 2014 21:47:27 +0200
  Gonçalo Albuquerque <albusquercus at gmail.com> wrote:
> Dear Andrea,
> 
> I would drop the square brackets. Your command line 
>should perhaps read:
> gmsh -2 -order 2 -optimize_ho -ho_0.5,2.0,6 geometry.geo
> 
> Gonçalo
> 
> 
> On Fri, May 2, 2014 at 6:42 PM, FERRERO ANDREA 
><d019088 at polito.it> wrote:
> 
>> Dear All,
>> I have a problem with the high-order mesh optimizer. In 
>>particular I
>> cannot set the optimization parameters from the command 
>>line.
>> I need to use Gmsh from the command line because I call 
>>it from a script.
>> If I use the GUI the algorithm works well and I can 
>>properly set the
>> parameters (min and max jacobian values and number of 
>>layers) from the
>> control window, but I obtain an error when I try to use 
>>the command line
>> option described in the documentation.
>> I'm working with Gmsh 2.8.4 on a 64 bit Linux machine. 
>>Maybe do I use the
>> wrong syntax?
>>
>> The following command works but it uses the default 
>>parameters which are
>> not suitable for my problem:
>> gmsh -2 -order 2 -optimize_ho geometry.geo
>>
>> The following command does not work because the last 
>>option is not
>> recognized:
>> gmsh -2 -order 2 -optimize_ho -ho_[0.5,2.0,6] 
>>geometry.geo
>>
>> It seems to me that the syntax is correct...what could 
>>be the problem?
>>
>> Thanks
>>
>> Andrea Ferrero
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at geuz.org
>> http://www.geuz.org/mailman/listinfo/gmsh
>>