Dear Alberto, > Given the code snippet above, I wonder whether > locally_accumulated_displacement is a vector that only has the locally > owned > dofs, or whether it is a vector that has at least the locally active > elements > (or maybe also the ghost/locally relevant elements). If you call > fe_values.get_function_values() on a locally owned cell, the > locally_accumulated_displacement vector needs to have at least the locally > active vector elements. >
Given what Wolfgang has said, here's a relevant example <https://github.com/dealii/code-gallery/blob/master/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/viscoelastic_strip_with_hole.cc#L1632> that illustrates the transfer of locally relevant data for the same purpose as which you have described. Best, Jean-Paul -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.