Salome HOME
Fonction d'affectation d'un type externe au maillage
[modules/homard.git] / src / HOMARD / HOMARD_DriverTools.cxx
index 9633791d452143c3232480b9f57437926fd54995..dadfffa04f64f5e2fd4db57f059aedd360e4d52f 100644 (file)
@@ -112,6 +112,7 @@ namespace HOMARD
     os << cas.GetName();
     os << separator() << cas.GetDirName();
     os << separator() << cas.GetConfType();
+    os << separator() << cas.GetExtType();
 
     std::vector<double> coor = cas.GetBoundingBox();
     os << separator() << coor.size();
@@ -380,6 +381,10 @@ namespace HOMARD
     if ( !ok ) return false;
     cas.SetConfType( atoi( chunk.c_str() ) );
 
+    chunk = getNextChunk( stream, start, ok );
+    if ( !ok ) return false;
+    cas.SetExtType( atoi( chunk.c_str() ) );
+
     chunk = getNextChunk( stream, start, ok );
     if ( !ok ) return false;