Thanks for the explanation. However, Index notation does not work  in ffc when you use compound elements(i.e using Testfunctions and Trialfunctions) . Take a look at the following thread :

http://www.mail-archive.com/[email protected]/msg06167.html

So for problems with more than one variable (velocity and pressure for instance), it seems that for now there is no way other than multiplying the equation by the the stabilization term and adding the resultant to the unstibilized variational form instead of simply changing weighting functions. That's what have been done in the stabilized version of stokes demo. can you think of any other way?

Hatef



--------------------------------------

Hatef Monajemi
Graduate Student
Dept of Civil and Environmental Eng
2032 MC Building, Carleton University
1125 Colonel By Drive, Ottawa
Ontario, Canada, K1S 5B6
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to