Hello,
I wish to initialize a distributed PETScMatrix while controlling its distribution among ranks.
I can do this for a PETScVector with the "init" routine (which enables to specify the range of each rank).
For matrices, the equivalent "init" routine requires specifying a "TensorLayout", but
when I try to define one, I obtain
NameError: name 'tensorlayout' is not defined
Maybe I am missing an "import"?
I have the same problem with the current 1.4 and development versions of FEniCS.
Could you please help me with this?
Thanks much.
Serge