mikaem / fenicstools

55 stars 36 forks source link

Use DofMap.local_to_global_index() to get global dof index in DofHandler._get_changes #23

Closed francesco-ballarin closed 7 years ago

francesco-ballarin commented 7 years ago

Dear fenicstools devolpers, if I understand correctly DofMap::cell_dofs returns local dof indices, and not global ones. If that is really the case, then DofMap::local_to_global_index should be used in DofHandler._get_changes to get the global dof index, shouldn't it?

Please let me know if I am correct. If not, I will close this PR.

Thanks, best regards, Francesco

MiroK commented 7 years ago

Thanks Francesco.