print sys.path
from s_polymers_st_1_YACS_nodes import *
-component_pygmee_v2(rve_size, phase_number, sieve_curve_in, sieve_curve_out, repulsion_distance, study_name, study_path, file_result_inclusions, file_result_rve)
+volume_fraction=component_pygmee_v2(rve_size, phase_number, sieve_curve_in, sieve_curve_out, repulsion_distance, study_name, study_path, file_result_inclusions, file_result_rve)
result_inclusions = file_result_inclusions
result_rve = file_result_rve
<inport name="study_path" type="string"/>
<inport name="benhur_template" type="string"/>
</inline>
- <control> <fromnode>pygmee_v2</fromnode> <tonode>benhur</tonode> </control>
<control> <fromnode>pygmee_v2</fromnode> <tonode>fdvgrid</tonode> </control>
- <control> <fromnode>init</fromnode> <tonode>benhur</tonode> </control>
- <control> <fromnode>init</fromnode> <tonode>fdvgrid</tonode> </control>
+ <control> <fromnode>pygmee_v2</fromnode> <tonode>benhur</tonode> </control>
<control> <fromnode>init</fromnode> <tonode>pygmee_v2</tonode> </control>
+ <control> <fromnode>init</fromnode> <tonode>fdvgrid</tonode> </control>
+ <control> <fromnode>init</fromnode> <tonode>benhur</tonode> </control>
<datalink control="false">
<fromnode>pygmee_v2</fromnode> <fromport>result_inclusions</fromport>
- <tonode>benhur</tonode> <toport>file_inclusions</toport>
+ <tonode>fdvgrid</tonode> <toport>file_inclusions</toport>
</datalink>
<datalink control="false">
<fromnode>pygmee_v2</fromnode> <fromport>result_inclusions</fromport>
- <tonode>fdvgrid</tonode> <toport>file_inclusions</toport>
+ <tonode>benhur</tonode> <toport>file_inclusions</toport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>phase_number</fromport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>study_name</fromport>
- <tonode>fdvgrid</tonode> <toport>study_name</toport>
+ <tonode>pygmee_v2</tonode> <toport>study_name</toport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>study_name</fromport>
- <tonode>pygmee_v2</tonode> <toport>study_name</toport>
+ <tonode>fdvgrid</tonode> <toport>study_name</toport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>study_name</fromport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>study_path</fromport>
- <tonode>fdvgrid</tonode> <toport>study_path</toport>
+ <tonode>benhur</tonode> <toport>study_path</toport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>study_path</fromport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>study_path</fromport>
- <tonode>benhur</tonode> <toport>study_path</toport>
+ <tonode>fdvgrid</tonode> <toport>study_path</toport>
</datalink>
<datalink control="false">
<fromnode>init</fromnode> <fromport>benhur_template</fromport>
<tonode>benhur</tonode><toport>file_inclusions</toport>
<value><string></string></value>
</parameter>
+ <presentation name="pygmee_v2" x="415.186" y="179.5" width="249.5" height="342"/>
+ <presentation name="fdvgrid" x="888.902" y="551.141" width="227.5" height="284"/>
<presentation name="init" x="9" y="328" width="273.5" height="458"/>
<presentation name="benhur" x="848.961" y="95.838" width="223" height="255"/>
- <presentation name="fdvgrid" x="888.902" y="551.141" width="227.5" height="284"/>
- <presentation name="pygmee_v2" x="415.186" y="179.5" width="249.5" height="342"/>
<presentation name="__ROOT__" x="0" y="0" width="1125.9" height="844.141"/>
</proc>
commande_python="import os,sys;\n"
commande_python+="sys.path.append(os.path.join(os.getenv('MAP_DIRECTORY'), '../EficasV1/MAP/Templates/s_polymers_st_1'));\n"
commande_python+="from s_polymers_st_1_YACS_nodes import *;\n"
- commande_python+="component_pygmee_v2("+str(self.rve_size)+",1,"+str(self.sieve_curve_in)+","+str(self.sieve_curve_out)+","+str(self.repulsion_distance)+","+str(self.study_name)+","+str(self.study_path)+","+str(self.inclusion_name)+","+str(self.rve_name)+");\n"
+ commande_python+="volume_fraction=component_pygmee_v2("+str(self.rve_size)+",1,"+str(self.sieve_curve_in)+","+str(self.sieve_curve_out)+","+str(self.repulsion_distance)+","+str(self.study_name)+","+str(self.study_path)+","+str(self.inclusion_name)+","+str(self.rve_name)+");\n"
return 'python -c "'+commande_python+'"\n'
def FDVGRID(self):