Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

Re: grid boundaries

New Message Reply Date view Thread view Subject view Author view

Subject: Re: grid boundaries
From: francois_bousquet (francois_bousquet@hotmail.com)
Date: sam aoû 18 2001 - 12:31:45 CEST

Hello

To change the boundaries insert the following code in the initialisation
method.

init
self changeBoundaries: #closed. "resp: #torroidal"
self initCells. ...

then add the following method :

changeBoundaries: x
self space clotureEspace: x. " change the boudaries "
  self space calculVoisins. " the neighbourhood has to be reset"
self space interface cloturePatchChanged. " inform the interface to update"

Good luck

François Bousquet

----- Original Message -----
From: "J. Hoekstra" <jhoekstra@feweb.vu.nl>
To: <cormas@cnusc.fr>
Sent: Thursday, August 16, 2001 5:35 PM
Subject: grid boundaries

> Dear all,
>
> By using self gridSizeCol: line: in the init message .it is possible to
> automatically set the gridsize. Is there also a method to set the grid
> boundaries to closed ?
>
> thanks,
> Jeljer
>
> ------------------------------------------------------------------
> Jeljer Hoekstra
> Dept. of Spatial Economics (Vakgroep Ruimtelijke Economie)
> Free University (Vrije Universiteit)
> De Boelelaan 1105
> 1081 HV Amsterdam
> The Netherlands
>
> Phone: +31 20 4446168
> Fax: +31 20 4446004
>
> ------------------------------------------------------------------

New Message Reply Date view Thread view Subject view Author view
 

Back to home