<div dir="ltr"><div><div><div>Hi,<br><br></div>I'm a bit confused with the ExodusII reader between the sets and the arrays of sets. I'm wondering if the following is a bug or a lack of my understanding. To set the SIDE_SET status it does the following in the header file using the SetObjectStatus() method:<br>
<br> void SetSideSetArrayStatus(const char* name, int flag)<br> { this->SetObjectStatus(SIDE_SET, name, flag); }<br><br></div>For the SetAllArrayStatus() method, if I call that with otyp = SIDE_SET it looks like it wants to use the SetObjectArrayStatusMethod() through the following:<br>
<br><div>void vtkExodusIIReader::SetAllArrayStatus( int otyp, int status )<br>{<br> int numObj;<br> int i;<br> switch ( otyp )<br> {<br> case EDGE_BLOCK_CONN:<br> case FACE_BLOCK_CONN:<br> case ELEM_BLOCK_ELEM_CONN:<br>
case NODE_SET_CONN:<br> case EDGE_SET_CONN:<br> case FACE_SET_CONN:<br> case SIDE_SET_CONN:<br> case ELEM_SET_CONN:<br> numObj = this->GetNumberOfObjects( otyp );<br> for ( i = 0; i < numObj; ++i )<br> {<br>
this->SetObjectStatus( otyp, i, status );<br> }<br> break;<br> case NODAL:<br> case GLOBAL:<br> case EDGE_BLOCK:<br> case FACE_BLOCK:<br> case ELEM_BLOCK:<br> case NODE_SET:<br> case EDGE_SET:<br> case FACE_SET:<br>
case SIDE_SET:<br> case ELEM_SET:<br> numObj = this->GetNumberOfObjectArrays( otyp );<br> for ( i = 0; i < numObj; ++i )<br> {<br> this->SetObjectArrayStatus( otyp, i, status );<br> }<br></div>
<div> break;<br></div><div>...<br><br><br></div><br></div>In my testing using Python, the r.SetAllArrayStatus(r.SIDE_SET, 1) call doesn't load any side sets even though I was expecting it to.<br><br>Thanks,<br>Andy<br>
<div><div><br><br></div></div></div>