<?xml version="1.0" standalone="yes"?>
<csim_sw_file>
CGUIformatVersion 1.880000


variable Ntimes = 1
variable Nstg1 = 3
variable Nstg2 = 2






<DEFINE_GRAPH>  top_level <top_diagram> </top_diagram>


  <DEFINE_NODE_INSTANCES>
	<ins 1> START  =  unnamed	 <a_ct> 120.0 </a_ct> <a_it> Ntimes </a_it> <a_mp> 0 </a_mp> 
	  <vrt> 0.900000 1.900000  2.600000 2.400000 </vrt> </ins>
	<ins 1> Source  =  unnamed	 <a_ct> 120 </a_ct> <a_it> 1 </a_it> <a_mp> 0 </a_mp> 
	  <vrt> 3.700000 2.000000  5.800000 2.600000 </vrt> </ins>
	<ins 1> Stg1:  =  unnamed	 <a_ct> 500 </a_ct> <a_it> 1 </a_it> <a_mp> 0 1 2  </a_mp> 
	  <a>Replicate = Nstg1</a>
  	  <vrt> 3.700000 3.800000  5.700000 4.400000 </vrt> </ins>
	<ins 1> Stg2_  =  unnamed	 <a_ct> 750 </a_ct> <a_it> 1 </a_it> <a_mp> 0 1 </a_mp> 
	  <a>Replicate = Nstg2</a>
  	  <vrt> 3.700000 5.600001  5.700000 6.200000 </vrt> </ins>
	<ins 1> Dest  =  unnamed	 <a_ct> 120 </a_ct> <a_it> 1 </a_it> <a_mp> 0 </a_mp> 
	  <vrt> 4.400000 7.000000  5.800000 7.600000 </vrt> </ins>
	<ins 1> EXIT  =  unnamed	 <a_ct> 0.0 </a_ct> <a_it> 1 </a_it> <a_mp> 0 </a_mp> 
	  <vrt> 7.600000 7.200000  8.600000 7.600000 </vrt> </ins>
  </DEFINE_NODE_INSTANCES>

  <DEFINE_TOPOLOGY>
    <lnk> START  _ <to>   Source  _ </to> <a_pd> 1 </a_pd> <a_th> 1 </a_th> <a_cn> 1 </a_cn> <a_in> 0 </a_in> 
		<vrt> 3.700000 2.200000  2.600000 2.200000 </vrt></lnk>
    <lnk> Source  _ <to>   Stg1:  _ </to> <a_pd> 2000 </a_pd> <a_th> 2000 </a_th> <a_cn> 2000 </a_cn> <a_in> 0 </a_in> 
		<vrt> 5.200000 3.800000  5.200000 2.600000 </vrt></lnk>
    <lnk> Stg2_  _ <to>   Dest  _ </to> <a_pd> 20000 </a_pd> <a_th> 20000 </a_th> <a_cn> 20000  </a_cn> <a_in> 0 </a_in> 
		<vrt> 5.200000 7.000000  5.200000 6.200000 </vrt></lnk>
    <lnk> Dest  _ <to>   EXIT  _ </to> <a_pd> 1 </a_pd> <a_th> Ntimes </a_th> <a_cn> Ntimes </a_cn> <a_in> 0 </a_in> 
		<vrt> 7.600000 7.400000  5.800000 7.400000 </vrt></lnk>
    <lnk> Stg1:  _ <to>   Stg2_  _ </to> <a_pd> 7500 </a_pd> <a_th> 7500 </a_th> <a_cn> 7500 </a_cn> <a_in> 0 </a_in>   	
		<vrt> 5.100000 5.600001  5.100000 4.400000 </vrt></lnk>
    <lnk> Dest  _ <to>   Source  _ </to> <a_pd> 1 </a_pd> <a_th> 1 </a_th> <a_cn> 1 </a_cn> <a_in> 1 </a_in>   	 <a_color>2</color> 
		<vrt> 5.200000 2.000000  5.200000 1.600000  9.700000 1.600000  9.700000 8.000000  5.200000 8.000000  5.200000 7.600000 </vrt></lnk>
  </DEFINE_TOPOLOGY>

  <ANNO> 1.221412 3.399414 Nstg1 = 3</ANNO>
  <ANNO> 1.221412 3.720000 Nstg2 = 2</ANNO>
  <ANNO> 5.870804 3.840428 Map Stage 1 processing
into Nstg1 parallel branches
by setting this node's "Replicate"
attribute to Nstg1.</ANNO>
  <ANNO> 1.141885 2.884561 Use variables Nstg1 and Nstg2 to specify the
number of processors to map each stage to.</ANNO>
  <ANNO> 6.425448 6.415914 All stage 2 results are collapsed or
gathered together by next node with
no replacate attribute set.</ANNO>
  <ANNO> 6.357150 2.900689 Each parallel branch 
effectively gets an arc
with these P,T,C quantities.</ANNO>
  <ANNO> 6.100000 5.000000 Each branch gets an output arc
with these P,T,C quantities.</ANNO>
  <ANNO> 6.000000 5.500000 Map Stage 2 processing
into Nstg2 parallel branches
by setting this node's "Replicate"
attribute to Nstg2.</ANNO>
  <ANNO> 5.841533 8.250249 Feedback loop in blue, yields two iterations.</ANNO>

</DEFINE_GRAPH>


</csim_sw_file>
