# Mapping from mesh.coordinates() to u.vector()

**URL:** <https://fenicsproject.discourse.group/t/mapping-from-mesh-coordinates-to-u-vector/5067>\
**Category:** Uncategorized\
**Created:** [February 10, 2021, 12:17pm UTC](https://fenicsproject.discourse.group/t/mapping-from-mesh-coordinates-to-u-vector/5067 "2021-02-10T12:17:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dokken](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/dokken/32/1560_2.png) [@dokken](https://fenicsproject.discourse.group/u/dokken)\
**Post date:** [February 10, 2021, 12:26pm UTC](https://fenicsproject.discourse.group/t/mapping-from-mesh-coordinates-to-u-vector/5067/2 "2021-02-10T12:26:18Z")

</div>

You can use the `vertex_to_dof_map` function, as used here: [Bitbucket](https://bitbucket.org/fenics-project/dolfin/src/b495043d6b3914383eb939ea6c6794442080a3a5/python/test/unit/fem/test_dofmap.py?at=master#test_dofmap.py-245,269)

---

_[View the full topic](https://fenicsproject.discourse.group/t/mapping-from-mesh-coordinates-to-u-vector/5067)._
