# How to define spatially varying materials

**URL:** <https://fenicsproject.discourse.group/t/how-to-define-spatially-varying-materials/12094>\
**Category:** General\
**Created:** [September 1, 2023, 7:29am UTC](https://fenicsproject.discourse.group/t/how-to-define-spatially-varying-materials/12094 "2023-09-01T07:29:38Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:** [September 6, 2023, 12:32pm UTC](https://fenicsproject.discourse.group/t/how-to-define-spatially-varying-materials/12094/17 "2023-09-06T12:32:02Z")

</div>

See for instance [I/O from XDMF/HDF5 files in dolfin-x - #48 by dokken](https://fenicsproject.discourse.group/t/i-o-from-xdmf-hdf5-files-in-dolfin-x/3122/48)  
and  
[Wrong order of dofs after creating mesh from lists of points and cells - #2 by dokken](https://fenicsproject.discourse.group/t/wrong-order-of-dofs-after-creating-mesh-from-lists-of-points-and-cells/11676/2)

---

_[View the full topic](https://fenicsproject.discourse.group/t/how-to-define-spatially-varying-materials/12094)._
