Hi,
I am trying to use the API to refine mesh by using:

newGmshModel->refineMesh( CTX::instance()->mesh.secondOrderLinear );

It does not behave like calling refinement from command line:

gmsh -refine *.msh

I suspect the problem is due to the value of
CTX::instance()->mesh.secondOrderLinear. The default value is "0" as far
as I have understood. I cannot figure out where the value is set to "1"
when running from commandline. But to generate the same mesh with
techniques mesh.secondOrderLinear has to be set to "1".

Is this right?

Best
C

-- 


Christophe TROPHIME
Research Engineer

LNCMI
CNRS - LNCMI
25, rue des Martyrs
BP 166
38042 GRENOBLE Cedex 9
FRANCE
CNRS

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01
Office U 19 
M@il : [email protected] 
________________________________________________________________________


_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to