-- 
Cheers and Regards
Jayesh Vinay Badwaik
Electronics and Communication Engineering
VNIT, Nagpur
INDIA 

-----------------------------------------------------------------------------------------------------------------------------------------------
"We are servants rather than masters in mathematics" -- Charles Hermite
--- Begin Message ---
Hi,

Actually, the situation is like this. Using a  physical entity, we can group 
different elementary entities into one set. And using many physical entities, 
we 
can then create many such sets. And then, we use data mapped to the physical 
entity. Right?

 For example, I have elementary entities 100, 101, 102, 200, 205, 300. 
And I classify them as follows:
Physical Entity 1000 = {100, 102, 300}
Physical Entity 1001 = {101,102,200}
Physical Entity 1002 = {205}
Then I can map the data to the physical entity.

However what I wanted to do right now was to create such sets in more than one 
way.  Like now I want to have one more classification for different data 
mapping. 
This classification is like follows
Physical Entity 1010 = {100, 102}
Physical Entity 1011 = {101,102}
Physical Entity 1012 = {205, 300,200}

Now this classification is not possible right now gmsh. So, I was wondering if 
the tags support extra information of this sort or not. Mainly, there is an 
entry in Gmsh which says "number of tags". Is the value of that arbitrary or 
restricted to three?

However, what I'm doing now is. I'm reading the elementary entities directly 
from the file and then have written a C++ program to create data structures to 
classify them properly. If this could be done in .geo file instead of the c++ 
program, then the code would be quiet cleaner. Hence, my question. If there was 
a way to add more than one tag of physical entity to the same element, then I 
guess it might be easy to use. 


 
On Monday 20 Jun 2011 04:54:13 you wrote:
> 2011/6/20 Jayesh Badwaik <[email protected]>:
> > Hi,
> > 
> > I wanted to know whether it was possible to add data to the msh files in
> > the similar way that physical entity is added.
> 
> Hello.  What kind of data?  LIke an extra tag?  I'm not sure.  I think
> what I would usually do in such a case is to define as many physical
> entities as required and then map the data to the physical entities,
> but I'm not sure exactly what you have in mind.  Do you think such an
> approach might be feasible?

-- 
Cheers and Regards
Jayesh Vinay Badwaik
Electronics and Communication Engineering
VNIT, Nagpur
INDIA 

-----------------------------------------------------------------------------------------------------------------------------------------------
"We are servants rather than masters in mathematics" -- Charles Hermite

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

Reply via email to