Question #152565 on DOLFIN changed: https://answers.launchpad.net/dolfin/+question/152565
Anders Logg proposed the following answer: Yes, it's fairly easy now when I think about it. I might just add some functionality for this in DOLFIN (and bybass the complications of adding this to UFL/FFC/UFC). -- Anders On Tue, Apr 12, 2011 at 07:51:58PM -0500, Peter Brune wrote: > It's pretty easy to do this for any point on the mesh for general function > spaces using basis function evaluations if you know what cell your point > resides in (even in the mixed/vector case). Right now I have it implemented > as > a boundary condition, but I sort of agree that it really should look like it's > a coefficient if people are going to use it generally. > > - Peter > > On Tue, Apr 12, 2011 at 2:00 PM, Anders Logg < > [email protected]> wrote: > > Question #152565 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/152565 > > Anders Logg proposed the following answer: > On Tue, Apr 12, 2011 at 05:54:02PM -0000, Garth Wells wrote: > > Question #152565 on DOLFIN changed: > > https://answers.launchpad.net/dolfin/+question/152565 > > > > Garth Wells proposed the following answer: > > You can add the source term to the RHS vector. It would correspond to to > > a Delta function at a node. The trick is to find the right node. > > It would be good though to be able to handle this without the need for > setting the Delta function at a node (but at an arbitrary point). > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

