I believe the MeshData class is still serial.  I was using it at one time to 
apply material properties and other data to my mesh but went away from it 
because I needed to run in parallel.  What I ended up doing was creating my own 
"myEquationSystem" and "myMesh" classes that derive from the libMesh 
"EquationSystem" and "Mesh" classes respectively.  From "myEquationSystem" 
class I declare a pointer to "myMesh" class and initialize it to point to a 
"myMesh" object I already created.  With that, when I call 
myEquationSystemObject.get_system("Sys1").solve() I have access to all my 
material property access functions etc. which reside in "myMesh" class as 
either functions or functions from other classes declared as objects in 
"myMesh".  Hope that helps.

John   

John A. Dec, Ph.D.
NASA Langley Research Center
Structural & Thermal Systems Branch, MS 431
Hampton, VA 23681
ph: (757) 864-7023
cell: (757) 585-1899
fax: (757) 864-4458


-----Original Message-----
From: Manav Bhatia [mailto:[email protected]] 
Sent: Thursday, September 05, 2013 4:25 PM
To: [email protected]
Subject: [Libmesh-users] meshdata class

Hi,

    I was looking through the MeshData class, and came across a comment in
misc_ex_2 that this class is only Serial compatible. Is that still relevant, or 
a possible remnant from previous development stages?

A couple of questions:

--   It seems like this class allows one to associate values (of type
Number) with individual elements and nodes. This could be useful for 
body-forces, for example, but I am curious if there is a mechanism to store 
such values associated with sides of individual elements (I understand that 
BoundaryInfo class stores integer tags for element boundaries, but not Number 
values).

-- Is there a mechanism to store integer tags for elements, for example to 
associate material property sets?


Thanks,
Manav


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to