sorry, I meant alpha = Expression("exp(Beta*solution)",Beta=beta,solution=u)
On Tue, Dec 8, 2015 at 3:38 PM, Justin Chang <jychang48@gmail.com> wrote:
JustinThanks,When I try to run this, I get an error saying "ValueError: setting an array element with a sequence". Am I not doing something correctly or is it simply not possible to do include u into an Expression?alpha = Expression("exp(Beta*solution)",Beta=Betasolution=u)Say I have the following:Hi all,As the title states, can a Function solution be used in an Expression?
beta = 0.001u = Function(Q)