Dear Ahmad,

> I have BVP (like laplace eq. with some b.c's) applied in 
> \omega=[-1,1]x[-1,1], where the internal source ( f ) is applied on a subset 
> in \omega, [..]

The easiest way to do this is explained for example in step-8:
http://dealii.org/developer/doxygen/deal.II/step_8.html#Righthandsidevalues
You create a class RightHandSide where you can set the value of the
source depending on the coordinates (the Point p in this example) und
use that function in the assembly of the right-hand side.

Best,
Timo

-- 
Timo Heister
http://num.math.uni-goettingen.de/~heister
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to