← Back to team overview

dolfin team mailing list archive

Re: Assembling the same boundary integral with different coefficients

 

On Friday 06 June 2008 13:19:54 Martin Sandve Alnæs wrote:
> Say I have a form
>
> a = u*v*dx + f*v*ds

Isn't it possible to do 

a = u*v*dx + f0*v*ds0 + f1*v*ds1

Johan

> and want to assemble a matrix with f being a
> function f0 at subdomain 0 and f1 at subdomain 1.
> Maybe f0 is a discrete function and f1 a user function.
> I don't think this is possible in dolfin today?
> What would be the best way to go about this?
>
> --
> Martin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References