[FLASH-USERS] basic question on using preprocessor directives

Slavin, Jonathan jslavin at cfa.harvard.edu
Thu Jun 8 15:45:34 EDT 2023


Thanks Adam. Yeah, I found that part after I posted the question.

Jon

On Thu, Jun 8, 2023 at 3:15 PM Adam Reyes <adam.reyes at rochester.edu> wrote:

> Hi Jon,
>
> Yes you can use the "-defines=DEBUG_GRIDPARTICLES" setup flag. See this
> section of the users guide
> <https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p7/node32.html#Sec:ListSetupArgs> for
> more information.
>
>
> *************************************************************************
> Adam Reyes
>
> Code Group Leader, Flash Center for Computational Science
> Research Scientist, Dept. of Physics and Astronomy
> University of Rochester
> River Campus: Bausch and Lomb Hall, 369
> 500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
> Email adam.reyes at rochester.edu
> Web https://flash.rochester.edu
>  (he / him / his)
>
> *************************************************************************
>
> On Thu, Jun 8, 2023 at 3:06 PM Slavin, Jonathan <jslavin at cfa.harvard.edu>
> wrote:
>
>> Hi,
>>
>> I am wanting to define a preprocessor directive DEBUG_GRIDPARTICLES. Is
>> the standard way to do that to edit the Makefile.h? Or what? Maybe there's
>> a way to pass it via the setup command? Any help would be appreciated.
>>
>> Regards,
>> Jon
>>
>> --
>> Jonathan D. Slavin (he/him)
>> Astrophysicist - High Energy Astrophysics Division
>> Center for Astrophysics | Harvard & Smithsonian
>> Office: (617) 496-7981 | Cell: (781) 363-0035
>> 60 Garden Street | MS 04 | Cambridge, MA 02138
>>
>>
>> _______________________________________________
>> flash-users mailing list
>> flash-users at flash.rochester.edu
>>
>> For list info, including unsubscribe:
>> https://flash.rochester.edu/mailman/listinfo/flash-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230608/4b4fa23b/attachment-0001.htm>


More information about the flash-users mailing list