This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Derivative with respect to piecewise constant parameter

+1 vote

Is it possible to calculate the derivative of a solution u with respect to a piecewise constant parameter c? My goal is to calculate the sensitivity of u by doing something like:

sL = diff(L, c) - action(diff(a,c), u)
asked Aug 12, 2014 by luftiq FEniCS Novice (560 points)
edited Aug 13, 2014 by luftiq
...