← Back to team overview

dolfin team mailing list archive

Re: FFC index notation for multilinear forms

 

 Harish Narayanan wrote:Hatef Monajemi wrote:
> > If Index notation is not working when using "TestFunctions" and
> > "TrialFunctions" then the question is :
> > 
> > How to write the nonlinear advective term without index notation???
> > 
> > a= v[i]*w[j]*D(u[i],j)
> > 
> > I think that "dot(w,grad)*u" can not be handled by ffc.

> You could try this instead:

> dot(mult(grad(u), w), v)

> Harish

Cool! thanks Harish

--------------------------------------
Hatef Monajemi
Graduate Student
Dept of Civil and Environmental Eng
2032 MC Building, Carleton University 
1125 Colonel By Drive, Ottawa 
Ontario, Canada, K1S 5B6