# Include nodal values in the weak formulation

**URL:** <https://fenicsproject.discourse.group/t/include-nodal-values-in-the-weak-formulation/7032>\
**Category:** Uncategorized\
**Created:** [November 9, 2021, 10:33am UTC](https://fenicsproject.discourse.group/t/include-nodal-values-in-the-weak-formulation/7032 "2021-11-09T10:33:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![conpierce8](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/conpierce8/32/2464_2.png) [@conpierce8](https://fenicsproject.discourse.group/u/conpierce8)\
**Post date:** [November 9, 2021, 4:45pm UTC](https://fenicsproject.discourse.group/t/include-nodal-values-in-the-weak-formulation/7032/2 "2021-11-09T16:45:07Z")

</div>

Perhaps you should consider posting the actual problem you wish to solve, or provide a different example, as the example you have posted has no solution. As I have indicated on your [previous post](https://fenicsproject.discourse.group/t/nodal-value-of-an-unknown-in-weak-formulation/6916/2), `term1` in this example is 0 by definition.

(The solution to ds/dx=0 is s(x)=s\_0, where s\_0 is a constant, which cannot satisfy the boundary conditions you have specified.)

---

_[View the full topic](https://fenicsproject.discourse.group/t/include-nodal-values-in-the-weak-formulation/7032)._
