[aspect-devel] inconsistency in use of x, y, and z

Wolfgang Bangerth bangerth at tamu.edu
Wed Mar 11 12:24:40 PDT 2015


On 03/11/2015 01:21 PM, Jonathan Perry-Houts wrote:
> That said, I don't know that building a preprocessor in to Aspect would
> be more useful than just doing it through gcc. One thing that would make
> it easier would to allow Aspect to accept .prm files from stdin rather
> than a file. Maybe I'll do that, now that I think about it.

If you did, you can liberate yourself from the arcane syntax of the C 
preprocessor and simply invent your own syntax that, hopefully, fits 
better into the general syntax of .prm files :-)

Feel free to discuss what syntax you want before implementing it.

(You get extra bonus points if you were to implement this directly in 
the ParameterHandler class, rather than as a *pre*processor. But that 
might require more work than you're willing to do and I understand that.)

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth               email:            bangerth at math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/



More information about the Aspect-devel mailing list