[Gmsh] How to duplicate things "programmatically"?
Ruth V. Sabariego
r.sabariego at ulg.ac.be
Sat Jul 7 14:00:03 CEST 2012
You can use:
yourboundary[] = Boundary{Volume{yourvolume}; };
Regards,
Ruth
--
Dr. Ir. Ruth V. Sabariego
University of Liege, Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/
On 07 Jul 2012, at 13:29, Joseph Frippiat wrote:
> Le 6/07/2012 15:52, Ruth V. Sabariego a écrit :
>> I guess that's a problem with the order of your commands and coherence.
> Ok, if I duplicate the 2 surfaces first and then the volume with another statement, it works.
>
> Is there a way to collect (programmatically) all the surfaces identification numbers of a duplicated volume without the need to first duplicate the surfaces from the "source" volume ?
>
> Joseph
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120707/d4a29350/attachment.html>