Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

[cormas] Removing a single spatial aggregate

New Message Reply Date view Thread view Subject view Author view

Subject: [cormas] Removing a single spatial aggregate
From: francois bousquet (bousquet_fra@yahoo.fr)
Date: Sat Jul 21 2007 - 10:43:26 CEST

Hello
To do so you have to infom all the components of the spatial aggregate that
they do not belong to it anymore
Secondly you put a flag on the aggregate to indicate that it does not exist
anymore. You use the destroyed attribute for that.
Thus you would create a method of the aggregate

commitSuicide

self deleteComponents: self components.
self destroyed: true.

Note that the aggregate will be removed from the model only at the end of
the simulation step

> -----Message d'origine-----
> De : owner-cormas@cirad.cirad.fr [mailto:owner-cormas@cirad.cirad.fr] De
> la part de Tim Rowan
> Envoyé : samedi 21 juillet 2007 09:44
> À : cormas@cirad.fr
> Objet : Removing a single spatial aggregate
>
> Hi all,
>
> Can anyone suggest whether or not there is a method you can send to a
> single instance of a spatial aggregate to remove it from the model? Is it
> possible to remove this instance without regenerating all other instances
> of
> the same aggregate?
>
> Cheers,
> Tim
> --
> Tim Rowan
> PhD Research Scholar
> Room S237 Engineering South
> Ph:+61 8 8303 6139
> Fax: +61 8 8303 4359
> Mobile: +61 (0)402 851 240
>
> School of Civil & Environmental Engineering
> University of Adelaide
> Adelaide SA 5005
> Australia
>
> CRICOS Provider Number 00123M
> -----------------------------------------------------------
> This email message is intended only for the addressee(s) and contains
> information that may be confidential and/or copyright. If you are not the
> intended recipient please notify the sender by reply email and immediately
> delete
> this email. Use, disclosure or reproduction of this email by anyone
> other than the intended recipient(s) is strictly prohibited.
> No representation is made that this email or any attachments are free of
> viruses.
> Virus scanning is recommended and is the responsibility of the recipient.

New Message Reply Date view Thread view Subject view Author view
 

Back to home