Dear fipyers,

Is it possible to assign the value of the product of two Cellvariables onto
one CellVariable in a succinct way. For example, a, b, c are CellVariables.
I wrote something like a = b*c, but it does not work. An error pop up
saying, "TypeError: The value of an `_OperatorVariable` cannot be
assigned". The RHS became a binary operator variable and I have to write
a.value = (b*c).value to work it out.

Is there a simpler to work around this?

Thank you for your help.

-- 
Yuan (Rose) Wang
PhD Candidate, Tufts University
Cellphone: 617-699-8006
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to