Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

Grid programming

New Message Reply Date view Thread view Subject view Author view

Subject: Grid programming
From: Jourdain, Damien (D.JOURDAIN@CGIAR.ORG)
Date: jeu nov 22 2001 - 16:34:09 CET

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.
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 ...

Of course another solution would be to be able to program the automatic
loading of an environment file?

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

New Message Reply Date view Thread view Subject view Author view
 

Back to home