<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hello, can anyone tell me how does a MATELEMENTAL type matrix store its values in PETSC across different processors?</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>For example, if I have a 4X4 ELEMENTAL matrix, when I use 1 processor, all of the element are stored on p0.</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>p0 p0 p0 p0</div>
<div>p0 p0 p0 p0</div>
<div>p0 p0 p0 p0</div>
<div>p0 p0 p0 p0</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>What about 2 processor, is it something as below?</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>p0 p0 p1 p1</div>
<div>p0 p0 p1 p1</div>
<div>p0 p0 p1 p1</div>
<div>p0 p0 p1 p1</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>And 4 processor?</div>
<div> </div>
<div>p0 p2 p0 p2</div>
<div>p1 p3 p1 p3</div>
<div>p0 p2 p0 p2</div>
<div>p1 p3 p1 p3</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>Finally, if I have 12x12 Elemental matrix with 4 processors, the data will be stored as the following?</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>p0 p0 p0 p2 p2 p2 p0 p0 p0 p2 p2 p2</div>
<div>p0 p0 p0 p2 p2 p2 p0 p0 p0 p2 p2 p2</div>
<div>p0 p0 p0 p2 p2 p2 p0 p0 p0 p2 p2 p2</div>
<div>p1 p1 p1 p3 p3 p3 p1 p1 p1 p3 p3 p3</div>
<div>p1 p1 p1 p3 p3 p3 p1 p1 p1 p3 p3 p3</div>
<div>p1 p1 p1 p3 p3 p3 p1 p1 p1 p3 p3 p3</div>
<div>p0 p0 p0 p2 p2 p2 p0 p0 p0 p2 p2 p2</div>
<div>p0 p0 p0 p2 p2 p2 p0 p0 p0 p2 p2 p2</div>
<div>p0 p0 p0 p2 p2 p2 p0 p0 p0 p2 p2 p2</div>
<div>p1 p1 p1 p3 p3 p3 p1 p1 p1 p3 p3 p3</div>
<div>p1 p1 p1 p3 p3 p3 p1 p1 p1 p3 p3 p3</div>
<div>p1 p1 p1 p3 p3 p3 p1 p1 p1 p3 p3 p3</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>I’m trying to find out a clue to set up the values of my 12x12 Elemental Matrix correctly.</div>
<div><font face="Times New Roman, serif"> </font></div>
<div>Thanks,</div>
<div>Shuangshuang</div>
<div><font face="Times New Roman, serif"> </font></div>
</font>
</body>
</html>