Thanks so much Jonathan !! On Tue, May 31, 2011 at 7:41 PM, Jonathan Guyer <[email protected]> wrote:
> > > On May 31, 2011, at 1:05 PM, Julien Derr wrote: > > > I am sure this is an easy question, but I cannot make it work : > > I have two variable c and c2 > > > > c = CellVariable(name="c", mesh=mesh,value=0.,hasOld=1) > > c2 = CellVariable(name="c2", mesh=mesh,value=0.,hasOld=1) > > > > and I want to create a thirdh which would be always the updated product > of c and c2; > > > > what is the proper syntax ? something like > > > > cPRODUCT = CellVariable(name="cPRODUCT", > mesh=mesh,value=c()*c2(),hasOld=1) > > > Just > > cPRODUCT = c * c2 > > > >
