dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19178
Re: [Question #121743]: How to specify a variable coefficient tensor
Question #121743 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/121743
Anders Logg posted a new comment:
On Thu, Aug 19, 2010 at 12:14:06AM -0000, Jack wrote:
> Question #121743 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/121743
>
> Jack posted a new comment:
> That worked, thank you.
>
> Could I just confirm that with Expression(2,2), the values array will
> have 4 components like below:
>
> values[0] = entry (0,0)
> values[1] = entry (0,1)
> values[2] = entry (1,0)
> values[3] = entry (1,1)
Yes.
--
Anders
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.