[Kratos] BREAKING CHANGE: ERASE_FLAG replaced to TO_ERASE

Riccardo Rossi rrossi en cimne.upc.edu
Dom Jun 14 15:01:41 CEST 2015


Dear all

in revision 12018 the ERASE_FLAG was substituted by the kratos_flag
TO_ERASE.

the variable ERASE_FLAG was removed from the list of variables. please DO
NOT introduce it back.

please note that the new flag is strictly a bool while the former one
wrongly defined as a double.

even though i did my best to ensure that the semantics is correctly
preserved after the change i can not be sure of the effect of the castings
that were there before.
As usually this is also related to the stll rather poor coverage of our
benchmarks...

i would like each of you to have a look at the log of changes of your
application to see if i didn't introduce any unwanted bug

the diff can be find here:
https://kratos.cimne.upc.es/projects/kratos/repository/diff?rev=12018&rev_to=12017


also note that the syntax

Is(TO_ERASE) == false

which i preserved to do the porting is correcthow ever it may be not too
"visual".

code would probably look nicer if i did

IsNot(TO_ERASE)

but i preferred not to make such change to make crosschecking easier

pooyan, did u document the flag usage in the wiki somewhere?

aside of the chane at hand  note that there are a lot of good candidates
for the same exercise...

IS_FLUID, IS_STRUCTURE, IS_BOUNDARY...

it would be nice to also work on them...

Riccardo



-- 


*Riccardo Rossi*

PhD, Civil Engineer


member of the Kratos Team: www.cimne.com/kratos

lecturer at Universitat Politècnica de Catalunya, BarcelonaTech (UPC)

Research fellow at International Center for Numerical Methods in
Engineering (CIMNE)


C/ Gran Capità, s/n, Campus Nord UPC, Ed. C1, Despatx C9

08034 – Barcelona – Spain – www.cimne.com  -

T.(+34) 93 401 56 96 skype: *rougered4*



 <http://www.cimne.com/>

 <https://www.facebook.com/cimne> <http://blog.cimne.com/>
<http://vimeo.com/cimne> <http://www.youtube.com/user/CIMNEvideos>
<http://www.linkedin.com/company/cimne> <https://twitter.com/cimne>

Les dades personals contingudes en aquest missatge són tractades amb la
finalitat de mantenir el contacte professional entre CIMNE i voste. Podra
exercir els drets d'accés, rectificació, cancel·lació i oposició,
dirigint-se a cimne en cimne.upc.edu. La utilització de la seva adreça de
correu electronic per part de CIMNE queda subjecte a les disposicions de la
Llei 34/2002, de Serveis de la Societat de la Informació i el Comerç
Electronic.

 Imprimiu aquest missatge, només si és estrictament necessari.
 <http://www.cimne.com/>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20150614/5c5d76a9/attachment.htm 


Más información sobre la lista de distribución Kratos