[FLASH-USERS] basic question regarding variable defintions

Suoqing Ji suoqing at physics.ucsb.edu
Sat Nov 11 16:14:21 EST 2017


Hi Jon,

This is defined as cell-centered variable, by specifying “VARIABLE XYZ” in Config file. You can refer to this: http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p4/node44.html

Best wishes,
—
Suoqing Ji
Ph.D Candidate
Department of Physics
University of California, Santa Barbara
http://physics.ucsb.edu/~suoqing

On Nov 11, 2017, 12:55 PM -0800, Slavin, Jonathan <jslavin at cfa.harvard.edu>, wrote:
> Hi,
>
> I'm trying to debug some user contributed code that I modified. In that code there a line like:
> #ifdef XYZ_VAR
>     solnData(XYZ_VAR,x,y,z) = ...
> #endif
>
> So my question is, how should one define some variable XYZ_VAR?  In the Config file? It seems not like an ordinary variable definition since it's associated with the definition of solnData.  Any help would be appreciated.
>
> Regards,
> Jon
>
> --
> ________________________________________________________
> Jonathan D. Slavin                 Harvard-Smithsonian CfA
> jslavin at cfa.harvard.edu       60 Garden Street, MS 83
> phone: (617) 496-7981       Cambridge, MA 02138-1516
> cell: (781) 363-0035             USA
> ________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20171111/79559f70/attachment.htm>


More information about the flash-users mailing list