Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[EDF26936] : End of the 2GB limit.
[modules/yacs.git]
/
src
/
runtime
/
DistributedPythonNode.cxx
diff --git
a/src/runtime/DistributedPythonNode.cxx
b/src/runtime/DistributedPythonNode.cxx
index c1940e1dc47ce5d934259275fe9aafbfea5cc70c..626e2126e4e38fee71887be698af757c5b780abd 100644
(file)
--- a/
src/runtime/DistributedPythonNode.cxx
+++ b/
src/runtime/DistributedPythonNode.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2006-20
16
CEA/DEN, EDF R&D
+// Copyright (C) 2006-20
22
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-23,7
+23,7
@@
#include "PythonNode.hxx"
#include "SalomeHPContainer.hxx"
#include "SalomeContainerTmpForHP.hxx"
#include "PythonNode.hxx"
#include "SalomeHPContainer.hxx"
#include "SalomeContainerTmpForHP.hxx"
-#include "
AutoGIL
.hxx"
+#include "
PythonCppUtils
.hxx"
#include "PythonPorts.hxx"
#include "YacsTrace.hxx"
#include "PythonPorts.hxx"
#include "YacsTrace.hxx"
@@
-113,12
+113,13
@@
void DistributedPythonNode::load()
if(!_container)
throw Exception("No container specified !");
SalomeContainer *containerCast0(dynamic_cast<SalomeContainer *>(_container));
if(!_container)
throw Exception("No container specified !");
SalomeContainer *containerCast0(dynamic_cast<SalomeContainer *>(_container));
- SalomeHPContainer
Base *containerCast1(dynamic_cast<SalomeHPContainerBase
*>(_container));
+ SalomeHPContainer
*containerCast1(dynamic_cast<SalomeHPContainer
*>(_container));
if(containerCast0)
objContainer=containerCast0->getContainerPtr(this);
else if(containerCast1)
{
if(containerCast0)
objContainer=containerCast0->getContainerPtr(this);
else if(containerCast1)
{
- objContainer=containerCast1->getContainerPtr(this);
+ YACS::BASES::AutoCppPtr<SalomeContainerTmpForHP> tmpCont(SalomeContainerTmpForHP::BuildFrom(containerCast1,this));
+ objContainer=tmpCont->getContainerPtr(this);
}
else
throw Exception("Unrecognized type of container ! Salome one is expected !");
}
else
throw Exception("Unrecognized type of container ! Salome one is expected !");