[Kratos] Variables registering

Pooyan Dadvand pooyan en cimne.upc.edu
Lun Jun 28 13:09:30 CEST 2010


Are you having problem in Python or in C++? Is the  if( rVariable == 
SOME_VARIABLE ) is in Python?

Bests regards,



Dr. Pooyan Dadvand
International Center for Numerical Methods in Engineering - CIMNE
Campus Norte, Edificio C1
c/ Gran Capitán s/n
08034 Barcelona, Spain
Tel:        (+34) 93 401 60 38
Fax:      (+34) 93.401.6517
web:       www.cimne.com <http://www.cimne.com <http://www.cimne.com/>>

*Los datos de carácter personal contenidos en el mensaje, se registrarán 
en un fichero para facilitar la gestión de las comunicaciones de CIMNE. 
Se pueden ejercitar los derechos de acceso, rectificación, cancelación y 
oposición por escrito, dirigiéndose a nuestras oficinas de CIMNE, Gran 
Capitán s/n,  Edificio C1 - Campus Norte UPC, 08034 Barcelona, España.

*Les dades de caràcter personal contingudes en aquest missatge es 
registraran en un fitxer per facilitar la gestió de les comunicacions 
del CIMNE. Es poden exercir els drets d'accés, rectificació, 
cancel·lació i oposició, per escrit a les nostres oficines del CIMNE, 
Gran Capità s/n, Edifici C1, Campus Nord UPC, 08034 Barcelona, Espanya.

*All personal data contained in this mail will be processed 
confidentially and stored in a file property of CIMNE in order to manage 
corporate communications. You may exercise the right of access, 
rectification, deletion and objection by letter sent to CIMNE, Gran 
Capitán, Edificio C1 - Campus Norte UPC, 08034 Barcelona, Spain.

On 06/28/2010 10:49 AM, Janosch Stascheit wrote:
> Dear all,
> just in case you did not notice yet and in case this is not designed on
> purpose (Pooyan?):
> if you define Kratos variables in applications, they are not properly
> accessible if called from other applications unless they are (again)
> registered in the second application. The problem is: there are no
> compilation nor runtime errors!
> It becomes visible if a construction like if( rVariable ==
> SOME_VARIABLE ) is used: in this case, the condition is never true, even
> if the variable is exactly the same and even if printing the kernel
> lists this variable correctly.
> If this is not a bug, please just keep that in mind and make sure you
> are registering all variables whereever you are requiring them. If it's
> a bug, does anybody have an idea how to solve it?
> Best regards
> Janosch
> _______________________________________________
> Kratos mailing list
> Kratos en listas.cimne.upc.edu
> http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/kratos
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20100628/5a94506d/attachment.htm 

More information about the Kratos mailing list