Hi all,

   I am trying to use the MeshData structure in parallel. It seems that
there are some discussions
on this issue. I am wondering what is the status of MeshData in parallel.
How to handle the meshdata
such as material parameters in parallel if this feature is not available.

   I tested using

   
Number<http://libmesh.sourceforge.net/doxygen/libmesh__common_8h.php#93f2a4f0c19c6c284b678b9590b8119b>
 
operator()<http://libmesh.sourceforge.net/doxygen/classMeshData.php#7be1ba17dbb8a3d1da387cab6a357431>(const
Node <http://libmesh.sourceforge.net/doxygen/classNode.php> *node, const
unsigned int i=0) const

   to access the node data in parallel. But only processor 0 gets the right
value. All other processors
get zeros, which I think they run into

00845   if (pos == _node_data
<http://libmesh.sourceforge.net/doxygen/classMeshData.php#0773ff071287f33580af5832a70f8d0f>.end())
00846       return libMesh::zero
<http://libmesh.sourceforge.net/doxygen/namespacelibMesh.php#7384a2e49f01ab6e656cae298da85146>;

Thanks,
Mengda
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to