]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Minor improvement of the path variable
authormichael <michael@localhost.localdomain>
Thu, 17 Dec 2020 08:39:33 +0000 (09:39 +0100)
committermichael <michael@localhost.localdomain>
Thu, 17 Dec 2020 08:39:33 +0000 (09:39 +0100)
CoreFlows/examples/C/WaveSystem_2DFV_SphericalExplosion_MPI.cxx

index 174a85159187a6a859163c277c76791931cb1869..e9762f535e141f1997c59c7a2b0f35772d01b564 100755 (executable)
@@ -221,9 +221,9 @@ void WaveSystem2D(double tmax, int ntmax, double cfl, int output_freq, const Mes
        
            cout << "Saving the solution at T=" << time <<"  on processor 0"<<endl;
            pressure_field.setTime(time,it);
-           pressure_field.writeMED(resultDirectory+"WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_pressure");
+           pressure_field.writeMED(resultDirectory+"/WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_pressure");
            velocity_field.setTime(time,it);
-           velocity_field.writeMED(resultDirectory+"WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_velocity");
+           velocity_field.writeMED(resultDirectory+"/WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_velocity");
            /* --------------------------------------------- */
        
 
@@ -288,9 +288,9 @@ void WaveSystem2D(double tmax, int ntmax, double cfl, int output_freq, const Mes
                                        }
                                }
                    pressure_field.setTime(time,it);
-                   pressure_field.writeMED(resultDirectory+"WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_pressure",false);
+                   pressure_field.writeMED(resultDirectory+"/WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_pressure",false);
                    velocity_field.setTime(time,it);
-                   velocity_field.writeMED(resultDirectory+"WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_velocity",false);
+                   velocity_field.writeMED(resultDirectory+"/WaveSystem"+to_string(dim)+"DUpwind_"+to_string(size)+"Procs_"+meshName+"_velocity",false);
                        }
                }
     }