Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

Re: Grid programming

New Message Reply Date view Thread view Subject view Author view

Subject: Re: Grid programming
From: Pierre Bommel (bommel@cirad.fr)
Date: ven nov 23 2001 - 19:31:55 CET

Re-Hello Damien,

Jourdain, Damien wrote:

> Dear all,
>
> In the same vein than a previous question regarding programming the grid
> size at the beginning of a simulation session.
>
> Since we know how to define the size, it is tempting to try to program the
> whole topology of the grid.
... and it's possible !

> For example, by default the grid appear in connectivity four and torroidal
> space. What if i want to program a eight connectivity ... closed space ?
>
> For example, I added the following method
>
> eightConnex
> self space connexitePatch: #eight.
> self space interface actionValideDimensionGrille
>
>
> and added
> self eightConnex. in the init method of the model.
>
> It seems to work (the connectivity is really 8, and the window bar show an 8
> instead of a 4) , but when you go inside the menu (Topology -->Cell Shape
> --> Square --> 4 connexe) is still active. I suppose I did something wrong
> and that I will have to pay for it somewhere along the line ...
No, don't worry about that, it's just a refresh menu problem. It should
be fixed in the next version.

>
> Of course another solution would be to be able to program the automatic
> loading of an environment file?
Yes it's possible. This procedure should be easier in Cormas2002. It
will be possible to run a simulation without the display of the grid. In
addition, this ability increases the simulation speed and facilitates
sensibility analysis.

Best regards,

        Pierre

>
>
> Damien
>
>
>
>
>
>
> Damien Jourdain
> CIMMYT-CIRAD / Economics Program
> Apdo Postal 6-641
> 06600 Mexico D.F.
> Mexico
> Tel.: + 52 (55) 58 04 20 04 poste 22 38
> Fax: + 52 (55) 58 04 75 58
> e-mail: d.jourdain@cgiar.org

-- 
**************************************
* Pierre Bommel                      *
* CIRAD TA 60/15                     *
* 73, rue Jean-François Breton       *
* 34398 Montpellier cedex 5 France   *
* Phone: +33 (0)4 67 59 38 53        *
* Fax: +33 (0)4 67 59 38 27          *
* http://cormas.cirad.fr             *
**************************************

New Message Reply Date view Thread view Subject view Author view
 

Back to home