← Back to team overview

dolfin team mailing list archive

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

 

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)

Jack

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups