ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #02121
[Question #219998]: unconventional linear and bilinear forms
New question #219998 on UFL:
https://answers.launchpad.net/ufl/+question/219998
I'm wondering if the following is possible to express easily in UFL. I'll write it in math/latex style.
Let's say my domain is an interval x \in [a,b]. Now let u = u(x) \in R^n and v = v(x) \in R^n. These are n-vectors whose elements depend on x. And let A = A(x) \in R^n x R^n be a matrix whose elements depend on x.
I would like to work with linear forms such as
\int_a^b u^T v dx
and bilinear forms such as
\int_a^b u^T A v dx.
The matrix A might be a "mesh function" that returns an nxn matrix for each mesh point.
Reading through the FEniCS book -- particularly Chapter 17 -- I can't tell if such a thing is possible.
--
You received this question notification because you are a member of UFL
Team, which is an answer contact for UFL.