User Tools

Site Tools


trainingtutorial:tutorial_1:chapter2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
trainingtutorial:tutorial_1:chapter2 [2009/12/01 15:40]
shona.weldon
trainingtutorial:tutorial_1:chapter2 [2012/03/01 16:55] (current)
deryn.crockett
Line 50: Line 50:
 </​code>​ </​code>​
  
-In the first of these TOOL statements the create tool is being used to create the local object "​fert[t,​a]"​. The parameter "​dimFrom1=totPeriodFert[t]"​ gets fert’s first dimension from the first dimension of "​totPeriodFert[t]",​ the parameter "​dimFrom3=mortality[g,​t,​a]"​ gets fert’s second dimension from the third dimension of "​mortality[g,​t,​a]"​ and the parameter "​entityFrom=totPeriodFert[t]"​ gets fert’s entity from "​totPeriodFert[t]"​ (note: \ is the line continuation mark). At this point "​fert[t,​a]"​ is an empty object. The TOOL statement uses the insert tool to insert the product (* tool used with infix notation) of "​fertShr[t,​ma]"​ and "​totPeriodFert[t]"​ into "​fert[t,​a]"​ starting at age 15 (determined by the parameter "​age->​age:​15"​).+In the first of these TOOL statements the create tool is being used to create the local object "​fert[t,​a]"​. ​\\ 
 +The parameter "​dimFrom1=totPeriodFert[t]"​ gets fert’s first dimension from the first dimension of "​totPeriodFert[t]", ​\\ 
 +the parameter "​dimFrom3=mortality[g,​t,​a]"​ gets fert’s second dimension from the third dimension of "​mortality[g,​t,​a]"​ and \\ 
 +the parameter "​entityFrom=totPeriodFert[t]"​ gets fert’s entity from "​totPeriodFert[t]"​ (note: \ is the line continuation mark).\\ 
 + 
 +At this point "​fert[t,​a]"​ is an empty object. The TOOL statement uses the insert tool to insert the product (* tool used with infix notation) of "​fertShr[t,​ma]"​ and "​totPeriodFert[t]"​ into "​fert[t,​a]"​ starting at age 15 (determined by the parameter "​age->​age:​15"​).
  
 5. Output Object - population[g,​t,​a] 5. Output Object - population[g,​t,​a]
Line 69: Line 74:
  
 {{trainingtutorial:​procedureeditor.jpg}} {{trainingtutorial:​procedureeditor.jpg}}
 +
 +===== Running the code =====
 +
 +Running code in Documenter is for testing the code structure and doing dimensional analysis (unit/shape checking) without any data. 
 +
 +Click on the running man button. ​ The single man is for running just the current calculator and the multiple men button runs all the calculators.
 +{{:​trainingtutorial:​runbuttons.jpg|}}
 +
 +
  
trainingtutorial/tutorial_1/chapter2.1259682034.txt.gz · Last modified: 2009/12/01 15:40 by shona.weldon