# Help a starter!

**URL:** <https://fenicsproject.discourse.group/t/help-a-starter/2324>\
**Category:** variational formulation\
**Created:** [January 30, 2020, 10:02am UTC](https://fenicsproject.discourse.group/t/help-a-starter/2324 "2020-01-30T10:02:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 30, 2020, 10:40am UTC](https://fenicsproject.discourse.group/t/help-a-starter/2324/4 "2020-01-30T10:40:41Z")

</div>

The problem is that your source `f` is not a point source, but a constant everywhere.  
If you follow [Pointsource on specific points python](https://fenicsproject.discourse.group/t/pointsource-on-specific-points-python/1967), you should do the following (I’ve set `Y=1`):

```auto
bc_point = DirichletBC(V,Constant(1.0),"near(x[0],0)&&near(x[1],1)&&near(x[2],0)","pointwise")
f = Function(V)
bc_point.apply(f.vector())

```

You can plot `f` to now verify that it is indeed a point source.

---

_[View the full topic](https://fenicsproject.discourse.group/t/help-a-starter/2324)._
