Possible to treat some terms in a form as constant for derivative evaluation
Asked by
Praveen C
Hello
If I have a form like this
u = Function(V)
v = TestFunction(V)
mu = u**2
L = mu*inner(grad(u), grad(v))*dx
While finding derivative of L wrt u, I would like "mu" to be treated as constant. Is it possible to achieve this somehow ?
praveen
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johan Hake
- Solved:
- Last query:
- Last reply:
To post a message you must log in.