← Back to team overview

dolfin team mailing list archive

Re: [Question #121743]: How to specify a variable coefficient tensor

 

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

Attachment: signature.asc
Description: Digital signature


Follow ups

References