# Coefficient is custmized for each cell in the weak formulation, pointwise expression on each cell

**URL:** <https://fenicsproject.discourse.group/t/coefficient-is-custmized-for-each-cell-in-the-weak-formulation-pointwise-expression-on-each-cell/13367>\
**Category:** General\
**Created:** [January 21, 2024, 11:38pm UTC](https://fenicsproject.discourse.group/t/coefficient-is-custmized-for-each-cell-in-the-weak-formulation-pointwise-expression-on-each-cell/13367 "2024-01-21T23:38:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![francesco-ballarin](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@francesco-ballarin](https://fenicsproject.discourse.group/u/francesco-ballarin)\
**Post date:** [January 27, 2024, 6:22am UTC](https://fenicsproject.discourse.group/t/coefficient-is-custmized-for-each-cell-in-the-weak-formulation-pointwise-expression-on-each-cell/13367/3 "2024-01-27T06:22:55Z")

</div>

We cannot run the example you posted and formatting was missing. Please read [Read before posting: How do I get my question answered?](https://fenicsproject.discourse.group/t/read-before-posting-how-do-i-get-my-question-answered/21)

That being said, for the second integral you may want to have a look at `ufl.CellVolume`.

---

_[View the full topic](https://fenicsproject.discourse.group/t/coefficient-is-custmized-for-each-cell-in-the-weak-formulation-pointwise-expression-on-each-cell/13367)._
