Salome HOME
Modifications to properly handle parallel compute for 2D
[modules/smesh.git] / src / SMESH_I / SMESH_ParallelMesh_i.cxx
index c816311b4eb627f1b02adde8f8d9ac396745e58e..3302fbaa078c039d36c24bf5b2f5a262ab2d9253 100644 (file)
@@ -81,6 +81,25 @@ void SMESH_ParallelMesh_i::SetParallelismMethod(CORBA::Long aMethod){
   DownCast()->SetParallelismMethod(aMethod);
 }
 
+//=============================================================================
+/*!
+ * \brief Get the parallell dimension
+ */
+//=============================================================================
+
+CORBA::Long SMESH_ParallelMesh_i::GetParallelismDimension(){
+  return DownCast()->GetParallelismDimension();
+}
+
+//=============================================================================
+/*!
+ * \brief Set the parallell dimension
+ */
+//=============================================================================
+void SMESH_ParallelMesh_i::SetParallelismDimension(CORBA::Long aDim){
+  DownCast()->SetParallelismDimension(aDim);
+}
+
 //=============================================================================
 /*!
  * \brief Get the number of threads for a parallel computation
@@ -188,3 +207,21 @@ char* SMESH_ParallelMesh_i::GetWcKey(){
 void SMESH_ParallelMesh_i::SetWcKey(const char* wcKey){
   DownCast()->SetWcKey(std::string(wcKey));
 }
+
+//=============================================================================
+/*!
+ * \brief Get the walltime to use on ressource
+ */
+//=============================================================================
+char* SMESH_ParallelMesh_i::GetWalltime(){
+  return CORBA::string_dup(DownCast()->GetWalltime().c_str());
+}
+
+//=============================================================================
+/*!
+ * \brief Set the walltime to use on ressource
+ */
+//=============================================================================
+void SMESH_ParallelMesh_i::SetWalltime(const char* walltime){
+  DownCast()->SetWalltime(std::string(walltime));
+}