← Back to team overview

dolfin team mailing list archive

Re: Petrov-Galerkin FEM (Upwinding)

 

On Thu, Mar 05, 2009 at 03:59:47PM -0500, Hatef Monajemi wrote:
> 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/dolfin-dev@xxxxxxxxxx/msg06167.html

Yes, it's true you can't use index notation (with the FFC Index class)
in Python lists, but it's perfectly fine to use regular ints as in my
example.

-- 
Anders


> 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

Attachment: signature.asc
Description: Digital signature


References