Salome HOME
projects
/
plugins
/
ghs3dprlplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f1e4eab
)
bos #20233 EDF 22209 - Pb with MG-Tetra HPC
V9_6_BR
fixes_for_960
V9_6_0
V9_6_0rc1
author
eap
<eap@opencascade.com>
Tue, 20 Oct 2020 14:20:22 +0000
(17:20 +0300)
committer
eap
<eap@opencascade.com>
Tue, 20 Oct 2020 14:20:22 +0000
(17:20 +0300)
src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx
patch
|
blob
|
history
diff --git
a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx
b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx
index a0b8b960349e577fdc4b001f0ab755e8c6e06116..2705370cfcdcacc041c5a020f17d22428e7f61ea 100644
(file)
--- a/
src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx
+++ b/
src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx
@@
-385,12
+385,12
@@
bool GHS3DPRLPlugin_GHS3DPRL::Compute(SMESH_Mesh& theMesh,
// read a result, GHS3DPRL_Out is the name of master file (previous xml format)
FILE * aResultFile = fopen( GHS3DPRL_Outxml.ToCString(), "r" );
if (aResultFile){
// read a result, GHS3DPRL_Out is the name of master file (previous xml format)
FILE * aResultFile = fopen( GHS3DPRL_Outxml.ToCString(), "r" );
if (aResultFile){
- Ok =
false; //but it is not a problem but if true my message is overwritten
+ Ok =
true;
fclose(aResultFile);
cout<<"GHS3DPRL OK output master file "<<casenamemed<<".xml exist !\n\n";
pluginerror = pluginerror + "MG-tetra_hpc mesh(es) not loaded in memory, are stored in files "+ casenamemed + "_*.med";
cout<<pluginerror<<endl;
fclose(aResultFile);
cout<<"GHS3DPRL OK output master file "<<casenamemed<<".xml exist !\n\n";
pluginerror = pluginerror + "MG-tetra_hpc mesh(es) not loaded in memory, are stored in files "+ casenamemed + "_*.med";
cout<<pluginerror<<endl;
- error(COMPERR_
NO_MESH_ON_SHAPE, pluginerror.ToCString()
);
+ error(COMPERR_
WARNING, pluginerror.ToCString()
);
if (!_KeepFiles) system( run_nokeep_files.ToCString() );
}
else{
if (!_KeepFiles) system( run_nokeep_files.ToCString() );
}
else{