AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
542 stars 345 forks source link

Macros defined by #define #11

Closed WeiqunZhang closed 6 years ago

WeiqunZhang commented 7 years ago

Here is a partial list of macros defined. Many of them are used in Fortran 77 files that we are going to slowly replaced. Those constants (e.g., zero and one) should be put into a Fortran module. We certainly need to keep many of the macros. For example, D_DECL. The question is whether we should use a different name for this. AMREX_D_DECL? How about marking some of them deprecated for now and eventually removing them entirely?

WeiqunZhang commented 6 years ago

Fixed in xSDK mode.