-// Copyright (C) 2006-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2016 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
fnode->setScript(f._code);
fnode->setFname(f._name);
fnode->setExecutionMode("remote");
+ if (this->_weight>0)fnode->setWeight(this->_weight);
this->_node=fnode;
}
node=theRuntime->createScriptNode(this->_kind,this->_name);
node->setScript(f._code);
node->setExecutionMode("remote");
+ if (this->_weight>0)node->setWeight(this->_weight);
this->_node=node;
}