Hello All,

I am working on a problem that entails updating the nodal coordinates of
the mesh at every timestep (and is performed before the beginning of the
problem solve). If I'm not mistaken, when running the simulation in
parallel each processor owns a subset of the mesh nodes and no one node is
shared amongst multiple processors. Other processors do, however, have
information of the bordering subdomain nodes that are associated with the
element DOFs that they own. Thus, if I update the position of the nodes by
iterating over the local nodes, then this requires synchronization amongst
processors to update the shared DOFs. How can I achieve this
synchronization for the "ghost" DOFs? If this entails an entire mesh
redistribution or some other expensive operation, then would it possibly be
more efficient to iterate over all nodes (not only local) to avoid this
costly step?

Lastly, is updating only the coordinates of the nodes sufficient or are
there any other things that I should be weary of? In the code, anywhere
where calculations are done on the element, the reinit function is called
and the call is placed after the accessor function calls. This should take
care of everything, right?

Thank you,
Namu
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to