← Back to team overview

dolfin team mailing list archive

Re: non linear terms in bilinear linear forms

 

The order is decided by the order you define p and q.
(Technically, Function keeps a counter which allows
it to keep track of this order).

-- 
Martin


2008/6/24  <Vuk.Milisic@xxxxxxx>:
> Hi,
>
> I'd like to know how one distinguishes between several
> non-linearities included in a form for instance
>
> test.form constains:
>
> a=p*p*q*u*v*dx
> L=p*p*q*v*dx
>
>
>
> cause the corresponding cpp code gives
> testBilinearForm a(w0,w1)
>
> which one is p(w0 ?)
> or q( w1 )
> and how to know when there are several of them ?
>
>
> Thanks,
>
> VM
>
> --
> Vuk Milisic
> Chercheur CNRS
> UMR 5224
> Laboratoire Jean Kuntzman
> Unversité Joseph Fourier
> Grenoble
> http://ljk.imag.fr/membres/Vuk.Milisic/
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>


References