Re: creating a cellvariable which is a product

2011-06-01 Thread Julien Derr
Thanks so much Jonathan !! On Tue, May 31, 2011 at 7:41 PM, Jonathan Guyer 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.,has

Re: creating a cellvariable which is a product

2011-05-31 Thread Jonathan Guyer
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 t

creating a cellvariable which is a product

2011-05-31 Thread Julien Derr
Hi everyone, 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