New question #154649 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/154649

I have a general question about the algebra in dolfin.

a = Constant(1.0) is a Constant but b = -a is a Product. Is there an easy way 
to convert b back to a Constant? The same would apply for Function. I know 
project would do it (convert a Constant to a Function) but maybe something can 
be done at the algebra level because I found project to be time consuming.

Thanks,
Chaffra

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to