← Back to team overview

dolfin team mailing list archive

Re: Interpolation operator in UFL form file?

 

On Thu, Jan 21, 2010 at 11:56:53AM -0800, Chong Luo wrote:
> Let V_h be the finite element space of continuous piecewise linear functions defined on a mesh. Let \pi_h be the interpolation operator into V_h. Is it possible to include \pi_h in a UFL form file?
>
> For example, if we have a bilinear form
> b(q, v) = \int_{\Omega} q \pi_h [v \cdot u] dx
> where q, u, v are all in V_h.  Is it possible to specify b(q,v) in a UFL form file?
>
> Thank you!
>
> Best,
> Chong

No, that's not possible.

You can do

  b(q, v) = \int_{\Omega} q v \cdot \pi_h u dx

but not

  b(q, v) = \int_{\Omega} q \pi_h [v \cdot u] dx

--
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References