Author: slehuta Date: 2014-09-10 13:46:54 +0200 (Wed, 10 Sep 2014) New Revision: 199 Url: http://forge.codelutin.com/projects/isis-fish-docs/repository/revisions/199 Log:
From scmwebeditor --
Modified: trunk/src/site/rst/v4/user/tutorials/newResult.rst Modified: trunk/src/site/rst/v4/user/tutorials/newResult.rst =================================================================== --- trunk/src/site/rst/v4/user/tutorials/newResult.rst 2014-09-10 09:07:35 UTC (rev 198) +++ trunk/src/site/rst/v4/user/tutorials/newResult.rst 2014-09-10 11:46:54 UTC (rev 199) @@ -25,3 +25,24 @@ Creer un nouveau resultat et export =================================== +exemple d'une matrice qui contient le TAC et le Foth calculé pendant la simu + +*dans ResultName +/** + * Matrix with 1 dimensions + * Dimension 1 : var TAC et F + */ + @Doc(value = "do the doc of Result matrixtac") + static final public String MATRIX_TAC_PER_POP = n("matrixTAC"); + + +*dans la regle +MatrixND TacPopMatrix = MatrixFactory.getInstance().create( + ResultName.MATRIX_TAC_PER_POP, + new List[] { Arrays.asList(new String[]{"TAC","Foth"})}); + +ResultStorage matResult = context.getSimulationStorage().getResultStorage(); +TacPopMatrix.setValue("TAC", TacReel); +TacPopMatrix.setValue("Foth", FtotOTH); +matResult.addResult(step, param_pop, TacPopMatrix); +