Hi Mike,

http://www.geuz.org/gmsh/doc/texinfo/gmsh-full.html#SEC37

Boundary { transform-list }
    (Not a transformation per-se.) Returns the boundary of the elementary 
entities in transform-list.

with

transform-list:
  Point | Line | Surface | Volume { expression-list }; ... |
  Duplicata { Point | Line | Surface | Volume { expression-list }; ... } |
  transform



for example, you can add the following to the end of t2.geo :


aaaa[] = Boundary { Volume {119}; };

For ii In { 0 : (#aaaa[] -1) }

  Printf("boundary number %g = %g", ii, aaaa[ii]);

EndFor



Cheers,

Dave

--
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com



Mike B. wrote:
Dear All,

Can someone please clarify what does the `Boundary' command do, what values it returns and how to use it?. I couldn't find any examples in the tutorials or demos.

Thanks,
Mike.



------------------------------------------------------------------------

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


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

Reply via email to