Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25282/src/org/fudaa/fudaa/refonde
Modified Files:
RefondeRefonde.java RefondeCalqueContourInteraction.java
Log Message:
Maj pour matisse test
Index: RefondeCalqueContourInteraction.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeCalqueContourInteraction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RefondeCalqueContourInteraction.java 25 Nov 2003 10:14:11 -0000 1.4
--- RefondeCalqueContourInteraction.java 2 Apr 2004 14:02:38 -0000 1.5
***************
*** 147,150 ****
--- 147,152 ----
int hi= i.getHeight(this);
int r= Math.max(wi / w, hi / h);
+ //DEBUG FRED
+ if(r!=0)
_g.drawImage(i, _x + 1, _y + 1, wi / r - 1, hi / r - 1, _c);
}
Index: RefondeRefonde.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeRefonde.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** RefondeRefonde.java 25 Nov 2003 10:14:17 -0000 1.5
--- RefondeRefonde.java 2 Apr 2004 14:02:38 -0000 1.6
***************
*** 52,55 ****
--- 52,61 ----
// Transfert des informations dans un format de parametres serveur
versParametresRefonde(par, _projet);
+ // DEBUG Fred
+ if(par.parametresINP().domainePoreux==null){
+ System.err.println("les fonds poreux ne sont pas definis");
+ }
+ else System.out.println("Fonds poreux definis");
+ // DEBUG FIN
// Calcul
par.typeCalcul(_tpCal);
***************
*** 897,901 ****
--- 903,918 ----
_params.domainePoreux= rdmps;
}
+ // DEBUG Fred il y a un prob ici : les structures idl ne doivent
+ //jamais etre nulles
+ else{
+ //lors de l'ecriture des parametres ce tableau n'est pas ecrit
+ //si le boolean fondPoreux est a false. Donc, creer un tableau
+ //vide ne devrait pas avoir d'incidence
+ //Verif dans DParametresRefonde
+ _params.domainePoreux=new SParametresRefondeDomainePoreux[0];
+ }
+ //DEBUG FIN
}
+
//--------------------------------------------------------------------------
//--- Bloc 'ONDE' --------------------------------------------------------
|