<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="word-wrap:break-word"><br>
<div>
<div>On Nov 10, 2012, at 1:54 PM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<blockquote type="cite">
<div class="x_gmail_extra">On Sat, Nov 10, 2012 at 1:44 PM, Matthew Knepley <span dir="ltr">
<<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<div class="x_gmail_quote">
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div id="x_:5bz">Yes, I agree that they are different geometrically, and in PyLith we<br>
make Labels to<br>
distinguish, which I think is the right way.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Cool. Of course you have to create the labels somehow. Do you currently make labels for all the "sidesets" in the mesh you load (e.g., from exodus)?</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>For exodus, I don't read side sets. The exodus interface for side set is really crappy, and does not allow an side set _inside_ the domain. Instead, I do not assume that all elements have the same codimension.</div>
<br>
<blockquote type="cite">
<div class="x_gmail_extra">
<div class="x_gmail_quote">
<div><br>
</div>
<div>Labels in their current form seem to do two things (denote sets and associate values with points in those sets). Don't you frequently want one or the other?</div>
<div> </div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex; position:static; z-index:auto">
<div id="x_:5bz">
<div class="x_im">> Fine, I care much more about conceptual simplicity in the interface. I think<br>
> adoption will be higher if 95% of users don't see the word "stratum".<br>
<br>
</div>
Note that this will have to be set explicitly somehow, since you cannot "tell"<br>
from the DAG that something has a given dimension/co-dim.</div>
</blockquote>
</div>
<br>
</div>
<div class="x_gmail_extra">Are your points not sorted by dimension? (Most of the code I've seen in the examples assumes homogeneous strata.)</div>
</blockquote>
<br>
</div>
<div>Nope... and please, don't break that...</div>
<div><br>
</div>
<div>Here is an example of a mesh with 4 element blocks. In an analysis code, for each block , I would specify the element type, type of physics, coefficients etc in a petscBag. That said, I may be doing it wrong... </div>
<div><br>
</div>
<div>block 10 is made of tri</div>
<div>block 22 is made of quad</div>
<div>blocks 100 and 102 are made of bars</div>
<div>
<div>iMac:Exodus blaise$ ./test1 -i Square-mixed2.gen</div>
<div><br>
</div>
<div>dm:</div>
<div>Mesh in 2 dimensions:</div>
<div> 0-cells: 9</div>
<div> 2-cells: 12</div>
<div>[0]: Number of vertices in mesh: <span class="x_Apple-tab-span" style="white-space:pre">
</span>9</div>
<div>[0]: Number of cells in mesh: <span class="x_Apple-tab-span" style="white-space:pre">
</span>12</div>
<div>viewing Mesh 'mesh'</div>
<div>Max sizes cone: 4 support: 5</div>
<div>viewing IFSieve 'mesh sieve'</div>
<div>cap --> base:</div>
<div>[0]: 12 ----> 0</div>
<div>[0]: 12 ----> 1</div>
<div>[0]: 12 ----> 4</div>
<div>[0]: 12 ----> 3</div>
<div>[0]: 12 ----> 5</div>
<div>[0]: 13 ----> 6</div>
<div>[0]: 13 ----> 0</div>
<div>[0]: 13 ----> 7</div>
<div>[0]: 13 ----> 5</div>
<div>[0]: 14 ----> 1</div>
<div>[0]: 14 ----> 6</div>
<div>[0]: 14 ----> 0</div>
<div>[0]: 15 ----> 2</div>
<div>[0]: 15 ----> 3</div>
<div>[0]: 15 ----> 1</div>
<div>[0]: 16 ----> 11</div>
<div>[0]: 16 ----> 2</div>
<div>[0]: 17 ----> 10</div>
<div>[0]: 17 ----> 3</div>
<div>[0]: 17 ----> 4</div>
<div>[0]: 17 ----> 11</div>
<div>[0]: 17 ----> 2</div>
<div>[0]: 18 ----> 8</div>
<div>[0]: 18 ----> 10</div>
<div>[0]: 18 ----> 4</div>
<div>[0]: 19 ----> 5</div>
<div>[0]: 19 ----> 9</div>
<div>[0]: 19 ----> 8</div>
<div>[0]: 19 ----> 4</div>
<div>[0]: 20 ----> 7</div>
<div>[0]: 20 ----> 5</div>
<div>[0]: 20 ----> 9</div>
<div>base <-- cap:</div>
<div>[0]: 0<----12</div>
<div>[0]: 0<----13</div>
<div>[0]: 0<----14</div>
<div>[0]: 1<----12</div>
<div>[0]: 1<----14</div>
<div>[0]: 1<----15</div>
<div>[0]: 2<----15</div>
<div>[0]: 2<----16</div>
<div>[0]: 2<----17</div>
<div>[0]: 3<----15</div>
<div>[0]: 3<----17</div>
<div>[0]: 3<----12</div>
<div>[0]: 4<----12</div>
<div>[0]: 4<----17</div>
<div>[0]: 4<----18</div>
<div>[0]: 4<----19</div>
<div>[0]: 5<----19</div>
<div>[0]: 5<----20</div>
<div>[0]: 5<----13</div>
<div>[0]: 5<----12</div>
<div>[0]: 6<----13</div>
<div>[0]: 6<----14</div>
<div>[0]: 7<----20</div>
<div>[0]: 7<----13</div>
<div>[0]: 8<----18</div>
<div>[0]: 8<----19</div>
<div>[0]: 9<----19</div>
<div>[0]: 9<----20</div>
<div>[0]: 10<----17</div>
<div>[0]: 10<----18</div>
<div>[0]: 11<----16</div>
<div>[0]: 11<----17</div>
<div>Orientation:</div>
<div>[0]: 0<----12: 0</div>
<div>[0]: 0<----13: 0</div>
<div>[0]: 0<----14: 0</div>
<div>[0]: 1<----12: 0</div>
<div>[0]: 1<----14: 0</div>
<div>[0]: 1<----15: 0</div>
<div>[0]: 2<----15: 0</div>
<div>[0]: 2<----16: 0</div>
<div>[0]: 2<----17: 0</div>
<div>[0]: 3<----15: 0</div>
<div>[0]: 3<----17: 0</div>
<div>[0]: 3<----12: 0</div>
<div>[0]: 4<----12: 0</div>
<div>[0]: 4<----17: 0</div>
<div>[0]: 4<----18: 0</div>
<div>[0]: 4<----19: 0</div>
<div>[0]: 5<----19: 0</div>
<div>[0]: 5<----20: 0</div>
<div>[0]: 5<----13: 0</div>
<div>[0]: 5<----12: 0</div>
<div>[0]: 6<----13: 0</div>
<div>[0]: 6<----14: 0</div>
<div>[0]: 7<----20: 0</div>
<div>[0]: 7<----13: 0</div>
<div>[0]: 8<----18: 0</div>
<div>[0]: 8<----19: 0</div>
<div>[0]: 9<----19: 0</div>
<div>[0]: 9<----20: 0</div>
<div>[0]: 10<----17: 0</div>
<div>[0]: 10<----18: 0</div>
<div>[0]: 11<----16: 0</div>
<div>[0]: 11<----17: 0</div>
<div>viewing GeneralSection 'coordinates'</div>
<div> Fields: 0</div>
<div>[0]: 12 dim 2 offset 0 0 0</div>
<div>[0]: 13 dim 2 offset 2 -0.5 0</div>
<div>[0]: 14 dim 2 offset 4 -0.5 -0.5</div>
<div>[0]: 15 dim 2 offset 6 0 -0.5</div>
<div>[0]: 16 dim 2 offset 8 0.5 -0.5</div>
<div>[0]: 17 dim 2 offset 10 0.5 0</div>
<div>[0]: 18 dim 2 offset 12 0.5 0.5</div>
<div>[0]: 19 dim 2 offset 14 0 0.5</div>
<div>[0]: 20 dim 2 offset 16 -0.5 0.5</div>
<div>viewing LabelSifter: 'Cell sets'</div>
<div>cap --> base:</div>
<div>[0]: 10---->0</div>
<div>[0]: 10---->1</div>
<div>[0]: 10---->2</div>
<div>[0]: 10---->3</div>
<div>[0]: 22---->4</div>
<div>[0]: 22---->5</div>
<div>[0]: 100---->6</div>
<div>[0]: 100---->7</div>
<div>[0]: 102---->8</div>
<div>[0]: 102---->9</div>
<div>[0]: 102---->10</div>
<div>[0]: 102---->11</div>
<div>viewing LabelSifter: 'Vertex sets'</div>
<div>cap --> base:</div>
<div>[0]: 1---->16</div>
<div>[0]: 1---->17</div>
<div>[0]: 1---->18</div>
<div><br>
</div>
</div>
</div>
<div style="word-wrap:break-word"></div>
<div style="word-wrap:break-word"><br>
<div><span class="x_Apple-style-span" style="border-collapse:separate; font-size:12px; border-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px">
<div style="word-wrap:break-word">
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
-- </div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
Department of Mathematics and Center for Computation & Technology</div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
Louisiana State University, Baton Rouge, LA 70803, USA</div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 <a href="http://www.math.lsu.edu/~bourdin">
http://www.math.lsu.edu/~bourdin</a></div>
<div><br class="x_khtml-block-placeholder">
</div>
<div><br class="x_khtml-block-placeholder">
</div>
<br class="x_Apple-interchange-newline">
</div>
</span></div>
</span><br class="x_Apple-interchange-newline">
</div>
</span><br class="x_Apple-interchange-newline">
</span><br class="x_Apple-interchange-newline">
</div>
<br>
</div>
</body>
</html>