X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDriverUNV%2FUNV2412_Structure.cxx;h=ef41a99907e7d66d29b4b010b16319eda134ac8c;hb=c46bd4f9bb602f9863c817bcd622b1b70d5af1e9;hp=43699fcd804783e00c848d923e6ea6534f84f468;hpb=c3bf92bd87b770fd81631a3853f7f5bb1ac6a4e8;p=modules%2Fsmesh.git diff --git a/src/DriverUNV/UNV2412_Structure.cxx b/src/DriverUNV/UNV2412_Structure.cxx index 43699fcd8..ef41a9990 100644 --- a/src/DriverUNV/UNV2412_Structure.cxx +++ b/src/DriverUNV/UNV2412_Structure.cxx @@ -15,7 +15,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com #include #include @@ -63,7 +63,7 @@ void UNV2412::Read(std::ifstream& in_stream, TDataSet& theDataSet) // end of dataset is reached break; } - + int n_nodes; TRecord aRec; in_stream>>aRec.fe_descriptor_id; @@ -142,9 +142,10 @@ void UNV2412::Write(std::ofstream& out_stream, const TDataSet& theDataSet) bool UNV2412::IsBeam(int theFeDescriptorId){ switch (theFeDescriptorId){ - case 11: - case 21: - case 22: + case 11: // edge with 2 nodes + case 21: + case 22: // edge with 3 nodes + case 23: // curved beam case 24: case 25: return true; @@ -191,11 +192,14 @@ bool UNV2412::IsVolume(int theFeDescriptorId){ case 118: // Solid Quadratic Tetrahedron - TET10 case 112: // Solid Linear Prism - PRISM6 + case 113: // Solid Quadratic Prism - PRISM15 case 115: // Solid Linear Brick - HEX8 case 116: // Solid Quadratic Brick - HEX20 case 117: // Solid Cubic Brick + + case 114: // pyramid of 13 nodes (quadratic) return true; } return false;