Commit 8f3faa5a authored by François Fortin's avatar François Fortin
Browse files

make the initialisation of structure more dynamic. Number of time step no...

make the initialisation of structure more dynamic. Number of time step no longer fixed at 12000(100h)
parent b9003197
......@@ -197,7 +197,7 @@ void Do_Metro( BOOL bFlat, double dMLat, double dMLon, double* dpZones, long nNb
long nDeltaTIndice=0;
/* Allocate memory for all structures */
init_structure(nDTMAX, nNGRILLEMAX);
init_structure(nNbrTimeSteps,nNGRILLEMAX);
for (i=0; i<nNbrTimeSteps; i++){
......
......@@ -20,10 +20,6 @@
#include "global.h"
#include "number.h"
/* Nombre de pas de temps maximal après le début de la matrice SCRIBE */
/* 12000 -> 100 h */
#define nDTMAX 12000
/* Pas de temps du modèle de bilan énergétique */
#define dDT 30.0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment