Bonjour J'ai ajoute un nouveau resultat (une matrice) mais je ne suis vraiment pas sure de la syntaxe. qqn peut-il me dire si c'est ok ? en fait je pense qu'il me manque un truc genre ResultName.MATRIX_MATRIX_CATCHOTHER = matrixOtherCatch.sumOverDim(1).reduce(); ajout dans resultname de /** * Matrix with two dimensions * Dimension 1 : TimeStep * Dimension 2 : Group */ @Doc(value = "do the doc of Result matrixCatchOther") static final public String MATRIX_CATCHOTHER = n("matrixCatchOther"); ajout dans une rule //rajouter un resultat dans resultmanager //ResultName.MATRIX_MATRIX_CATCHOTHER = matrixOtherCatch.sumOverDim(1).reduce(); ResultStorage resultmanager = context.getSimulationStorage() .getResultStorage(); MatrixND matrixCatchOtherInNumber = matrixOtherCatch.sumOverDim(1).reduce(); resultmanager.addResult(step, pop, matrixCatchOtherInNumber); merci -- ...................................................................... Stephanie MAHEVAS (Stephanie.Mahevas@ifremer.fr) IFREMER/EMH (Ecologie et Modèles pour l'Halieutique) Tel: (33) 2 40 37 41 81 Fax: (33) 2 40 37 40 75 o \ o / _ o __| \ / |__ o _ \ o / o /|\ | /\ ___\o \o | o/ o/__ /\ | /|\ / \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \ ......................................................................