[Developers] Suggestion: New API CCTK_Announce

Jian Tao jtao at cct.lsu.edu
Fri Jun 3 09:14:08 CDT 2005


>Erik proposed a new API
>>
>> 	CCTK_Announce ("keyword", "value")
>>
>
>We might also add a "how important is this?" integer argument, perhaps
>with semantics similar to those of the similar argument to CCTK_VWarn().
>This would help distinguish important announcements from less important
>stuff...

Yes, the problem could be solved by introducing "levels" for CCTK_INFO.

We can set the default INFO level to be zero and users can implement their 
own routines to take care of other levels of INFO by using callback mechanism.
 

Jian
 




More information about the Developers mailing list