Salome HOME
SetSurrentStudy --> UpdateStudy
[modules/homard.git] / doc / files / tutorial_4.xml
index 2ccdb22c8a28a79f934009bfd1ef595d440c6efc..fcb633e8fb533ed4fac6168e08254f0f7a03a5d3 100644 (file)
@@ -58,20 +58,19 @@ CurrentStudy = clt.Resolve("/Study")
          <load container="DefaultContainer"/>
          <outport name="CurrentStudy" type="Study"/>
       </inline>
-      <service name="SetCurrentStudy">
+      <service name="UpdateStudy">
          <component>HOMARD</component>
          <load container="DefaultContainer"/>
-         <method>SetCurrentStudy</method>
-         <inport name="theStudy" type="Study"/>
+         <method>UpdateStudy</method>
       </service>
       <service name="CreateHypothesis_1">
-         <node>Etude_Initialisation.SetCurrentStudy</node>
+         <node>Etude_Initialisation.UpdateStudy</node>
          <method>CreateHypothesis</method>
          <inport name="HypoName" type="string"/>
          <outport name="return" type="HOMARD_Hypothesis"/>
       </service>
       <service name="CreateCase">
-         <node>Etude_Initialisation.SetCurrentStudy</node>
+         <node>Etude_Initialisation.UpdateStudy</node>
          <method>CreateCase</method>
          <inport name="CaseName" type="string"/>
          <inport name="MeshName" type="string"/>
@@ -108,14 +107,14 @@ Iter0 = Case.GetIter0()
          <outport name="Iter0" type="HOMARD_Iteration"/>
       </inline>
       <service name="CreateBoundaryCAO">
-         <node>Etude_Initialisation.SetCurrentStudy</node>
+         <node>Etude_Initialisation.UpdateStudy</node>
          <method>CreateBoundaryCAO</method>
          <inport name="BoundaryName" type="string"/>
          <inport name="FileName" type="string"/>
          <outport name="return" type="HOMARD_Boundary"/>
       </service>
       <service name="CreateHypothesis_2">
-         <node>Etude_Initialisation.SetCurrentStudy</node>
+         <node>Etude_Initialisation.UpdateStudy</node>
          <method>CreateHypothesis</method>
          <inport name="HypoName" type="string"/>
          <outport name="return" type="HOMARD_Hypothesis"/>
@@ -131,8 +130,8 @@ Hypo.AddGroup('T2_EXT')
          <load container="DefaultContainer"/>
          <inport name="Hypo" type="HOMARD_Hypothesis"/>
       </inline>
-      <control> <fromnode>StudyCreation</fromnode> <tonode>SetCurrentStudy</tonode> </control>
-      <control> <fromnode>SetCurrentStudy</fromnode> <tonode>CreateBoundaryCAO</tonode> </control>
+      <control> <fromnode>StudyCreation</fromnode> <tonode>UpdateStudy</tonode> </control>
+      <control> <fromnode>UpdateStudy</fromnode> <tonode>CreateBoundaryCAO</tonode> </control>
       <control> <fromnode>CreateHypothesis_1</fromnode> <tonode>Hypo_Options_1</tonode> </control>
       <control> <fromnode>CreateCase</fromnode> <tonode>Case_Options</tonode> </control>
       <control> <fromnode>Hypo_Options_1</fromnode> <tonode>CreateHypothesis_2</tonode> </control>
@@ -140,10 +139,6 @@ Hypo.AddGroup('T2_EXT')
       <control> <fromnode>CreateBoundaryCAO</fromnode> <tonode>CreateCase</tonode> </control>
       <control> <fromnode>CreateBoundaryCAO</fromnode> <tonode>Case_Options</tonode> </control>
       <control> <fromnode>CreateHypothesis_2</fromnode> <tonode>Hypo_Options_2</tonode> </control>
-      <datalink control="false">
-         <fromnode>StudyCreation</fromnode> <fromport>CurrentStudy</fromport>
-         <tonode>SetCurrentStudy</tonode> <toport>theStudy</toport>
-      </datalink>
       <datalink control="false">
          <fromnode>CreateHypothesis_1</fromnode> <fromport>return</fromport>
          <tonode>Hypo_Options_1</tonode> <toport>Hypo</toport>
@@ -439,7 +434,7 @@ else :
       <value><string>Hypo_4</string></value>
    </parameter>
    <presentation name="Etude_Initialisation.StudyCreation" x="4" y="32" width="158" height="63" expanded="1" expx="4" expy="32" expWidth="158" expHeight="63" shownState="0"/>
-   <presentation name="Etude_Initialisation.SetCurrentStudy" x="163" y="32" width="158" height="63" expanded="1" expx="163" expy="32" expWidth="158" expHeight="63" shownState="0"/>
+   <presentation name="Etude_Initialisation.UpdateStudy" x="163" y="32" width="158" height="63" expanded="1" expx="163" expy="32" expWidth="158" expHeight="63" shownState="0"/>
    <presentation name="Etude_Initialisation.Hypo_Options_1" x="163" y="214.605" width="158" height="63" expanded="1" expx="163" expy="214.605" expWidth="158" expHeight="63" shownState="0"/>
    <presentation name="Etude_Initialisation.CreateBoundaryCAO" x="4" y="96" width="158" height="90" expanded="1" expx="4" expy="96" expWidth="158" expHeight="90" shownState="0"/>
    <presentation name="Etude_Initialisation.Case_Options" x="322.605" y="98.2103" width="158" height="117" expanded="1" expx="322.605" expy="98.2103" expWidth="158" expHeight="117" shownState="0"/>